WD: SETUP ID ADDED

update_flutter_3.24_vida_plus_episode_MDS
taha.alam 11 months ago
parent 3af6248d13
commit f7ed4b6c68

@ -397,7 +397,8 @@ class SOAPService extends LookupService {
Future patientAllergies(PatiantInformtion patientInfo) async { Future patientAllergies(PatiantInformtion patientInfo) async {
Map<String, dynamic> request = { Map<String, dynamic> request = {
"patientId": patientInfo.patientMRN, "patientId": patientInfo.patientMRN,
"ProjectID": patientInfo.projectId "ProjectID": patientInfo.projectId,
"setupId": await sharedPref.getString(DOCTOR_SETUP_ID)
}; };
hasError = false; hasError = false;
await baseAppClient.post(PATIENT_ALLERGIES, await baseAppClient.post(PATIENT_ALLERGIES,
@ -448,7 +449,10 @@ class SOAPService extends LookupService {
}, onFailure: (String error, int statusCode) { }, onFailure: (String error, int statusCode) {
hasError = true; hasError = true;
super.error = error; super.error = error;
}, body: {"AllergyName": searchKey}); }, body: {
"AllergyName": searchKey,
"setupId": await sharedPref.getString(DOCTOR_SETUP_ID)
});
} }
Future addAllergies( Future addAllergies(

Loading…
Cancel
Save