|
|
|
|
@ -55,7 +55,7 @@ class PrescriptionsService extends BaseService {
|
|
|
|
|
prescriptionsOrderListRC.clear();
|
|
|
|
|
Map<String, dynamic> body = Map();
|
|
|
|
|
body['ID'] = orderID;
|
|
|
|
|
await baseAppClient.post(GET_ALL_PRESCRIPTION_INFO_RC + "?PatientId=" + patientID.toString(), onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
await baseAppClient.post(GET_ALL_PRESCRIPTION_INFO_RC + "?PatientId=" + patientID.toString(), isRCService: true, onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
response['response']['report'].forEach((prescriptionsOrder) {
|
|
|
|
|
prescriptionsOrderListRC.add(PrescriptionInfoRCModel.fromJson(prescriptionsOrder));
|
|
|
|
|
});
|
|
|
|
|
@ -69,7 +69,7 @@ class PrescriptionsService extends BaseService {
|
|
|
|
|
prescriptionsOrderList.clear();
|
|
|
|
|
Map<String, dynamic> body = Map();
|
|
|
|
|
// body['isDentalAllowedBackend'] = false;
|
|
|
|
|
await baseAppClient.post(GET_ALL_PRESCRIPTION_ORDERS_RC, onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
await baseAppClient.post(GET_ALL_PRESCRIPTION_ORDERS_RC, isRCService: true, onSuccess: (dynamic response, int statusCode) {
|
|
|
|
|
response['response'].forEach((prescriptionsOrder) {
|
|
|
|
|
prescriptionsOrderList.add(GetCMCAllOrdersResponseModel.fromJson(prescriptionsOrder));
|
|
|
|
|
});
|
|
|
|
|
|