|
|
|
|
@ -13,6 +13,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
|
|
|
|
|
final PatiantInformtion patient;
|
|
|
|
|
final String patientType;
|
|
|
|
|
final String arrivalType;
|
|
|
|
|
final bool isInpatient;
|
|
|
|
|
|
|
|
|
|
ProfileMedicalInfoWidgetSearch(
|
|
|
|
|
{Key key,
|
|
|
|
|
@ -20,7 +21,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
|
|
|
|
|
this.patientType,
|
|
|
|
|
this.arrivalType,
|
|
|
|
|
this.from,
|
|
|
|
|
this.to});
|
|
|
|
|
this.to, this.isInpatient});
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
@ -51,8 +52,8 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
|
route: MEDICAL_FILE,
|
|
|
|
|
nameLine1: "Health" ,//TranslationBase.of(context).medicalReport,
|
|
|
|
|
nameLine2: "Summary",//TranslationBase.of(context).summaryReport,
|
|
|
|
|
nameLine1: "Health", //TranslationBase.of(context).medicalReport,
|
|
|
|
|
nameLine2: "Summary", //TranslationBase.of(context).summaryReport,
|
|
|
|
|
icon: 'patient/health_summary.png'),
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
@ -68,6 +69,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
|
|
|
|
|
patient: patient,
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
|
isInPatient:isInpatient,
|
|
|
|
|
route: RADIOLOGY_PATIENT,
|
|
|
|
|
nameLine1: TranslationBase.of(context).radiology,
|
|
|
|
|
nameLine2: TranslationBase.of(context).service,
|
|
|
|
|
@ -127,7 +129,7 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
|
|
|
|
|
nameLine1: TranslationBase.of(context).patientSick,
|
|
|
|
|
nameLine2: TranslationBase.of(context).leave,
|
|
|
|
|
icon: 'patient/patient_sick_leave.png'),
|
|
|
|
|
if (patient.admissionNo!=null && patient.admissionNo!="0")
|
|
|
|
|
if (patient.admissionNo != null && patient.admissionNo != "0")
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
|
@ -137,32 +139,27 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
|
|
|
|
|
nameLine1: TranslationBase.of(context).progress,
|
|
|
|
|
nameLine2: TranslationBase.of(context).note,
|
|
|
|
|
icon: 'patient/Progress_notes.png'),
|
|
|
|
|
|
|
|
|
|
if (patient.admissionNo!=null && patient.admissionNo!="0")
|
|
|
|
|
if (patient.admissionNo != null && patient.admissionNo != "0")
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
|
route: ORDER_NOTE,
|
|
|
|
|
nameLine1:"Order", //"Text",
|
|
|
|
|
nameLine1: "Order", //"Text",
|
|
|
|
|
nameLine2: "Sheet",
|
|
|
|
|
icon: 'patient/Progress_notes.png'),
|
|
|
|
|
|
|
|
|
|
if (patient.appointmentNo!=null && patient.appointmentNo!=0)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
|
route: REFER_PATIENT_TO_DOCTOR,
|
|
|
|
|
// isDisable: patient.patientStatusType != 43 ? true : false,
|
|
|
|
|
nameLine1: TranslationBase.of(context).referral,
|
|
|
|
|
nameLine2: TranslationBase.of(context).patient,
|
|
|
|
|
icon: 'patient/refer_patient.png'),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (patient.appointmentNo != null && patient.appointmentNo != 0)
|
|
|
|
|
PatientProfileButton(
|
|
|
|
|
key: key,
|
|
|
|
|
patient: patient,
|
|
|
|
|
patientType: patientType,
|
|
|
|
|
arrivalType: arrivalType,
|
|
|
|
|
route: REFER_PATIENT_TO_DOCTOR,
|
|
|
|
|
// isDisable: patient.patientStatusType != 43 ? true : false,
|
|
|
|
|
nameLine1: TranslationBase.of(context).referral,
|
|
|
|
|
nameLine2: TranslationBase.of(context).patient,
|
|
|
|
|
icon: 'patient/refer_patient.png'),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
|