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