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.
RSGDoctorApp/lib/models/pharmacy-intervention-model/new_medication_res_model.dart

100 lines
2.9 KiB
Dart

class InterventionMedicationResModel {
String cS;
String iHR;
String setupID;
int projectID;
int accessLevel;
int patientID;
String patientName;
String description;
int admissionNo;
int orderNo;
int prescriptionNo;
int lineItemNo;
int itemID;
String medication;
String doctorComments;
String startDatetime;
String stopDatetime;
int status;
int createdBy;
int authorizedby;
Null pharmacyRemarks;
String statusDescription;
InterventionMedicationResModel(
{this.cS,
this.iHR,
this.setupID,
this.projectID,
this.accessLevel,
this.patientID,
this.patientName,
this.description,
this.admissionNo,
this.orderNo,
this.prescriptionNo,
this.lineItemNo,
this.itemID,
this.medication,
this.doctorComments,
this.startDatetime,
this.stopDatetime,
this.status,
this.createdBy,
this.authorizedby,
this.pharmacyRemarks,
this.statusDescription});
InterventionMedicationResModel.fromJson(Map<String, dynamic> json) {
cS = json['CS'];
iHR = json['IHR'];
setupID = json['SetupID'];
projectID = json['ProjectID'];
accessLevel = json['AccessLevel'];
patientID = json['PatientID'];
patientName = json['PatientName'];
description = json['Description'];
admissionNo = json['AdmissionNo'];
orderNo = json['OrderNo'];
prescriptionNo = json['PrescriptionNo'];
lineItemNo = json['LineItemNo'];
itemID = json['ItemID'];
medication = json['Medication'];
doctorComments = json['DoctorComments'];
startDatetime = json['StartDatetime'];
stopDatetime = json['StopDatetime'];
status = json['Status'];
createdBy = json['CreatedBy'];
authorizedby = json['Authorizedby'];
pharmacyRemarks = json['PharmacyRemarks'];
statusDescription = json['StatusDescription'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['CS'] = this.cS;
data['IHR'] = this.iHR;
data['SetupID'] = this.setupID;
data['ProjectID'] = this.projectID;
data['AccessLevel'] = this.accessLevel;
data['PatientID'] = this.patientID;
data['PatientName'] = this.patientName;
data['Description'] = this.description;
data['AdmissionNo'] = this.admissionNo;
data['OrderNo'] = this.orderNo;
data['PrescriptionNo'] = this.prescriptionNo;
data['LineItemNo'] = this.lineItemNo;
data['ItemID'] = this.itemID;
data['Medication'] = this.medication;
data['DoctorComments'] = this.doctorComments;
data['StartDatetime'] = this.startDatetime;
data['StopDatetime'] = this.stopDatetime;
data['Status'] = this.status;
data['CreatedBy'] = this.createdBy;
data['Authorizedby'] = this.authorizedby;
data['PharmacyRemarks'] = this.pharmacyRemarks;
data['StatusDescription'] = this.statusDescription;
return data;
}
}