SOAP For in patient

merge-requests/787/head^2
hussam al-habibeh 3 years ago
parent 26a1758af9
commit 4abd005499

@ -34,7 +34,7 @@ class GetChiefComplaintReqModel {
data['DoctorID'] = this.doctorID;
}
if (this.admissionNo != null) {
data['admissionNo'] = this.admissionNo;
data['AdmissionNo'] = this.admissionNo;
}
return data;

@ -62,7 +62,7 @@ class PostChiefComplaintRequestModel {
data['EditedBy'] = this.editedBy;
}
if (admissionNo != null) {
data['admissionNo'] = this.admissionNo;
data['AdmissionNo'] = this.admissionNo;
}
return data;

@ -436,6 +436,7 @@ class _UpdateSubjectivePageState extends State<UpdateSubjectivePage> implements
postChiefComplaintRequestModel.editedBy = '';
await model.postChiefComplaint(postChiefComplaintRequestModel);
} else {
postChiefComplaintRequestModel.editedBy = '';
await model.patchChiefComplaint(postChiefComplaintRequestModel);
}
}

Loading…
Cancel
Save