|
|
|
@ -226,12 +226,13 @@ class _InterventionMedicationHistoryScreenState extends State<InterventionMedica
|
|
|
|
|
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
await model.setAcceptedOrRejected(
|
|
|
|
|
remarks: "Accepted",
|
|
|
|
|
remarks: "",
|
|
|
|
|
memberId: model.allInterventionHistoryList[index].commentedBy,
|
|
|
|
|
prescriptionNo: model.allInterventionHistoryList[index].prescriptionId,
|
|
|
|
|
patientID: model.allInterventionHistoryList[index].patientId,
|
|
|
|
|
orderNo: model.allInterventionHistoryList[index].orderNo,
|
|
|
|
|
admissionNo: model.allInterventionHistoryList[index].admissionNo,
|
|
|
|
|
interventionStatus: 1,
|
|
|
|
|
);
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
if(model.state == ViewState.ErrorLocal) {
|
|
|
|
@ -274,12 +275,13 @@ class _InterventionMedicationHistoryScreenState extends State<InterventionMedica
|
|
|
|
|
|
|
|
|
|
GifLoaderDialogUtils.showMyDialog(context);
|
|
|
|
|
await model.setAcceptedOrRejected(
|
|
|
|
|
remarks: "Rejected",
|
|
|
|
|
remarks: "",
|
|
|
|
|
memberId: model.allInterventionHistoryList[index].commentedBy,
|
|
|
|
|
prescriptionNo: model.allInterventionHistoryList[index].prescriptionId,
|
|
|
|
|
patientID: model.allInterventionHistoryList[index].patientId,
|
|
|
|
|
orderNo: model.allInterventionHistoryList[index].orderNo,
|
|
|
|
|
admissionNo: model.allInterventionHistoryList[index].admissionNo,
|
|
|
|
|
interventionStatus: 2
|
|
|
|
|
);
|
|
|
|
|
GifLoaderDialogUtils.hideDialog(context);
|
|
|
|
|
if(model.state == ViewState.ErrorLocal) {
|
|
|
|
|