|
|
|
|
@ -36,14 +36,14 @@ class ProfileGridForInPatient extends StatelessWidget {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
final List<PatientProfileCardModel> cardsList = [
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).vital ,
|
|
|
|
|
TranslationBase.of(context).signs ,
|
|
|
|
|
TranslationBase.of(context).vital ?? "",
|
|
|
|
|
TranslationBase.of(context).signs ?? "",
|
|
|
|
|
VITAL_SIGN_DETAILS,
|
|
|
|
|
'assets/images/svgs/profile_screen/vital signs.svg',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).lab ,
|
|
|
|
|
TranslationBase.of(context).result ,
|
|
|
|
|
TranslationBase.of(context).lab ?? "",
|
|
|
|
|
TranslationBase.of(context).result ?? "",
|
|
|
|
|
LAB_RESULT,
|
|
|
|
|
'assets/images/svgs/profile_screen/lab results.svg',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
@ -54,116 +54,116 @@ class ProfileGridForInPatient extends StatelessWidget {
|
|
|
|
|
'assets/images/svgs/profile_screen/lab results.svg',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).radiology,
|
|
|
|
|
TranslationBase.of(context).result,
|
|
|
|
|
TranslationBase.of(context).radiology!,
|
|
|
|
|
TranslationBase.of(context).result!,
|
|
|
|
|
RADIOLOGY_PATIENT,
|
|
|
|
|
'assets/images/svgs/profile_screen/Radiology.svg',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).patient,
|
|
|
|
|
TranslationBase.of(context).prescription,
|
|
|
|
|
TranslationBase.of(context).patient!,
|
|
|
|
|
TranslationBase.of(context).prescription!,
|
|
|
|
|
ORDER_PRESCRIPTION_NEW,
|
|
|
|
|
'assets/images/svgs/profile_screen/order prescription.svg',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).progress,
|
|
|
|
|
TranslationBase.of(context).note,
|
|
|
|
|
TranslationBase.of(context).progress!,
|
|
|
|
|
TranslationBase.of(context).note!,
|
|
|
|
|
PROGRESS_NOTE,
|
|
|
|
|
'assets/images/svgs/profile_screen/Progress notes.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDischargedPatient: isDischargedPatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).order,
|
|
|
|
|
TranslationBase.of(context).sheet,
|
|
|
|
|
TranslationBase.of(context).order!,
|
|
|
|
|
TranslationBase.of(context).sheet!,
|
|
|
|
|
ORDER_NOTE,
|
|
|
|
|
'assets/images/svgs/profile_screen/order sheets.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDischargedPatient: isDischargedPatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).orders,
|
|
|
|
|
TranslationBase.of(context).procedures,
|
|
|
|
|
TranslationBase.of(context).orders!,
|
|
|
|
|
TranslationBase.of(context).procedures!,
|
|
|
|
|
ORDER_PROCEDURE,
|
|
|
|
|
'assets/images/svgs/profile_screen/Order Procedures.svg',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).health,
|
|
|
|
|
TranslationBase.of(context).summary,
|
|
|
|
|
TranslationBase.of(context).health!,
|
|
|
|
|
TranslationBase.of(context).summary!,
|
|
|
|
|
HEALTH_SUMMARY,
|
|
|
|
|
'assets/images/svgs/profile_screen/health summary.svg',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).medical,
|
|
|
|
|
TranslationBase.of(context).report,
|
|
|
|
|
TranslationBase.of(context).medical!,
|
|
|
|
|
TranslationBase.of(context).report!,
|
|
|
|
|
PATIENT_MEDICAL_REPORT,
|
|
|
|
|
'assets/images/svgs/profile_screen/medical report.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDisable: false),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).referral,
|
|
|
|
|
TranslationBase.of(context).patient,
|
|
|
|
|
TranslationBase.of(context).referral!,
|
|
|
|
|
TranslationBase.of(context).patient!,
|
|
|
|
|
REFER_IN_PATIENT_TO_DOCTOR,
|
|
|
|
|
'assets/images/svgs/profile_screen/refer patient.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
isDisable: isDischargedPatient || isFromSearch,
|
|
|
|
|
),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).insurance,
|
|
|
|
|
TranslationBase.of(context).approvals,
|
|
|
|
|
TranslationBase.of(context).insurance!,
|
|
|
|
|
TranslationBase.of(context).approvals!,
|
|
|
|
|
PATIENT_INSURANCE_APPROVALS_NEW,
|
|
|
|
|
'assets/images/svgs/profile_screen/insurance approval.svg',
|
|
|
|
|
isInPatient: isInpatient),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).discharge,
|
|
|
|
|
TranslationBase.of(context).report,
|
|
|
|
|
TranslationBase.of(context).discharge!,
|
|
|
|
|
TranslationBase.of(context).report!,
|
|
|
|
|
DISCHARGE_SUMMARY,
|
|
|
|
|
'assets/images/svgs/profile_screen/discharge summary.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).patientSick,
|
|
|
|
|
TranslationBase.of(context).leave,
|
|
|
|
|
TranslationBase.of(context).patientSick!,
|
|
|
|
|
TranslationBase.of(context).leave!,
|
|
|
|
|
ADD_SICKLEAVE,
|
|
|
|
|
'assets/images/svgs/profile_screen/patient sick leave.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).operation,
|
|
|
|
|
TranslationBase.of(context).report,
|
|
|
|
|
"Operation",
|
|
|
|
|
"Report",
|
|
|
|
|
GET_OPERATION_REPORT,
|
|
|
|
|
'assets/images/svgs/profile_screen/operating report.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).pending,
|
|
|
|
|
TranslationBase.of(context).orders,
|
|
|
|
|
TranslationBase.of(context).pending!,
|
|
|
|
|
TranslationBase.of(context).orders!,
|
|
|
|
|
PENDING_ORDERS,
|
|
|
|
|
'assets/images/svgs/profile_screen/pending orders.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).admission,
|
|
|
|
|
TranslationBase.of(context).orders,
|
|
|
|
|
TranslationBase.of(context).admission!,
|
|
|
|
|
TranslationBase.of(context).orders!,
|
|
|
|
|
ADMISSION_ORDERS,
|
|
|
|
|
'assets/images/svgs/profile_screen/admission req.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
"Nursing",
|
|
|
|
|
TranslationBase.of(context).progressNote,
|
|
|
|
|
TranslationBase.of(context).progressNote!,
|
|
|
|
|
NURSING_PROGRESS_NOTE,
|
|
|
|
|
'assets/images/svgs/profile_screen/Progress notes.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).diagnosis,
|
|
|
|
|
TranslationBase.of(context).diagnosis!,
|
|
|
|
|
"",
|
|
|
|
|
DIAGNOSIS_FOR_IN_PATIENT,
|
|
|
|
|
'assets/images/svgs/profile_screen/diagnosis.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
),
|
|
|
|
|
PatientProfileCardModel(
|
|
|
|
|
TranslationBase.of(context).diabetic,
|
|
|
|
|
TranslationBase.of(context).chart,
|
|
|
|
|
TranslationBase.of(context).diabetic!,
|
|
|
|
|
TranslationBase.of(context).chart!,
|
|
|
|
|
DIABETIC_CHART_VALUES,
|
|
|
|
|
'assets/images/svgs/profile_screen/diabetic chart.svg',
|
|
|
|
|
isInPatient: isInpatient,
|
|
|
|
|
|