|
|
|
|
@ -8,17 +8,19 @@ class PostChiefComplaintRequestModel {
|
|
|
|
|
bool ispregnant;
|
|
|
|
|
bool isLactation;
|
|
|
|
|
int numberOfWeeks;
|
|
|
|
|
dynamic doctorID;
|
|
|
|
|
|
|
|
|
|
PostChiefComplaintRequestModel(
|
|
|
|
|
{this.appointmentNo,
|
|
|
|
|
this.episodeID,
|
|
|
|
|
this.patientMRN,
|
|
|
|
|
this.chiefComplaint,
|
|
|
|
|
this.hopi,
|
|
|
|
|
this.currentMedication,
|
|
|
|
|
this.ispregnant,
|
|
|
|
|
this.isLactation,
|
|
|
|
|
this.numberOfWeeks});
|
|
|
|
|
this.episodeID,
|
|
|
|
|
this.patientMRN,
|
|
|
|
|
this.chiefComplaint,
|
|
|
|
|
this.hopi,
|
|
|
|
|
this.currentMedication,
|
|
|
|
|
this.ispregnant,
|
|
|
|
|
this.isLactation,
|
|
|
|
|
this.doctorID,
|
|
|
|
|
this.numberOfWeeks});
|
|
|
|
|
|
|
|
|
|
PostChiefComplaintRequestModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
appointmentNo = json['AppointmentNo'];
|
|
|
|
|
@ -30,6 +32,7 @@ class PostChiefComplaintRequestModel {
|
|
|
|
|
ispregnant = json['ispregnant'];
|
|
|
|
|
isLactation = json['isLactation'];
|
|
|
|
|
numberOfWeeks = json['numberOfWeeks'];
|
|
|
|
|
doctorID = json['DoctorID'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
@ -43,6 +46,8 @@ class PostChiefComplaintRequestModel {
|
|
|
|
|
data['ispregnant'] = this.ispregnant;
|
|
|
|
|
data['isLactation'] = this.isLactation;
|
|
|
|
|
data['numberOfWeeks'] = this.numberOfWeeks;
|
|
|
|
|
data['DoctorID'] = this.doctorID;
|
|
|
|
|
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|