|
|
|
@ -30,6 +30,11 @@ class GetMedicationForInPatientModel {
|
|
|
|
|
dynamic strength;
|
|
|
|
|
String pHRItemDescription;
|
|
|
|
|
String pHRItemDescriptionN;
|
|
|
|
|
String doctorName;
|
|
|
|
|
String uomDescription;
|
|
|
|
|
String routeDescription;
|
|
|
|
|
String directionDescription;
|
|
|
|
|
String refillDescription;
|
|
|
|
|
|
|
|
|
|
GetMedicationForInPatientModel(
|
|
|
|
|
{this.setupID,
|
|
|
|
@ -62,11 +67,22 @@ class GetMedicationForInPatientModel {
|
|
|
|
|
this.editedOn,
|
|
|
|
|
this.strength,
|
|
|
|
|
this.pHRItemDescription,
|
|
|
|
|
this.pHRItemDescriptionN});
|
|
|
|
|
this.pHRItemDescriptionN,
|
|
|
|
|
this.doctorName,
|
|
|
|
|
this.uomDescription,
|
|
|
|
|
this.routeDescription,
|
|
|
|
|
this.directionDescription,
|
|
|
|
|
this.refillDescription});
|
|
|
|
|
|
|
|
|
|
GetMedicationForInPatientModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
setupID = json['SetupID'];
|
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
|
doctorName = json['DoctorName'];
|
|
|
|
|
refillDescription = json['RefillDescription'];
|
|
|
|
|
directionDescription = json['DirectionDescription'];
|
|
|
|
|
routeDescription = json['RouteDescription'];
|
|
|
|
|
|
|
|
|
|
uomDescription = json['UOMDescription'];
|
|
|
|
|
admissionNo = json['AdmissionNo'];
|
|
|
|
|
patientID = json['PatientID'];
|
|
|
|
|
orderNo = json['OrderNo'];
|
|
|
|
@ -101,6 +117,11 @@ class GetMedicationForInPatientModel {
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
|
data['SetupID'] = this.setupID;
|
|
|
|
|
data['DoctorName'] = this.doctorName;
|
|
|
|
|
data['RefillDescription'] = this.refillDescription;
|
|
|
|
|
data['RouteDescription'] = this.routeDescription;
|
|
|
|
|
data['DirectionDescription'] = this.directionDescription;
|
|
|
|
|
data['UOMDescription'] = this.uomDescription;
|
|
|
|
|
data['ProjectID'] = this.projectID;
|
|
|
|
|
data['AdmissionNo'] = this.admissionNo;
|
|
|
|
|
data['PatientID'] = this.patientID;
|
|
|
|
|