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