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