merge-requests/449/head
mosazaid 5 years ago
parent 583e06c5f2
commit e7fdf984f5

@ -165,9 +165,7 @@ 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'),
if (selectedPatientType != 0 && if (patientType == "1")
selectedPatientType != 5 &&
selectedPatientType != 7)
PatientProfileButton( PatientProfileButton(
key: key, key: key,
patient: patient, patient: patient,

@ -125,15 +125,16 @@ class ProfileMedicalInfoWidgetSearch extends StatelessWidget {
// nameLine1: TranslationBase.of(context).admission, // nameLine1: TranslationBase.of(context).admission,
// nameLine2: TranslationBase.of(context).request, // nameLine2: TranslationBase.of(context).request,
// icon: 'heartbeat.png'), // icon: 'heartbeat.png'),
PatientProfileButton( if (patientType == "1")
key: key, PatientProfileButton(
patient: patient, key: key,
patientType: patientType, patient: patient,
arrivalType: arrivalType, patientType: patientType,
route: PROGRESS_NOTE, arrivalType: arrivalType,
nameLine1: TranslationBase.of(context).progress, route: PROGRESS_NOTE,
nameLine2: TranslationBase.of(context).note, nameLine1: TranslationBase.of(context).progress,
icon: 'patient/Progress_notes.png'), nameLine2: TranslationBase.of(context).note,
icon: 'patient/Progress_notes.png'),
], ],
), ),
); );

Loading…
Cancel
Save