diff --git a/lib/core/model/SOAP/progress_note/post_progress_note_request_model.dart b/lib/core/model/SOAP/progress_note/post_progress_note_request_model.dart index 2925819d..0476d6f2 100644 --- a/lib/core/model/SOAP/progress_note/post_progress_note_request_model.dart +++ b/lib/core/model/SOAP/progress_note/post_progress_note_request_model.dart @@ -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 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 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; } } diff --git a/lib/screens/patients/profile/soap_update/plan/update_plan_page.dart b/lib/screens/patients/profile/soap_update/plan/update_plan_page.dart index b41cb4fe..ae472115 100644 --- a/lib/screens/patients/profile/soap_update/plan/update_plan_page.dart +++ b/lib/screens/patients/profile/soap_update/plan/update_plan_page.dart @@ -291,6 +291,8 @@ class _UpdatePlanPageState extends State 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) {