progress not updated

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

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

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

Loading…
Cancel
Save