From 79037d8fc7fe30077d068f1e5cfb810ff2ee4b3b Mon Sep 17 00:00:00 2001 From: Elham Rababah Date: Thu, 22 Apr 2021 17:15:15 +0300 Subject: [PATCH] add condition --- lib/screens/patients/profile/patient_profile_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/patients/profile/patient_profile_screen.dart b/lib/screens/patients/profile/patient_profile_screen.dart index 59d10b25..db583482 100644 --- a/lib/screens/patients/profile/patient_profile_screen.dart +++ b/lib/screens/patients/profile/patient_profile_screen.dart @@ -65,7 +65,7 @@ class PatientProfileScreen extends StatelessWidget { IsLoginForDoctorApp: true, PatientOutSA: false); - if(patient.patientType ==1) { + if(patient.patientType ==1 || patient.admissionNo==null || patient.admissionNo =="0" ) { patientViewModel.getPatientList(patientReq, "1", isBusyLocal: false).then((response) { if (response['MessageStatus'] == 1) {