|
|
|
|
@ -57,13 +57,14 @@ class PrescriptionsService extends BaseService {
|
|
|
|
|
List<PrescriptionReport> prescriptionReportList = List();
|
|
|
|
|
|
|
|
|
|
Future getPrescriptionReport(
|
|
|
|
|
{int dischargeNo, int projectId, int clinicID, String setupID,int episodeID}) async {
|
|
|
|
|
{Prescriptions prescriptions}) async {
|
|
|
|
|
hasError = false;
|
|
|
|
|
_requestPrescriptionReport.dischargeNo = dischargeNo;
|
|
|
|
|
_requestPrescriptionReport.projectID = projectId;
|
|
|
|
|
_requestPrescriptionReport.clinicID = clinicID;
|
|
|
|
|
_requestPrescriptionReport.setupID = setupID;
|
|
|
|
|
_requestPrescriptionReport.episodeID = episodeID;
|
|
|
|
|
_requestPrescriptionReport.dischargeNo = prescriptions.dischargeNo;
|
|
|
|
|
_requestPrescriptionReport.projectID = prescriptions.projectID;
|
|
|
|
|
_requestPrescriptionReport.clinicID = prescriptions.clinicID;
|
|
|
|
|
_requestPrescriptionReport.setupID = prescriptions.setupID;
|
|
|
|
|
_requestPrescriptionReport.episodeID = prescriptions.episodeID;
|
|
|
|
|
_requestPrescriptionReport.appointmentNo = prescriptions.appointmentNo;
|
|
|
|
|
|
|
|
|
|
await baseAppClient.post(GET_PRESCRIPTION_REPORT,
|
|
|
|
|
onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
|