Symptoms Checker flow is completed
parent
4ceca016bb
commit
07447e148b
@ -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:hmg_patient_app_new/core/enums.dart';
|
||||
|
||||
class ConditionsModel {
|
||||
final IconData icon;
|
||||
final String title;
|
||||
final int percentage;
|
||||
final String tagText;
|
||||
final String clinic;
|
||||
final List<String> symptoms;
|
||||
final String description;
|
||||
final String? monitorNote;
|
||||
final String? appointmentLabel;
|
||||
final PossibleConditionsSeverityEnum possibleConditionsSeverityEnum;
|
||||
|
||||
ConditionsModel({
|
||||
required this.icon,
|
||||
required this.title,
|
||||
required this.percentage,
|
||||
required this.tagText,
|
||||
required this.clinic,
|
||||
required this.symptoms,
|
||||
required this.description,
|
||||
required this.possibleConditionsSeverityEnum,
|
||||
this.monitorNote,
|
||||
this.appointmentLabel,
|
||||
});
|
||||
}
|
||||
|
||||
List<ConditionsModel> dummyConditions = [
|
||||
ConditionsModel(
|
||||
icon: Icons.psychology_alt,
|
||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.seekMedicalAdvice,
|
||||
title: "Migraine",
|
||||
percentage: 87,
|
||||
tagText: "Seek Medical Advice",
|
||||
clinic: "Internal Medicine Clinic",
|
||||
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.",
|
||||
appointmentLabel: "Book Appointment",
|
||||
),
|
||||
ConditionsModel(
|
||||
icon: Icons.deblur,
|
||||
title: "Tension Headache",
|
||||
percentage: 37,
|
||||
tagText: "Monitor",
|
||||
monitorNote: "No need to visit doctor",
|
||||
clinic: "GP Clinic",
|
||||
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.",
|
||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.monitorOnly,
|
||||
),
|
||||
ConditionsModel(
|
||||
icon: Icons.medication_liquid,
|
||||
title: "Meningitis",
|
||||
percentage: 28,
|
||||
tagText: "Emergency",
|
||||
clinic: "Neurology Clinic",
|
||||
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.",
|
||||
appointmentLabel: "Book Appointment",
|
||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.emergency,
|
||||
),
|
||||
ConditionsModel(
|
||||
icon: Icons.psychology_alt,
|
||||
title: "Migraine",
|
||||
percentage: 87,
|
||||
tagText: "Seek Medical Advice",
|
||||
clinic: "Internal Medicine Clinic",
|
||||
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.",
|
||||
appointmentLabel: "Book Appointment",
|
||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.seekMedicalAdvice,
|
||||
),
|
||||
ConditionsModel(
|
||||
icon: Icons.deblur,
|
||||
title: "Tension Headache",
|
||||
percentage: 37,
|
||||
tagText: "Monitor",
|
||||
monitorNote: "No need to visit doctor",
|
||||
clinic: "GP Clinic",
|
||||
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.",
|
||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.monitorOnly,
|
||||
),
|
||||
ConditionsModel(
|
||||
icon: Icons.medication_liquid,
|
||||
title: "Meningitis",
|
||||
percentage: 28,
|
||||
tagText: "Emergency",
|
||||
clinic: "Neurology Clinic",
|
||||
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.",
|
||||
appointmentLabel: "Book Appointment",
|
||||
possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.emergency,
|
||||
),
|
||||
];
|
||||
// import 'package:flutter/material.dart';
|
||||
// import 'package:hmg_patient_app_new/core/enums.dart';
|
||||
//
|
||||
// class ConditionsModel {
|
||||
// final IconData icon;
|
||||
// final String title;
|
||||
// final int percentage;
|
||||
// final String tagText;
|
||||
// final String clinic;
|
||||
// final List<String> symptoms;
|
||||
// final String description;
|
||||
// final String? monitorNote;
|
||||
// final String? appointmentLabel;
|
||||
// final PossibleConditionsSeverityEnum possibleConditionsSeverityEnum;
|
||||
//
|
||||
// ConditionsModel({
|
||||
// required this.icon,
|
||||
// required this.title,
|
||||
// required this.percentage,
|
||||
// required this.tagText,
|
||||
// required this.clinic,
|
||||
// required this.symptoms,
|
||||
// required this.description,
|
||||
// required this.possibleConditionsSeverityEnum,
|
||||
// this.monitorNote,
|
||||
// this.appointmentLabel,
|
||||
// });
|
||||
// }
|
||||
//
|
||||
// List<ConditionsModel> dummyConditions = [
|
||||
// ConditionsModel(
|
||||
// icon: Icons.psychology_alt,
|
||||
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.seekMedicalAdvice,
|
||||
// title: "Migraine",
|
||||
// percentage: 87,
|
||||
// tagText: "Seek Medical Advice",
|
||||
// clinic: "Internal Medicine Clinic",
|
||||
// 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.",
|
||||
// appointmentLabel: "Book Appointment",
|
||||
// ),
|
||||
// ConditionsModel(
|
||||
// icon: Icons.deblur,
|
||||
// title: "Tension Headache",
|
||||
// percentage: 37,
|
||||
// tagText: "Monitor",
|
||||
// monitorNote: "No need to visit doctor",
|
||||
// clinic: "GP Clinic",
|
||||
// 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.",
|
||||
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.monitorOnly,
|
||||
// ),
|
||||
// ConditionsModel(
|
||||
// icon: Icons.medication_liquid,
|
||||
// title: "Meningitis",
|
||||
// percentage: 28,
|
||||
// tagText: "Emergency",
|
||||
// clinic: "Neurology Clinic",
|
||||
// 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.",
|
||||
// appointmentLabel: "Book Appointment",
|
||||
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.emergency,
|
||||
// ),
|
||||
// ConditionsModel(
|
||||
// icon: Icons.psychology_alt,
|
||||
// title: "Migraine",
|
||||
// percentage: 87,
|
||||
// tagText: "Seek Medical Advice",
|
||||
// clinic: "Internal Medicine Clinic",
|
||||
// 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.",
|
||||
// appointmentLabel: "Book Appointment",
|
||||
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.seekMedicalAdvice,
|
||||
// ),
|
||||
// ConditionsModel(
|
||||
// icon: Icons.deblur,
|
||||
// title: "Tension Headache",
|
||||
// percentage: 37,
|
||||
// tagText: "Monitor",
|
||||
// monitorNote: "No need to visit doctor",
|
||||
// clinic: "GP Clinic",
|
||||
// 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.",
|
||||
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.monitorOnly,
|
||||
// ),
|
||||
// ConditionsModel(
|
||||
// icon: Icons.medication_liquid,
|
||||
// title: "Meningitis",
|
||||
// percentage: 28,
|
||||
// tagText: "Emergency",
|
||||
// clinic: "Neurology Clinic",
|
||||
// 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.",
|
||||
// appointmentLabel: "Book Appointment",
|
||||
// possibleConditionsSeverityEnum: PossibleConditionsSeverityEnum.emergency,
|
||||
// ),
|
||||
// ];
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue