Removing old prescription screen

merge-requests/398/head
hussam al-habibeh 4 years ago
parent d1a6c2a703
commit 578cd58daa

@ -124,25 +124,25 @@ class ProfileMedicalInfoWidget extends StatelessWidget {
nameLine1: TranslationBase.of(context).admission, nameLine1: TranslationBase.of(context).admission,
nameLine2: TranslationBase.of(context).request, nameLine2: TranslationBase.of(context).request,
icon: 'patient/admission_req.png'), icon: 'patient/admission_req.png'),
(int.parse(patientType) == 7 || int.parse(patientType) == 6) // (int.parse(patientType) == 7 || int.parse(patientType) == 6)
? PatientProfileButton( // ? PatientProfileButton(
key: key, // key: key,
patient: patient, // patient: patient,
patientType: patientType, // patientType: patientType,
arrivalType: arrivalType, // arrivalType: arrivalType,
route: ORDER_PRESCRIPTION, // route: ORDER_PRESCRIPTION,
nameLine1: TranslationBase.of(context).orders, // nameLine1: TranslationBase.of(context).orders,
nameLine2: TranslationBase.of(context).prescription, // nameLine2: TranslationBase.of(context).prescription,
icon: 'patient/order_prescription.png') // icon: 'patient/order_prescription.png')
: PatientProfileButton( // : PatientProfileButton(
key: key, // key: key,
patient: patient, // patient: patient,
patientType: patientType, // patientType: patientType,
arrivalType: arrivalType, // arrivalType: arrivalType,
route: ORDER_PRESCRIPTION_HISTORY, // route: ORDER_PRESCRIPTION_HISTORY,
nameLine1: TranslationBase.of(context).orders, // nameLine1: TranslationBase.of(context).orders,
nameLine2: TranslationBase.of(context).prescription, // nameLine2: TranslationBase.of(context).prescription,
icon: 'patient/order_prescription.png'), // icon: 'patient/order_prescription.png'),
PatientProfileButton( PatientProfileButton(
key: key, key: key,
patient: patient, patient: patient,

Loading…
Cancel
Save