|
|
|
|
@ -88,16 +88,7 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
|
|
|
|
|
patient,
|
|
|
|
|
isInpatient: true,
|
|
|
|
|
),
|
|
|
|
|
body: model.patientProgressNoteList == null ||
|
|
|
|
|
model.patientProgressNoteList.length == 0
|
|
|
|
|
? widget.visitType == 3
|
|
|
|
|
? ErrorMessage(
|
|
|
|
|
error: TranslationBase.of(context).errorNoOrders,
|
|
|
|
|
)
|
|
|
|
|
: ErrorMessage(
|
|
|
|
|
error: TranslationBase.of(context).errorNoProgressNote,
|
|
|
|
|
)
|
|
|
|
|
: Container(
|
|
|
|
|
body: Container(
|
|
|
|
|
color: Colors.grey[200],
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
@ -125,7 +116,16 @@ class _ProgressNoteState extends State<ProgressNoteScreen> {
|
|
|
|
|
? TranslationBase.of(context).addNewOrderSheet
|
|
|
|
|
: TranslationBase.of(context).addProgressNote,
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
model.patientProgressNoteList == null ||
|
|
|
|
|
model.patientProgressNoteList.length == 0
|
|
|
|
|
? widget.visitType == 3
|
|
|
|
|
? ErrorMessage(
|
|
|
|
|
error: TranslationBase.of(context).errorNoOrders,
|
|
|
|
|
)
|
|
|
|
|
: ErrorMessage(
|
|
|
|
|
error: TranslationBase.of(context).errorNoProgressNote,
|
|
|
|
|
)
|
|
|
|
|
:Expanded(
|
|
|
|
|
child: Container(
|
|
|
|
|
child: ListView.builder(
|
|
|
|
|
itemCount: model.patientProgressNoteList.length,
|
|
|
|
|
|