Admitted patient API changed
parent
f624c70cee
commit
d261557cd7
@ -1,60 +1,92 @@
|
||||
class GetAdmissionInfoResponseModel {
|
||||
String setupID;
|
||||
int projectID;
|
||||
int admissionNo;
|
||||
String admissionDate;
|
||||
String infotainmentIBMSLink;
|
||||
String infotainmentIBMSLinkAr;
|
||||
int projectID;
|
||||
String roomID;
|
||||
String bedID;
|
||||
int admissionRequestNo;
|
||||
int admissionType;
|
||||
int patientType;
|
||||
int patientID;
|
||||
int clinicID;
|
||||
int doctorID;
|
||||
int patientID;
|
||||
String bMIUrl;
|
||||
String mOPUrl;
|
||||
int admittingClinicID;
|
||||
int admittingDoctorID;
|
||||
int categoryID;
|
||||
String roomID;
|
||||
String bedID;
|
||||
dynamic dischargeDate;
|
||||
int approvalNo;
|
||||
int status;
|
||||
String statusDesc;
|
||||
String statusDescN;
|
||||
|
||||
GetAdmissionInfoResponseModel(
|
||||
{this.admissionNo,
|
||||
this.admissionDate,
|
||||
this.infotainmentIBMSLink,
|
||||
this.infotainmentIBMSLinkAr,
|
||||
{this.setupID,
|
||||
this.projectID,
|
||||
this.roomID,
|
||||
this.bedID,
|
||||
this.admissionNo,
|
||||
this.admissionDate,
|
||||
this.admissionRequestNo,
|
||||
this.admissionType,
|
||||
this.patientType,
|
||||
this.patientID,
|
||||
this.clinicID,
|
||||
this.doctorID,
|
||||
this.patientID,
|
||||
this.bMIUrl,
|
||||
this.mOPUrl});
|
||||
this.admittingClinicID,
|
||||
this.admittingDoctorID,
|
||||
this.categoryID,
|
||||
this.roomID,
|
||||
this.bedID,
|
||||
this.dischargeDate,
|
||||
this.approvalNo,
|
||||
this.status,
|
||||
this.statusDesc,
|
||||
this.statusDescN});
|
||||
|
||||
GetAdmissionInfoResponseModel.fromJson(Map<String, dynamic> json) {
|
||||
setupID = json['SetupID'];
|
||||
projectID = json['ProjectID'];
|
||||
admissionNo = json['AdmissionNo'];
|
||||
admissionDate = json['AdmissionDate'];
|
||||
infotainmentIBMSLink = json['InfotainmentIBMSLink'];
|
||||
infotainmentIBMSLinkAr = json['InfotainmentIBMSLinkAr'];
|
||||
projectID = json['ProjectID'];
|
||||
roomID = json['RoomID'];
|
||||
bedID = json['BedID'];
|
||||
admissionRequestNo = json['AdmissionRequestNo'];
|
||||
admissionType = json['AdmissionType'];
|
||||
patientType = json['PatientType'];
|
||||
patientID = json['PatientID'];
|
||||
clinicID = json['ClinicID'];
|
||||
doctorID = json['DoctorID'];
|
||||
patientID = json['PatientID'];
|
||||
bMIUrl = json['BMIUrl'];
|
||||
mOPUrl = json['MOPUrl'];
|
||||
admittingClinicID = json['AdmittingClinicID'];
|
||||
admittingDoctorID = json['AdmittingDoctorID'];
|
||||
categoryID = json['CategoryID'];
|
||||
roomID = json['RoomID'];
|
||||
bedID = json['BedID'];
|
||||
dischargeDate = json['DischargeDate'];
|
||||
approvalNo = json['ApprovalNo'];
|
||||
status = json['Status'];
|
||||
statusDesc = json['StatusDesc'];
|
||||
statusDescN = json['StatusDescN'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['SetupID'] = this.setupID;
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['AdmissionNo'] = this.admissionNo;
|
||||
data['AdmissionDate'] = this.admissionDate;
|
||||
data['InfotainmentIBMSLink'] = this.infotainmentIBMSLink;
|
||||
data['InfotainmentIBMSLinkAr'] = this.infotainmentIBMSLinkAr;
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['RoomID'] = this.roomID;
|
||||
data['BedID'] = this.bedID;
|
||||
data['AdmissionRequestNo'] = this.admissionRequestNo;
|
||||
data['AdmissionType'] = this.admissionType;
|
||||
data['PatientType'] = this.patientType;
|
||||
data['PatientID'] = this.patientID;
|
||||
data['ClinicID'] = this.clinicID;
|
||||
data['DoctorID'] = this.doctorID;
|
||||
data['PatientID'] = this.patientID;
|
||||
data['BMIUrl'] = this.bMIUrl;
|
||||
data['MOPUrl'] = this.mOPUrl;
|
||||
data['AdmittingClinicID'] = this.admittingClinicID;
|
||||
data['AdmittingDoctorID'] = this.admittingDoctorID;
|
||||
data['CategoryID'] = this.categoryID;
|
||||
data['RoomID'] = this.roomID;
|
||||
data['BedID'] = this.bedID;
|
||||
data['DischargeDate'] = this.dischargeDate;
|
||||
data['ApprovalNo'] = this.approvalNo;
|
||||
data['Status'] = this.status;
|
||||
data['StatusDesc'] = this.statusDesc;
|
||||
data['StatusDescN'] = this.statusDescN;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue