|
|
|
|
@ -24,15 +24,16 @@ class _LaboratoryResultPageState extends State<LaboratoryResultPage> {
|
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
|
ProjectViewModel projectViewModel = Provider.of(context);
|
|
|
|
|
return BaseView<LabsViewModel>(
|
|
|
|
|
onModelReady: (model) => model.getLaboratoryResult(
|
|
|
|
|
invoiceNo: widget.patientLabOrders!.invoiceNo,
|
|
|
|
|
invoiceType: widget.patientLabOrders!.invoiceType,
|
|
|
|
|
clinicID: widget.patientLabOrders!.clinicID,
|
|
|
|
|
projectID: widget.patientLabOrders!.projectID,
|
|
|
|
|
orderNo: widget.patientLabOrders!.orderNo,
|
|
|
|
|
setupID: widget.patientLabOrders!.setupID,
|
|
|
|
|
isVidaPlus: Utils.isVidaPlusProject(projectViewModel, int.parse(widget.patientLabOrders!.projectID!)),
|
|
|
|
|
),
|
|
|
|
|
onModelReady: (model) {},
|
|
|
|
|
// onModelReady: (model) => model.getLaboratoryResult(
|
|
|
|
|
// invoiceNo: widget.patientLabOrders!.invoiceNo,
|
|
|
|
|
// invoiceType: widget.patientLabOrders!.invoiceType,
|
|
|
|
|
// clinicID: widget.patientLabOrders!.clinicID,
|
|
|
|
|
// projectID: widget.patientLabOrders!.projectID,
|
|
|
|
|
// orderNo: widget.patientLabOrders!.orderNo,
|
|
|
|
|
// setupID: widget.patientLabOrders!.setupID,
|
|
|
|
|
// isVidaPlus: Utils.isVidaPlusProject(projectViewModel, int.parse(widget.patientLabOrders!.projectID!)),
|
|
|
|
|
// ),
|
|
|
|
|
builder: (_, model, w) => AppScaffold(
|
|
|
|
|
isShowAppBar: true,
|
|
|
|
|
appBarTitle: widget.patientLabOrders!.doctorName!,
|
|
|
|
|
|