SOAP For in patient

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

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

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

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

Loading…
Cancel
Save