medication for in patient
parent
41ed593707
commit
b461af1be2
@ -0,0 +1,136 @@
|
||||
class GetMedicationForInPatientModel {
|
||||
String setupID;
|
||||
int projectID;
|
||||
int admissionNo;
|
||||
int patientID;
|
||||
int orderNo;
|
||||
int prescriptionNo;
|
||||
int lineItemNo;
|
||||
String prescriptionDatetime;
|
||||
int itemID;
|
||||
int directionID;
|
||||
int refillID;
|
||||
String dose;
|
||||
int unitofMeasurement;
|
||||
String startDatetime;
|
||||
String stopDatetime;
|
||||
int noOfDoses;
|
||||
int routeId;
|
||||
String comments;
|
||||
int reviewedPharmacist;
|
||||
dynamic reviewedPharmacistDatetime;
|
||||
dynamic discountinueDatetime;
|
||||
dynamic rescheduleDatetime;
|
||||
int status;
|
||||
String statusDescription;
|
||||
int createdBy;
|
||||
String createdOn;
|
||||
dynamic editedBy;
|
||||
dynamic editedOn;
|
||||
dynamic strength;
|
||||
String pHRItemDescription;
|
||||
String pHRItemDescriptionN;
|
||||
|
||||
GetMedicationForInPatientModel(
|
||||
{this.setupID,
|
||||
this.projectID,
|
||||
this.admissionNo,
|
||||
this.patientID,
|
||||
this.orderNo,
|
||||
this.prescriptionNo,
|
||||
this.lineItemNo,
|
||||
this.prescriptionDatetime,
|
||||
this.itemID,
|
||||
this.directionID,
|
||||
this.refillID,
|
||||
this.dose,
|
||||
this.unitofMeasurement,
|
||||
this.startDatetime,
|
||||
this.stopDatetime,
|
||||
this.noOfDoses,
|
||||
this.routeId,
|
||||
this.comments,
|
||||
this.reviewedPharmacist,
|
||||
this.reviewedPharmacistDatetime,
|
||||
this.discountinueDatetime,
|
||||
this.rescheduleDatetime,
|
||||
this.status,
|
||||
this.statusDescription,
|
||||
this.createdBy,
|
||||
this.createdOn,
|
||||
this.editedBy,
|
||||
this.editedOn,
|
||||
this.strength,
|
||||
this.pHRItemDescription,
|
||||
this.pHRItemDescriptionN});
|
||||
|
||||
GetMedicationForInPatientModel.fromJson(Map<String, dynamic> json) {
|
||||
setupID = json['SetupID'];
|
||||
projectID = json['ProjectID'];
|
||||
admissionNo = json['AdmissionNo'];
|
||||
patientID = json['PatientID'];
|
||||
orderNo = json['OrderNo'];
|
||||
prescriptionNo = json['PrescriptionNo'];
|
||||
lineItemNo = json['LineItemNo'];
|
||||
prescriptionDatetime = json['PrescriptionDatetime'];
|
||||
itemID = json['ItemID'];
|
||||
directionID = json['DirectionID'];
|
||||
refillID = json['RefillID'];
|
||||
dose = json['Dose'];
|
||||
unitofMeasurement = json['UnitofMeasurement'];
|
||||
startDatetime = json['StartDatetime'];
|
||||
stopDatetime = json['StopDatetime'];
|
||||
noOfDoses = json['NoOfDoses'];
|
||||
routeId = json['RouteId'];
|
||||
comments = json['Comments'];
|
||||
reviewedPharmacist = json['ReviewedPharmacist'];
|
||||
reviewedPharmacistDatetime = json['ReviewedPharmacistDatetime'];
|
||||
discountinueDatetime = json['DiscountinueDatetime'];
|
||||
rescheduleDatetime = json['RescheduleDatetime'];
|
||||
status = json['Status'];
|
||||
statusDescription = json['StatusDescription'];
|
||||
createdBy = json['CreatedBy'];
|
||||
createdOn = json['CreatedOn'];
|
||||
editedBy = json['EditedBy'];
|
||||
editedOn = json['EditedOn'];
|
||||
strength = json['Strength'];
|
||||
pHRItemDescription = json['PHRItemDescription'];
|
||||
pHRItemDescriptionN = json['PHRItemDescriptionN'];
|
||||
}
|
||||
|
||||
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['PatientID'] = this.patientID;
|
||||
data['OrderNo'] = this.orderNo;
|
||||
data['PrescriptionNo'] = this.prescriptionNo;
|
||||
data['LineItemNo'] = this.lineItemNo;
|
||||
data['PrescriptionDatetime'] = this.prescriptionDatetime;
|
||||
data['ItemID'] = this.itemID;
|
||||
data['DirectionID'] = this.directionID;
|
||||
data['RefillID'] = this.refillID;
|
||||
data['Dose'] = this.dose;
|
||||
data['UnitofMeasurement'] = this.unitofMeasurement;
|
||||
data['StartDatetime'] = this.startDatetime;
|
||||
data['StopDatetime'] = this.stopDatetime;
|
||||
data['NoOfDoses'] = this.noOfDoses;
|
||||
data['RouteId'] = this.routeId;
|
||||
data['Comments'] = this.comments;
|
||||
data['ReviewedPharmacist'] = this.reviewedPharmacist;
|
||||
data['ReviewedPharmacistDatetime'] = this.reviewedPharmacistDatetime;
|
||||
data['DiscountinueDatetime'] = this.discountinueDatetime;
|
||||
data['RescheduleDatetime'] = this.rescheduleDatetime;
|
||||
data['Status'] = this.status;
|
||||
data['StatusDescription'] = this.statusDescription;
|
||||
data['CreatedBy'] = this.createdBy;
|
||||
data['CreatedOn'] = this.createdOn;
|
||||
data['EditedBy'] = this.editedBy;
|
||||
data['EditedOn'] = this.editedOn;
|
||||
data['Strength'] = this.strength;
|
||||
data['PHRItemDescription'] = this.pHRItemDescription;
|
||||
data['PHRItemDescriptionN'] = this.pHRItemDescriptionN;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,60 @@
|
||||
class GetMedicationForInPatientRequestModel {
|
||||
bool isDentalAllowedBackend;
|
||||
double versionID;
|
||||
int channel;
|
||||
int languageID;
|
||||
String iPAdress;
|
||||
String generalid;
|
||||
int deviceTypeID;
|
||||
String tokenID;
|
||||
int patientID;
|
||||
int admissionNo;
|
||||
String sessionID;
|
||||
int projectID;
|
||||
|
||||
GetMedicationForInPatientRequestModel(
|
||||
{this.isDentalAllowedBackend,
|
||||
this.versionID,
|
||||
this.channel,
|
||||
this.languageID,
|
||||
this.iPAdress,
|
||||
this.generalid,
|
||||
this.deviceTypeID,
|
||||
this.tokenID,
|
||||
this.patientID,
|
||||
this.admissionNo,
|
||||
this.sessionID,
|
||||
this.projectID});
|
||||
|
||||
GetMedicationForInPatientRequestModel.fromJson(Map<String, dynamic> json) {
|
||||
isDentalAllowedBackend = json['isDentalAllowedBackend'];
|
||||
versionID = json['VersionID'];
|
||||
channel = json['Channel'];
|
||||
languageID = json['LanguageID'];
|
||||
iPAdress = json['IPAdress'];
|
||||
generalid = json['generalid'];
|
||||
deviceTypeID = json['DeviceTypeID'];
|
||||
tokenID = json['TokenID'];
|
||||
patientID = json['PatientID'];
|
||||
admissionNo = json['AdmissionNo'];
|
||||
sessionID = json['SessionID'];
|
||||
projectID = json['ProjectID'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
|
||||
data['VersionID'] = this.versionID;
|
||||
data['Channel'] = this.channel;
|
||||
data['LanguageID'] = this.languageID;
|
||||
data['IPAdress'] = this.iPAdress;
|
||||
data['generalid'] = this.generalid;
|
||||
data['DeviceTypeID'] = this.deviceTypeID;
|
||||
data['TokenID'] = this.tokenID;
|
||||
data['PatientID'] = this.patientID;
|
||||
data['AdmissionNo'] = this.admissionNo;
|
||||
data['SessionID'] = this.sessionID;
|
||||
data['ProjectID'] = this.projectID;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue