diff --git a/lib/widgets/patients/profile/profile_medical_info_widget_search.dart b/lib/widgets/patients/profile/profile_medical_info_widget_search.dart index 72d6df75..150ac872 100644 --- a/lib/widgets/patients/profile/profile_medical_info_widget_search.dart +++ b/lib/widgets/patients/profile/profile_medical_info_widget_search.dart @@ -21,10 +21,12 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget { return BaseView( onModelReady: (model) async {}, builder: (_, model, w) => GridView.count( + shrinkWrap: true, + physics: NeverScrollableScrollPhysics(), crossAxisSpacing: 10, - mainAxisSpacing: 20, - crossAxisCount: 2, - childAspectRatio: 1.5, + mainAxisSpacing: 10, + childAspectRatio: 1 / 1.0, + crossAxisCount: 3, children: [ PatientProfileButton( key: key, @@ -32,22 +34,21 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget { route: RADIOLOGY_PATIENT, nameLine1: TranslationBase.of(context).radiology, nameLine2: TranslationBase.of(context).service, - icon: 'radiology-1.png'), + icon: 'patient/health_summary.png'), PatientProfileButton( key: key, patient: patient, route: PATIENT_INSURANCE_APPROVALS_NEW, nameLine1: TranslationBase.of(context).insurance, nameLine2: TranslationBase.of(context).service, - icon: 'lab.png'), - + icon: 'patient/vital_signs.png'), PatientProfileButton( key: key, patient: patient, - route: LAB_RESULT, + route: LAB_ORDERS, nameLine1: TranslationBase.of(context).lab, nameLine2: TranslationBase.of(context).result, - icon: 'lab.png'), + icon: 'patient/lab_results.png'), PatientProfileButton( key: key, patient: patient, @@ -56,8 +57,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget { nameLine1: TranslationBase.of(context).vital, nameLine2: TranslationBase.of(context).signs, route: VITAL_SIGN_DETAILS, - icon: 'heartbeat.png'), - + icon: 'patient/vital_signs.png'), // PatientProfileButton( // key: key, // patient: patient, @@ -69,45 +69,45 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget { ? PatientProfileButton( key: key, patient: patient, - route: ORDER_PRESCRIPTION_NEW, + route: ORDER_PRESCRIPTION, nameLine1: TranslationBase.of(context).orders, nameLine2: TranslationBase.of(context).prescription, - icon: 'lab.png') + icon: 'patient/order_prescription.png') : PatientProfileButton( key: key, patient: patient, - route: ORDER_PRESCRIPTION_NEW, + route: ORDER_PRESCRIPTION_HISTORY, nameLine1: TranslationBase.of(context).orders, nameLine2: TranslationBase.of(context).prescription, - icon: 'lab.png'), + icon: 'patient/order_prescription.png'), PatientProfileButton( key: key, patient: patient, route: MEDICAL_FILE, nameLine1: TranslationBase.of(context).previewHealth, nameLine2: TranslationBase.of(context).summaryReport, - icon: 'radiology-1.png'), + icon: 'patient/health_summary.png'), PatientProfileButton( key: key, patient: patient, route: PATIENT_ECG, nameLine1: TranslationBase.of(context).patient, nameLine2: "ECG", - icon: 'lab.png'), + icon: 'patient/patient_sick_leave.png'), PatientProfileButton( key: key, patient: patient, route: SHOW_SICKLEAVE, nameLine1: TranslationBase.of(context).patientSick, nameLine2: TranslationBase.of(context).leave, - icon: 'sick_leaves_icons.png'), + icon: 'patient/patient_sick_leave.png'), PatientProfileButton( key: key, patient: patient, route: PROGRESS_NOTE, nameLine1: TranslationBase.of(context).progress, nameLine2: TranslationBase.of(context).note, - icon: 'heartbeat.png'), + icon: 'patient/Progress_notes.png'), ], ), );