Fix medical report issues

merge-requests/766/head
Mohammad Aljammal 5 years ago
parent 8d8d7d8697
commit 4c8f79c87e

@ -15,9 +15,8 @@ class PatientMedicalReportService extends BaseService {
body['AdmissionNo'] = patient.admissionNo;
body['SetupID'] = doctorProfile.setupID;
body['ProjectID'] = doctorProfile.projectID;
medicalReportList = [];
await baseAppClient.postPatient(PATIENT_MEDICAL_REPORT_GET_LIST, onSuccess: (dynamic response, int statusCode) {
medicalReportList.clear();
if (response['DAPP_ListMedicalReportList'] != null) {
response['DAPP_ListMedicalReportList'].forEach((v) {
medicalReportList.add(MedicalReportModel.fromJson(v));

Loading…
Cancel
Save