mealplan updates
parent
9f44b25353
commit
710e6274db
@ -0,0 +1,220 @@
|
|||||||
|
class GetAdmittedPatientsResponseModel {
|
||||||
|
String setupID;
|
||||||
|
int projectID;
|
||||||
|
int admissionNo;
|
||||||
|
String admissionDate;
|
||||||
|
int patientType;
|
||||||
|
int patientID;
|
||||||
|
int clinicID;
|
||||||
|
int doctorID;
|
||||||
|
String roomID;
|
||||||
|
String bedID;
|
||||||
|
int status;
|
||||||
|
int admissionStatus;
|
||||||
|
String createdOn;
|
||||||
|
String firstName;
|
||||||
|
String middleName;
|
||||||
|
String lastName;
|
||||||
|
String firstNameN;
|
||||||
|
String middleNameN;
|
||||||
|
String lastNameN;
|
||||||
|
int gender;
|
||||||
|
String dateofBirth;
|
||||||
|
dynamic companionFirstName;
|
||||||
|
dynamic companionMiddleName;
|
||||||
|
dynamic companionLastName;
|
||||||
|
dynamic companionFirstNameN;
|
||||||
|
dynamic companionMiddleNameN;
|
||||||
|
dynamic companionLastNameN;
|
||||||
|
dynamic companionID;
|
||||||
|
dynamic companionGender;
|
||||||
|
bool isHasCompanion;
|
||||||
|
int buildingID;
|
||||||
|
int floorID;
|
||||||
|
int nursingStationID;
|
||||||
|
int dietType;
|
||||||
|
String dietTypeDateCahnged;
|
||||||
|
String dietTypeDescription;
|
||||||
|
String dietTypeDescriptionN;
|
||||||
|
dynamic allergyDiseaseDateCahnged;
|
||||||
|
dynamic allergyDiseaseChecked;
|
||||||
|
dynamic doctorRemarks;
|
||||||
|
dynamic allergyRemarks;
|
||||||
|
String age;
|
||||||
|
dynamic allergies;
|
||||||
|
String companionFullName;
|
||||||
|
bool dietTypeChanged;
|
||||||
|
String dietTypeDateCahngedDate;
|
||||||
|
String genderDescription;
|
||||||
|
dynamic genderImageUrl;
|
||||||
|
bool hasAllergy;
|
||||||
|
bool isNewAdmitted;
|
||||||
|
String patientFullName;
|
||||||
|
dynamic allergyRemark;
|
||||||
|
|
||||||
|
GetAdmittedPatientsResponseModel(
|
||||||
|
{this.setupID,
|
||||||
|
this.projectID,
|
||||||
|
this.admissionNo,
|
||||||
|
this.admissionDate,
|
||||||
|
this.patientType,
|
||||||
|
this.patientID,
|
||||||
|
this.clinicID,
|
||||||
|
this.doctorID,
|
||||||
|
this.roomID,
|
||||||
|
this.bedID,
|
||||||
|
this.status,
|
||||||
|
this.admissionStatus,
|
||||||
|
this.createdOn,
|
||||||
|
this.firstName,
|
||||||
|
this.middleName,
|
||||||
|
this.lastName,
|
||||||
|
this.firstNameN,
|
||||||
|
this.middleNameN,
|
||||||
|
this.lastNameN,
|
||||||
|
this.gender,
|
||||||
|
this.dateofBirth,
|
||||||
|
this.companionFirstName,
|
||||||
|
this.companionMiddleName,
|
||||||
|
this.companionLastName,
|
||||||
|
this.companionFirstNameN,
|
||||||
|
this.companionMiddleNameN,
|
||||||
|
this.companionLastNameN,
|
||||||
|
this.companionID,
|
||||||
|
this.companionGender,
|
||||||
|
this.isHasCompanion,
|
||||||
|
this.buildingID,
|
||||||
|
this.floorID,
|
||||||
|
this.nursingStationID,
|
||||||
|
this.dietType,
|
||||||
|
this.dietTypeDateCahnged,
|
||||||
|
this.dietTypeDescription,
|
||||||
|
this.dietTypeDescriptionN,
|
||||||
|
this.allergyDiseaseDateCahnged,
|
||||||
|
this.allergyDiseaseChecked,
|
||||||
|
this.doctorRemarks,
|
||||||
|
this.allergyRemarks,
|
||||||
|
this.age,
|
||||||
|
this.allergies,
|
||||||
|
this.companionFullName,
|
||||||
|
this.dietTypeChanged,
|
||||||
|
this.dietTypeDateCahngedDate,
|
||||||
|
this.genderDescription,
|
||||||
|
this.genderImageUrl,
|
||||||
|
this.hasAllergy,
|
||||||
|
this.isNewAdmitted,
|
||||||
|
this.patientFullName,
|
||||||
|
this.allergyRemark});
|
||||||
|
|
||||||
|
GetAdmittedPatientsResponseModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
admissionNo = json['AdmissionNo'];
|
||||||
|
admissionDate = json['AdmissionDate'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
roomID = json['RoomID'];
|
||||||
|
bedID = json['BedID'];
|
||||||
|
status = json['Status'];
|
||||||
|
admissionStatus = json['AdmissionStatus'];
|
||||||
|
createdOn = json['CreatedOn'];
|
||||||
|
firstName = json['FirstName'];
|
||||||
|
middleName = json['MiddleName'];
|
||||||
|
lastName = json['LastName'];
|
||||||
|
firstNameN = json['FirstNameN'];
|
||||||
|
middleNameN = json['MiddleNameN'];
|
||||||
|
lastNameN = json['LastNameN'];
|
||||||
|
gender = json['Gender'];
|
||||||
|
dateofBirth = json['DateofBirth'];
|
||||||
|
companionFirstName = json['CompanionFirstName'];
|
||||||
|
companionMiddleName = json['CompanionMiddleName'];
|
||||||
|
companionLastName = json['CompanionLastName'];
|
||||||
|
companionFirstNameN = json['CompanionFirstNameN'];
|
||||||
|
companionMiddleNameN = json['CompanionMiddleNameN'];
|
||||||
|
companionLastNameN = json['CompanionLastNameN'];
|
||||||
|
companionID = json['CompanionID'];
|
||||||
|
companionGender = json['CompanionGender'];
|
||||||
|
isHasCompanion = json['IsHasCompanion'];
|
||||||
|
buildingID = json['BuildingID'];
|
||||||
|
floorID = json['FloorID'];
|
||||||
|
nursingStationID = json['NursingStationID'];
|
||||||
|
dietType = json['DietType'];
|
||||||
|
dietTypeDateCahnged = json['DietTypeDateCahnged'];
|
||||||
|
dietTypeDescription = json['DietTypeDescription'];
|
||||||
|
dietTypeDescriptionN = json['DietTypeDescriptionN'];
|
||||||
|
allergyDiseaseDateCahnged = json['AllergyDiseaseDateCahnged'];
|
||||||
|
allergyDiseaseChecked = json['AllergyDiseaseChecked'];
|
||||||
|
doctorRemarks = json['DoctorRemarks'];
|
||||||
|
allergyRemarks = json['AllergyRemarks'];
|
||||||
|
age = json['Age'];
|
||||||
|
allergies = json['Allergies'];
|
||||||
|
companionFullName = json['CompanionFullName'];
|
||||||
|
dietTypeChanged = json['DietTypeChanged'];
|
||||||
|
dietTypeDateCahngedDate = json['DietTypeDateCahnged_Date'];
|
||||||
|
genderDescription = json['GenderDescription'];
|
||||||
|
genderImageUrl = json['GenderImageUrl'];
|
||||||
|
hasAllergy = json['HasAllergy'];
|
||||||
|
isNewAdmitted = json['IsNewAdmitted'];
|
||||||
|
patientFullName = json['PatientFullName'];
|
||||||
|
allergyRemark = json['allergyRemark'];
|
||||||
|
}
|
||||||
|
|
||||||
|
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['PatientType'] = this.patientType;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
data['RoomID'] = this.roomID;
|
||||||
|
data['BedID'] = this.bedID;
|
||||||
|
data['Status'] = this.status;
|
||||||
|
data['AdmissionStatus'] = this.admissionStatus;
|
||||||
|
data['CreatedOn'] = this.createdOn;
|
||||||
|
data['FirstName'] = this.firstName;
|
||||||
|
data['MiddleName'] = this.middleName;
|
||||||
|
data['LastName'] = this.lastName;
|
||||||
|
data['FirstNameN'] = this.firstNameN;
|
||||||
|
data['MiddleNameN'] = this.middleNameN;
|
||||||
|
data['LastNameN'] = this.lastNameN;
|
||||||
|
data['Gender'] = this.gender;
|
||||||
|
data['DateofBirth'] = this.dateofBirth;
|
||||||
|
data['CompanionFirstName'] = this.companionFirstName;
|
||||||
|
data['CompanionMiddleName'] = this.companionMiddleName;
|
||||||
|
data['CompanionLastName'] = this.companionLastName;
|
||||||
|
data['CompanionFirstNameN'] = this.companionFirstNameN;
|
||||||
|
data['CompanionMiddleNameN'] = this.companionMiddleNameN;
|
||||||
|
data['CompanionLastNameN'] = this.companionLastNameN;
|
||||||
|
data['CompanionID'] = this.companionID;
|
||||||
|
data['CompanionGender'] = this.companionGender;
|
||||||
|
data['IsHasCompanion'] = this.isHasCompanion;
|
||||||
|
data['BuildingID'] = this.buildingID;
|
||||||
|
data['FloorID'] = this.floorID;
|
||||||
|
data['NursingStationID'] = this.nursingStationID;
|
||||||
|
data['DietType'] = this.dietType;
|
||||||
|
data['DietTypeDateCahnged'] = this.dietTypeDateCahnged;
|
||||||
|
data['DietTypeDescription'] = this.dietTypeDescription;
|
||||||
|
data['DietTypeDescriptionN'] = this.dietTypeDescriptionN;
|
||||||
|
data['AllergyDiseaseDateCahnged'] = this.allergyDiseaseDateCahnged;
|
||||||
|
data['AllergyDiseaseChecked'] = this.allergyDiseaseChecked;
|
||||||
|
data['DoctorRemarks'] = this.doctorRemarks;
|
||||||
|
data['AllergyRemarks'] = this.allergyRemarks;
|
||||||
|
data['Age'] = this.age;
|
||||||
|
data['Allergies'] = this.allergies;
|
||||||
|
data['CompanionFullName'] = this.companionFullName;
|
||||||
|
data['DietTypeChanged'] = this.dietTypeChanged;
|
||||||
|
data['DietTypeDateCahnged_Date'] = this.dietTypeDateCahngedDate;
|
||||||
|
data['GenderDescription'] = this.genderDescription;
|
||||||
|
data['GenderImageUrl'] = this.genderImageUrl;
|
||||||
|
data['HasAllergy'] = this.hasAllergy;
|
||||||
|
data['IsNewAdmitted'] = this.isNewAdmitted;
|
||||||
|
data['PatientFullName'] = this.patientFullName;
|
||||||
|
data['allergyRemark'] = this.allergyRemark;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue