|
|
|
|
@ -89,36 +89,36 @@ class _ProgressNoteState extends State<OperationReportScreen> {
|
|
|
|
|
patient,
|
|
|
|
|
isInpatient: true,
|
|
|
|
|
),
|
|
|
|
|
body:
|
|
|
|
|
Container(
|
|
|
|
|
color: Colors.grey[200],
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
AddNewOrder(
|
|
|
|
|
onTap: () async {
|
|
|
|
|
await locator<AnalyticsService>().logEvent(
|
|
|
|
|
eventCategory: "Operation Report Screen",
|
|
|
|
|
eventAction: "Update Operation Report ",
|
|
|
|
|
);
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (context) => UpdateOperationReport(
|
|
|
|
|
operationReportViewModel: model,
|
|
|
|
|
patient: patient,
|
|
|
|
|
visitType: widget.visitType,
|
|
|
|
|
isUpdate: false,
|
|
|
|
|
),
|
|
|
|
|
settings: RouteSettings(name: 'UpdateNoteOrder'),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
label: TranslationBase.of(context).operationReports,
|
|
|
|
|
body: Container(
|
|
|
|
|
color: Colors.grey[200],
|
|
|
|
|
child: Column(
|
|
|
|
|
children: <Widget>[
|
|
|
|
|
AddNewOrder(
|
|
|
|
|
onTap: () async {
|
|
|
|
|
await locator<AnalyticsService>().logEvent(
|
|
|
|
|
eventCategory: "Operation Report Screen",
|
|
|
|
|
eventAction: "Update Operation Report ",
|
|
|
|
|
);
|
|
|
|
|
Navigator.push(
|
|
|
|
|
context,
|
|
|
|
|
MaterialPageRoute(
|
|
|
|
|
builder: (context) => UpdateOperationReport(
|
|
|
|
|
operationReportViewModel: model,
|
|
|
|
|
patient: patient,
|
|
|
|
|
visitType: widget.visitType,
|
|
|
|
|
isUpdate: false,
|
|
|
|
|
),
|
|
|
|
|
model.operationReportList == null ||
|
|
|
|
|
model.operationReportList.length == 0
|
|
|
|
|
? DrAppEmbeddedError(
|
|
|
|
|
error: TranslationBase.of(context).errorNoProgressNote):Expanded(
|
|
|
|
|
settings: RouteSettings(name: 'UpdateNoteOrder'),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
},
|
|
|
|
|
label: TranslationBase.of(context).operationReports,
|
|
|
|
|
),
|
|
|
|
|
model.operationReportList == null ||
|
|
|
|
|
model.operationReportList.length == 0
|
|
|
|
|
? DrAppEmbeddedError(
|
|
|
|
|
error: TranslationBase.of(context).errorNoProgressNote)
|
|
|
|
|
: Expanded(
|
|
|
|
|
child: Container(
|
|
|
|
|
child: ListView.builder(
|
|
|
|
|
itemCount: model.operationReportList.length,
|
|
|
|
|
@ -532,9 +532,9 @@ class _ProgressNoteState extends State<OperationReportScreen> {
|
|
|
|
|
}),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|