removing lookup list call in page opening

merge-requests/489/head
hussam al-habibeh 5 years ago
parent caec2f5a88
commit ff2f456b46

@ -207,12 +207,18 @@ class _PrescriptionFormWidgetState extends State<PrescriptionFormWidget> {
doctorID: '', doctorID: '',
appointmentNo: widget.patient.appointmentNo); appointmentNo: widget.patient.appointmentNo);
//await model.getMedicationList(); //await model.getMedicationList();
await model.getMedicationStrength(); if (model.medicationStrengthList.length == 0) {
await model.getMedicationStrength();
}
//await model.getPrescription(mrn: widget.patient.patientMRN); //await model.getPrescription(mrn: widget.patient.patientMRN);
await model.getMedicationDuration(); if (model.medicationDurationList.length == 0) {
await model.getMedicationDuration();
}
//await model.getMedicationRoute(); //await model.getMedicationRoute();
//await model.getMedicationFrequency(); //await model.getMedicationFrequency();
await model.getMedicationDoseTime(); if (model.medicationDoseTimeList.length == 0) {
await model.getMedicationDoseTime();
}
//await model.getMedicationIndications(); //await model.getMedicationIndications();
await model.getPatientAssessment(getAssessmentReqModel); await model.getPatientAssessment(getAssessmentReqModel);
//await model.getItem(); //await model.getItem();

Loading…
Cancel
Save