|
|
|
|
@ -465,6 +465,7 @@ class SOAPService extends LookupService {
|
|
|
|
|
value.patientID = patientInfo.patientMRN;
|
|
|
|
|
value.pomrid = int.parse(patientInfo.pomrId!);
|
|
|
|
|
value.allergyReactionMappingID = 1;
|
|
|
|
|
value.severity = value.severity ?? 1;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
@ -487,7 +488,6 @@ class SOAPService extends LookupService {
|
|
|
|
|
"allergyID": allergy.allergyID,
|
|
|
|
|
"allergyName": allergy.allergyName,
|
|
|
|
|
"allergyTypeID": allergy.allergyTypeID,
|
|
|
|
|
"setupId": await sharedPref.getString(DOCTOR_SETUP_ID)
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
if(isNoKnown){
|
|
|
|
|
@ -510,7 +510,8 @@ class SOAPService extends LookupService {
|
|
|
|
|
hasError = true;
|
|
|
|
|
super.error = error;
|
|
|
|
|
}, body: {
|
|
|
|
|
"listProgNotePatientAllergyDiseaseVM": [request]
|
|
|
|
|
"listProgNotePatientAllergyDiseaseVM": [request],
|
|
|
|
|
"setupId": await sharedPref.getString(DOCTOR_SETUP_ID)
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -686,9 +687,11 @@ class SOAPService extends LookupService {
|
|
|
|
|
"appointmentNo": patient.appointmentNo,
|
|
|
|
|
"pomrId": patient.pomrId,
|
|
|
|
|
"patientMRN": patient.patientMRN,
|
|
|
|
|
"chiefComplaint": cheifComplaint
|
|
|
|
|
"chiefComplaint": cheifComplaint,
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
],
|
|
|
|
|
"setupId":await sharedPref.getString(DOCTOR_SETUP_ID)
|
|
|
|
|
};
|
|
|
|
|
hasError = false;
|
|
|
|
|
await baseAppClient.post(POST_CHIEF_COMPLAINT_VP,
|
|
|
|
|
@ -1403,7 +1406,8 @@ class SOAPService extends LookupService {
|
|
|
|
|
"PatientMRN": patient.patientMRN,
|
|
|
|
|
"PatientName": patient.firstName! + ' ' + patient.lastName!,
|
|
|
|
|
"addedChiefComplaintCreateDtos": [],
|
|
|
|
|
"removedChiefComplaintIds": [chiefComplaint.chiefComplainId]
|
|
|
|
|
"removedChiefComplaintIds": [chiefComplaint.chiefComplainId],
|
|
|
|
|
"setupId": await sharedPref.getString(DOCTOR_SETUP_ID),
|
|
|
|
|
};
|
|
|
|
|
hasError = false;
|
|
|
|
|
await baseAppClient.post(UPDATE_CHIEF_COMPLAINT,
|
|
|
|
|
@ -1421,6 +1425,7 @@ class SOAPService extends LookupService {
|
|
|
|
|
Map<String, dynamic> request = {
|
|
|
|
|
"patientId": patient.patientId,
|
|
|
|
|
"clinicId": patient.clinicId,
|
|
|
|
|
"setupId": await sharedPref.getString(DOCTOR_SETUP_ID),
|
|
|
|
|
};
|
|
|
|
|
hasError = false;
|
|
|
|
|
await baseAppClient.post(EPISODE_BY_CHIEF_COMPLAINT,
|
|
|
|
|
|