progress not updated

development-3.3_voipCall
Sultan khan 1 year ago
parent 8428c2f632
commit 8b515ee14d

@ -5,6 +5,8 @@ class PostProgressNoteRequestModel {
String planNote;
dynamic doctorID;
dynamic editedBy;
String createdByName;
int createdBy;
PostProgressNoteRequestModel(
{this.appointmentNo,
@ -12,7 +14,10 @@ class PostProgressNoteRequestModel {
this.patientMRN,
this.planNote,
this.doctorID,
this.editedBy});
this.editedBy,
this.createdByName,
this.createdBy
});
PostProgressNoteRequestModel.fromJson(Map<String, dynamic> json) {
appointmentNo = json['AppointmentNo'];
@ -21,6 +26,8 @@ class PostProgressNoteRequestModel {
planNote = json['PlanNote'];
doctorID = json['DoctorID'];
editedBy = json['EditedBy'];
createdByName = json['CreatedByName'];
createdBy = json['CreatedBy'];
}
Map<String, dynamic> toJson() {
@ -31,6 +38,8 @@ class PostProgressNoteRequestModel {
data['PlanNote'] = this.planNote;
data['DoctorID'] = this.doctorID;
data['EditedBy'] = this.editedBy;
data['CreatedByName'] = this.createdByName;
data['CreatedBy'] = this.createdBy;
return data;
}
}

@ -291,6 +291,8 @@ class _UpdatePlanPageState extends State<UpdatePlanPage> implements PlanCallBack
appointmentNo: widget.patientInfo.appointmentNo,
planNote: patientProgressNote.planNote,
doctorID: widget.patientInfo.doctorId,
createdBy:widget.patientInfo.doctorId ,
createdByName:widget.patientInfo.doctorName ,
editedBy: '');
if (widget.sOAPViewModel.patientProgressNoteList.isEmpty) {

Loading…
Cancel
Save