diff --git a/lib/core/service/radiology_service.dart b/lib/core/service/radiology_service.dart index 68504d2c..7296d7b7 100644 --- a/lib/core/service/radiology_service.dart +++ b/lib/core/service/radiology_service.dart @@ -29,9 +29,13 @@ class RadiologyService extends BaseService { Future getPatientRadOrders(PatiantInformtion patient , {isInPatient = false}) async { String url = GET_PATIENT_ORDERS; + final Map body = new Map(); if(isInPatient) { url = GET_IN_PATIENT_ORDERS; + body['ProjectID'] = patient.projectId; } + + hasError = false; await baseAppClient.postPatient(url, patient: patient, @@ -47,7 +51,7 @@ class RadiologyService extends BaseService { }, onFailure: (String error, int statusCode) { hasError = true; super.error = error; - }, body: Map()); + }, body:body); }