You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
191 lines
6.8 KiB
Dart
191 lines
6.8 KiB
Dart
class AdmissionRequest {
|
|
int? patientMRN;
|
|
int? admitToClinic;
|
|
bool? isPregnant;
|
|
int? pregnancyWeeks;
|
|
int? pregnancyType;
|
|
int? noOfBabies;
|
|
int? mrpDoctorID;
|
|
String? admissionDate;
|
|
int? expectedDays;
|
|
int? admissionType;
|
|
int? admissionLocationID;
|
|
int? roomCategoryID;
|
|
int? wardID;
|
|
bool? isSickLeaveRequired;
|
|
String? sickLeaveComments;
|
|
bool? isTransport;
|
|
String? transportComments;
|
|
bool? isPhysioAppointmentNeeded;
|
|
String? physioAppointmentComments;
|
|
bool? isOPDFollowupAppointmentNeeded;
|
|
String? opdFollowUpComments;
|
|
bool? isDietType;
|
|
int? dietType;
|
|
String? dietRemarks;
|
|
bool? isPhysicalActivityModification;
|
|
String? physicalActivityModificationComments;
|
|
int? orStatus;
|
|
String? mainLineOfTreatment;
|
|
int? estimatedCost;
|
|
String? elementsForImprovement;
|
|
bool? isPackagePatient;
|
|
String? complications;
|
|
String? otherDepartmentInterventions;
|
|
String? otherProcedures;
|
|
String? pastMedicalHistory;
|
|
String? pastSurgicalHistory;
|
|
List<dynamic>? admissionRequestDiagnoses;
|
|
List<dynamic>? admissionRequestProcedures;
|
|
int? appointmentNo;
|
|
int? episodeID;
|
|
int? admissionRequestNo;
|
|
|
|
AdmissionRequest({
|
|
this.patientMRN,
|
|
this.admitToClinic,
|
|
this.isPregnant,
|
|
this.pregnancyWeeks,
|
|
this.pregnancyType,
|
|
this.noOfBabies,
|
|
this.mrpDoctorID,
|
|
this.admissionDate,
|
|
this.expectedDays,
|
|
this.admissionType,
|
|
this.admissionLocationID,
|
|
this.roomCategoryID,
|
|
this.wardID,
|
|
this.isSickLeaveRequired,
|
|
this.sickLeaveComments,
|
|
this.isTransport,
|
|
this.transportComments,
|
|
this.isPhysioAppointmentNeeded,
|
|
this.physioAppointmentComments,
|
|
this.isOPDFollowupAppointmentNeeded,
|
|
this.opdFollowUpComments,
|
|
this.isDietType,
|
|
this.dietType,
|
|
this.dietRemarks,
|
|
this.isPhysicalActivityModification,
|
|
this.physicalActivityModificationComments,
|
|
this.orStatus,
|
|
this.mainLineOfTreatment,
|
|
this.estimatedCost,
|
|
this.elementsForImprovement,
|
|
this.isPackagePatient,
|
|
this.complications,
|
|
this.otherDepartmentInterventions,
|
|
this.otherProcedures,
|
|
this.pastMedicalHistory,
|
|
this.pastSurgicalHistory,
|
|
this.admissionRequestDiagnoses,
|
|
this.admissionRequestProcedures,
|
|
this.appointmentNo,
|
|
this.episodeID,
|
|
this.admissionRequestNo,
|
|
});
|
|
|
|
AdmissionRequest.fromJson(Map<String, dynamic>? json) {
|
|
if (json != null) {
|
|
patientMRN = json['patientMRN'];
|
|
admitToClinic = json['admitToClinic'];
|
|
isPregnant = json['isPregnant'];
|
|
pregnancyWeeks = json['pregnancyWeeks'];
|
|
pregnancyType = json['pregnancyType'];
|
|
noOfBabies = json['noOfBabies'];
|
|
mrpDoctorID = json['mrpDoctorID'];
|
|
admissionDate = json['admissionDate'];
|
|
expectedDays = json['expectedDays'];
|
|
admissionType = json['admissionType'];
|
|
admissionLocationID = json['admissionLocationID'];
|
|
roomCategoryID = json['roomCategoryID'];
|
|
wardID = json['wardID'];
|
|
isSickLeaveRequired = json['isSickLeaveRequired'];
|
|
sickLeaveComments = json['sickLeaveComments'];
|
|
isTransport = json['isTransport'];
|
|
transportComments = json['transportComments'];
|
|
isPhysioAppointmentNeeded = json['isPhysioAppointmentNeeded'];
|
|
physioAppointmentComments = json['physioAppointmentComments'];
|
|
isOPDFollowupAppointmentNeeded = json['isOPDFollowupAppointmentNeeded'];
|
|
opdFollowUpComments = json['opdFollowUpComments'];
|
|
isDietType = json['isDietType'];
|
|
dietType = json['dietType'];
|
|
dietRemarks = json['dietRemarks'];
|
|
isPhysicalActivityModification =
|
|
json['isPhysicalActivityModification'];
|
|
physicalActivityModificationComments =
|
|
json['physicalActivityModificationComments'];
|
|
orStatus = json['orStatus'];
|
|
mainLineOfTreatment = json['mainLineOfTreatment'];
|
|
estimatedCost = json['estimatedCost'];
|
|
elementsForImprovement = json['elementsForImprovement'];
|
|
isPackagePatient = json['isPackagePatient'];
|
|
complications = json['complications'];
|
|
otherDepartmentInterventions = json['otherDepartmentInterventions'];
|
|
otherProcedures = json['otherProcedures'];
|
|
pastMedicalHistory = json['pastMedicalHistory'];
|
|
pastSurgicalHistory = json['pastSurgicalHistory'];
|
|
if (json['admissionRequestDiagnoses'] != null) {
|
|
admissionRequestDiagnoses = List<dynamic>.from(
|
|
json['admissionRequestDiagnoses'],
|
|
);
|
|
}
|
|
if (json['admissionRequestProcedures'] != null) {
|
|
admissionRequestProcedures = List<dynamic>.from(
|
|
json['admissionRequestProcedures'],
|
|
);
|
|
}
|
|
appointmentNo = json['appointmentNo'];
|
|
episodeID = json['episodeID'];
|
|
admissionRequestNo = json['admissionRequestNo'];
|
|
}
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = {};
|
|
data['patientMRN'] = patientMRN;
|
|
data['admitToClinic'] = admitToClinic;
|
|
data['isPregnant'] = isPregnant;
|
|
data['pregnancyWeeks'] = pregnancyWeeks;
|
|
data['pregnancyType'] = pregnancyType;
|
|
data['noOfBabies'] = noOfBabies;
|
|
data['mrpDoctorID'] = mrpDoctorID;
|
|
data['admissionDate'] = admissionDate;
|
|
data['expectedDays'] = expectedDays;
|
|
data['admissionType'] = admissionType;
|
|
data['admissionLocationID'] = admissionLocationID;
|
|
data['roomCategoryID'] = roomCategoryID;
|
|
data['wardID'] = wardID;
|
|
data['isSickLeaveRequired'] = isSickLeaveRequired;
|
|
data['sickLeaveComments'] = sickLeaveComments;
|
|
data['isTransport'] = isTransport;
|
|
data['transportComments'] = transportComments;
|
|
data['isPhysioAppointmentNeeded'] = isPhysioAppointmentNeeded;
|
|
data['physioAppointmentComments'] = physioAppointmentComments;
|
|
data['isOPDFollowupAppointmentNeeded'] = isOPDFollowupAppointmentNeeded;
|
|
data['opdFollowUpComments'] = opdFollowUpComments;
|
|
data['isDietType'] = isDietType;
|
|
data['dietType'] = dietType;
|
|
data['dietRemarks'] = dietRemarks;
|
|
data['isPhysicalActivityModification'] = isPhysicalActivityModification;
|
|
data['physicalActivityModificationComments'] =
|
|
physicalActivityModificationComments;
|
|
data['orStatus'] = orStatus;
|
|
data['mainLineOfTreatment'] = mainLineOfTreatment;
|
|
data['estimatedCost'] = estimatedCost;
|
|
data['elementsForImprovement'] = elementsForImprovement;
|
|
data['isPackagePatient'] = isPackagePatient;
|
|
data['complications'] = complications;
|
|
data['otherDepartmentInterventions'] = otherDepartmentInterventions;
|
|
data['otherProcedures'] = otherProcedures;
|
|
data['pastMedicalHistory'] = pastMedicalHistory;
|
|
data['pastSurgicalHistory'] = pastSurgicalHistory;
|
|
data['admissionRequestDiagnoses'] = admissionRequestDiagnoses;
|
|
data['admissionRequestProcedures'] = admissionRequestProcedures;
|
|
data['appointmentNo'] = appointmentNo;
|
|
data['episodeID'] = episodeID;
|
|
data['admissionRequestNo'] = admissionRequestNo;
|
|
return data;
|
|
}
|
|
}
|