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