|
|
|
|
@ -204,7 +204,7 @@ class _PatientProfileScreenState extends State<PatientProfileScreen> with Single
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
if ( (isInpatient && isMyPatient )? true:isFromLiveCare
|
|
|
|
|
if ( (isInpatient )? true:isFromLiveCare
|
|
|
|
|
? patient.episodeNo != null
|
|
|
|
|
: patient.patientStatusType != null && patient.patientStatusType == 43)
|
|
|
|
|
BaseView<SOAPViewModel>(
|
|
|
|
|
@ -222,7 +222,7 @@ class _PatientProfileScreenState extends State<PatientProfileScreen> with Single
|
|
|
|
|
AppButton(
|
|
|
|
|
title:
|
|
|
|
|
"${TranslationBase.of(context).createNew}\n${TranslationBase.of(context).episode}",
|
|
|
|
|
color: isFromLiveCare
|
|
|
|
|
color: isFromLiveCare ||isInpatient
|
|
|
|
|
? Colors.red.shade700
|
|
|
|
|
: patient.patientStatusType == 43
|
|
|
|
|
? Colors.red.shade700
|
|
|
|
|
@ -261,7 +261,7 @@ class _PatientProfileScreenState extends State<PatientProfileScreen> with Single
|
|
|
|
|
AppButton(
|
|
|
|
|
title:
|
|
|
|
|
"${TranslationBase.of(context).update}\n${TranslationBase.of(context).episode}",
|
|
|
|
|
color: (isInpatient &&isMyPatient ) || isFromLiveCare
|
|
|
|
|
color: (isInpatient ) || isFromLiveCare
|
|
|
|
|
? Colors.red.shade700
|
|
|
|
|
: patient.patientStatusType == 43
|
|
|
|
|
? Colors.red.shade700
|
|
|
|
|
|