From 5a821e3d64424fcc3ea45a54ef0a5c550c6851f0 Mon Sep 17 00:00:00 2001 From: Elham Rababh Date: Mon, 13 Sep 2021 10:57:09 +0300 Subject: [PATCH] remove create episode in case of in patinet --- .../patients/profile/profile_screen/patient_profile_screen.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/patients/profile/profile_screen/patient_profile_screen.dart b/lib/screens/patients/profile/profile_screen/patient_profile_screen.dart index 5df41821..0c66b493 100644 --- a/lib/screens/patients/profile/profile_screen/patient_profile_screen.dart +++ b/lib/screens/patients/profile/profile_screen/patient_profile_screen.dart @@ -212,7 +212,7 @@ class _PatientProfileScreenState extends State ), ], ), - if ((isInpatient) + if ((isInpatient && !isDischargedPatient) ? true : isFromLiveCare ? patient.episodeNo != null