Merge pull request 'Symptoms Checker Module (faiz_dev)' (#163) from faiz_dev into master
Reviewed-on: https://34.17.182.140/Haroon6138/HMG_Patient_App_New/pulls/163pull/165/head
commit
b6c665cbf1
@ -0,0 +1,5 @@
|
|||||||
|
<svg width="24" height="22" viewBox="0 0 24 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<circle cx="7" cy="7" r="7" fill="#0B85F7" fill-opacity="0.75"/>
|
||||||
|
<circle cx="17" cy="7" r="7" fill="#18C273" fill-opacity="0.75"/>
|
||||||
|
<circle cx="12" cy="15" r="7" fill="#ED1C2B" fill-opacity="0.75"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 301 B |
@ -1,97 +1,97 @@
|
|||||||
import 'package:flutter/material.dart';
|
// import 'package:flutter/material.dart';
|
||||||
import 'package:hmg_patient_app_new/core/enums.dart';
|
// import 'package:hmg_patient_app_new/core/enums.dart';
|
||||||
|
//
|
||||||
class ConditionsModel {
|
// class ConditionsModel {
|
||||||
final IconData icon;
|
// final IconData icon;
|
||||||
final String title;
|
// final String title;
|
||||||
final int percentage;
|
// final int percentage;
|
||||||
final String tagText;
|
// final String tagText;
|
||||||
final String clinic;
|
// final String clinic;
|
||||||
final List<String> symptoms;
|
// final List<String> symptoms;
|
||||||
final String description;
|
// final String description;
|
||||||
final String? monitorNote;
|
// final String? monitorNote;
|
||||||
final String? appointmentLabel;
|
// final String? appointmentLabel;
|
||||||
final PossibleConditionsSeverityEnum possibleConditionsSeverityEnum;
|
// final PossibleConditionsSeverityEnum possibleConditionsSeverityEnum;
|
||||||
|
//
|
||||||
ConditionsModel({
|
// ConditionsModel({
|
||||||
required this.icon,
|
// required this.icon,
|
||||||
required this.title,
|
// required this.title,
|
||||||
required this.percentage,
|
// required this.percentage,
|
||||||
required this.tagText,
|
// required this.tagText,
|
||||||
required this.clinic,
|
// required this.clinic,
|
||||||
required this.symptoms,
|
// required this.symptoms,
|
||||||
required this.description,
|
// required this.description,
|
||||||
required this.possibleConditionsSeverityEnum,
|
// required this.possibleConditionsSeverityEnum,
|
||||||
this.monitorNote,
|
// this.monitorNote,
|
||||||
this.appointmentLabel,
|
// this.appointmentLabel,
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
List<ConditionsModel> dummyConditions = [
|
// List<ConditionsModel> dummyConditions = [
|
||||||
ConditionsModel(
|
// ConditionsModel(
|
||||||
icon: Icons.psychology_alt,
|
// icon: Icons.psychology_alt,
|
||||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.seekMedicalAdvice,
|
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.seekMedicalAdvice,
|
||||||
title: "Migraine",
|
// title: "Migraine",
|
||||||
percentage: 87,
|
// percentage: 87,
|
||||||
tagText: "Seek Medical Advice",
|
// tagText: "Seek Medical Advice",
|
||||||
clinic: "Internal Medicine Clinic",
|
// clinic: "Internal Medicine Clinic",
|
||||||
symptoms: ["Headache", "Nausea", "Sensitivity to light"],
|
// symptoms: ["Headache", "Nausea", "Sensitivity to light"],
|
||||||
description: "A migraine is a type of headache that can cause severe throbbing pain, usually on one side of the head.",
|
// description: "A migraine is a type of headache that can cause severe throbbing pain, usually on one side of the head.",
|
||||||
appointmentLabel: "Book Appointment",
|
// appointmentLabel: "Book Appointment",
|
||||||
),
|
// ),
|
||||||
ConditionsModel(
|
// ConditionsModel(
|
||||||
icon: Icons.deblur,
|
// icon: Icons.deblur,
|
||||||
title: "Tension Headache",
|
// title: "Tension Headache",
|
||||||
percentage: 37,
|
// percentage: 37,
|
||||||
tagText: "Monitor",
|
// tagText: "Monitor",
|
||||||
monitorNote: "No need to visit doctor",
|
// monitorNote: "No need to visit doctor",
|
||||||
clinic: "GP Clinic",
|
// clinic: "GP Clinic",
|
||||||
symptoms: ["Mild head pressure", "Scalp tenderness"],
|
// symptoms: ["Mild head pressure", "Scalp tenderness"],
|
||||||
description: "A tension-type headache is generally a mild to moderate pain that feels like a tight band around your head.",
|
// description: "A tension-type headache is generally a mild to moderate pain that feels like a tight band around your head.",
|
||||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.monitorOnly,
|
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.monitorOnly,
|
||||||
),
|
// ),
|
||||||
ConditionsModel(
|
// ConditionsModel(
|
||||||
icon: Icons.medication_liquid,
|
// icon: Icons.medication_liquid,
|
||||||
title: "Meningitis",
|
// title: "Meningitis",
|
||||||
percentage: 28,
|
// percentage: 28,
|
||||||
tagText: "Emergency",
|
// tagText: "Emergency",
|
||||||
clinic: "Neurology Clinic",
|
// clinic: "Neurology Clinic",
|
||||||
symptoms: ["Mild head pressure", "Scalp tenderness"],
|
// symptoms: ["Mild head pressure", "Scalp tenderness"],
|
||||||
description: "A tension-type headache is generally a mild to moderate pain that feels like a tight band around your head.",
|
// description: "A tension-type headache is generally a mild to moderate pain that feels like a tight band around your head.",
|
||||||
appointmentLabel: "Book Appointment",
|
// appointmentLabel: "Book Appointment",
|
||||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.emergency,
|
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.emergency,
|
||||||
),
|
// ),
|
||||||
ConditionsModel(
|
// ConditionsModel(
|
||||||
icon: Icons.psychology_alt,
|
// icon: Icons.psychology_alt,
|
||||||
title: "Migraine",
|
// title: "Migraine",
|
||||||
percentage: 87,
|
// percentage: 87,
|
||||||
tagText: "Seek Medical Advice",
|
// tagText: "Seek Medical Advice",
|
||||||
clinic: "Internal Medicine Clinic",
|
// clinic: "Internal Medicine Clinic",
|
||||||
symptoms: ["Headache", "Nausea", "Sensitivity to light"],
|
// symptoms: ["Headache", "Nausea", "Sensitivity to light"],
|
||||||
description: "A migraine is a type of headache that can cause severe throbbing pain, usually on one side of the head.",
|
// description: "A migraine is a type of headache that can cause severe throbbing pain, usually on one side of the head.",
|
||||||
appointmentLabel: "Book Appointment",
|
// appointmentLabel: "Book Appointment",
|
||||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.seekMedicalAdvice,
|
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.seekMedicalAdvice,
|
||||||
),
|
// ),
|
||||||
ConditionsModel(
|
// ConditionsModel(
|
||||||
icon: Icons.deblur,
|
// icon: Icons.deblur,
|
||||||
title: "Tension Headache",
|
// title: "Tension Headache",
|
||||||
percentage: 37,
|
// percentage: 37,
|
||||||
tagText: "Monitor",
|
// tagText: "Monitor",
|
||||||
monitorNote: "No need to visit doctor",
|
// monitorNote: "No need to visit doctor",
|
||||||
clinic: "GP Clinic",
|
// clinic: "GP Clinic",
|
||||||
symptoms: ["Mild head pressure", "Scalp tenderness"],
|
// symptoms: ["Mild head pressure", "Scalp tenderness"],
|
||||||
description: "A tension-type headache is generally a mild to moderate pain that feels like a tight band around your head.",
|
// description: "A tension-type headache is generally a mild to moderate pain that feels like a tight band around your head.",
|
||||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.monitorOnly,
|
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.monitorOnly,
|
||||||
),
|
// ),
|
||||||
ConditionsModel(
|
// ConditionsModel(
|
||||||
icon: Icons.medication_liquid,
|
// icon: Icons.medication_liquid,
|
||||||
title: "Meningitis",
|
// title: "Meningitis",
|
||||||
percentage: 28,
|
// percentage: 28,
|
||||||
tagText: "Emergency",
|
// tagText: "Emergency",
|
||||||
clinic: "Neurology Clinic",
|
// clinic: "Neurology Clinic",
|
||||||
symptoms: ["Mild head pressure", "Scalp tenderness"],
|
// symptoms: ["Mild head pressure", "Scalp tenderness"],
|
||||||
description: "A tension-type headache is generally a mild to moderate pain that feels like a tight band around your head.",
|
// description: "A tension-type headache is generally a mild to moderate pain that feels like a tight band around your head.",
|
||||||
appointmentLabel: "Book Appointment",
|
// appointmentLabel: "Book Appointment",
|
||||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.emergency,
|
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.emergency,
|
||||||
),
|
// ),
|
||||||
];
|
// ];
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue