Clinic & Doctor ID added

merge-update-with-lab-changes
haroon amjad 3 years ago
parent ae0fca865d
commit 5c5ed35df8

@ -9,23 +9,29 @@ class GetAdmissionRequestInfoResponseModel {
int projectId; int projectId;
String projectName; String projectName;
String setupId; String setupId;
int clinicId;
int doctorId;
GetAdmissionRequestInfoResponseModel( GetAdmissionRequestInfoResponseModel(
{this.admissionRequestNo, {this.admissionRequestNo,
this.clinicName, this.clinicName,
this.doctorName, this.doctorName,
this.expectedAdmissionDate, this.expectedAdmissionDate,
this.medicalInstructions, this.medicalInstructions,
this.medicalInstructionsXML, this.medicalInstructionsXML,
this.medicalRemarks, this.medicalRemarks,
this.projectId, this.projectId,
this.projectName, this.projectName,
this.setupId}); this.setupId,
this.clinicId,
this.doctorId});
GetAdmissionRequestInfoResponseModel.fromJson(Map<String, dynamic> json) { GetAdmissionRequestInfoResponseModel.fromJson(Map<String, dynamic> json) {
admissionRequestNo = json['admissionRequestNo']; admissionRequestNo = json['admissionRequestNo'];
clinicName = json['clinicName']; clinicName = json['clinicName'];
doctorName = json['doctorName']; doctorName = json['doctorName'];
clinicId = json['ClinicID'];
doctorId = json['DoctorID'];
expectedAdmissionDate = json['expectedAdmissionDate']; expectedAdmissionDate = json['expectedAdmissionDate'];
if (json['medicaLInstructions'] != null) { if (json['medicaLInstructions'] != null) {
medicalInstructions = <MedicaLInstructions>[]; medicalInstructions = <MedicaLInstructions>[];
@ -45,10 +51,11 @@ class GetAdmissionRequestInfoResponseModel {
data['admissionRequestNo'] = this.admissionRequestNo; data['admissionRequestNo'] = this.admissionRequestNo;
data['clinicName'] = this.clinicName; data['clinicName'] = this.clinicName;
data['doctorName'] = this.doctorName; data['doctorName'] = this.doctorName;
data['clinicId'] = this.clinicId;
data['doctorId'] = this.doctorId;
data['expectedAdmissionDate'] = this.expectedAdmissionDate; data['expectedAdmissionDate'] = this.expectedAdmissionDate;
if (this.medicalInstructions != null) { if (this.medicalInstructions != null) {
data['medicaLInstructions'] = data['medicaLInstructions'] = this.medicalInstructions.map((v) => v.toJson()).toList();
this.medicalInstructions.map((v) => v.toJson()).toList();
} }
data['medicalInstructionsXML'] = this.medicalInstructionsXML; data['medicalInstructionsXML'] = this.medicalInstructionsXML;
data['medicalRemarks'] = this.medicalRemarks; data['medicalRemarks'] = this.medicalRemarks;

Loading…
Cancel
Save