|
|
|
@ -115,31 +115,28 @@ class ProcedureScreen extends StatelessWidget {
|
|
|
|
|
model.procedureList[0].entityList[index].categoryID,
|
|
|
|
|
entityList: model.procedureList[0].entityList[index],
|
|
|
|
|
onTap: () {
|
|
|
|
|
// if (model.procedureList[0].entityList[index]
|
|
|
|
|
// .categoryID ==
|
|
|
|
|
// 2 ||
|
|
|
|
|
// model.procedureList[0].entityList[index]
|
|
|
|
|
// .categoryID ==
|
|
|
|
|
// 4) {
|
|
|
|
|
updateProcedureForm(context,
|
|
|
|
|
model: model,
|
|
|
|
|
patient: patient,
|
|
|
|
|
remarks: model
|
|
|
|
|
.procedureList[0].entityList[index].remarks,
|
|
|
|
|
orderType: model
|
|
|
|
|
.procedureList[0].entityList[index].orderType
|
|
|
|
|
.toString(),
|
|
|
|
|
orderNo: model
|
|
|
|
|
.procedureList[0].entityList[index].orderNo,
|
|
|
|
|
procedureName: model.procedureList[0]
|
|
|
|
|
.entityList[index].procedureName,
|
|
|
|
|
categoreId: model
|
|
|
|
|
.procedureList[0].entityList[index].categoryID
|
|
|
|
|
.toString(),
|
|
|
|
|
procedureId: model.procedureList[0]
|
|
|
|
|
.entityList[index].procedureId,
|
|
|
|
|
limetNo: model.procedureList[0].entityList[index]
|
|
|
|
|
.lineItemNo);
|
|
|
|
|
if (model.procedureList[0].entityList[index].categoryID ==
|
|
|
|
|
2 ||
|
|
|
|
|
model.procedureList[0].entityList[index].categoryID == 4)
|
|
|
|
|
updateProcedureForm(context,
|
|
|
|
|
model: model,
|
|
|
|
|
patient: patient,
|
|
|
|
|
remarks: model
|
|
|
|
|
.procedureList[0].entityList[index].remarks,
|
|
|
|
|
orderType: model.procedureList[0]
|
|
|
|
|
.entityList[index].orderType
|
|
|
|
|
.toString(),
|
|
|
|
|
orderNo: model
|
|
|
|
|
.procedureList[0].entityList[index].orderNo,
|
|
|
|
|
procedureName: model.procedureList[0]
|
|
|
|
|
.entityList[index].procedureName,
|
|
|
|
|
categoreId: model.procedureList[0]
|
|
|
|
|
.entityList[index].categoryID
|
|
|
|
|
.toString(),
|
|
|
|
|
procedureId: model.procedureList[0]
|
|
|
|
|
.entityList[index].procedureId,
|
|
|
|
|
limetNo: model.procedureList[0]
|
|
|
|
|
.entityList[index].lineItemNo);
|
|
|
|
|
// } else
|
|
|
|
|
// helpers.showErrorToast(
|
|
|
|
|
// 'You Cant Update This Procedure');
|
|
|
|
|