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.
49 lines
1.4 KiB
Dart
49 lines
1.4 KiB
Dart
class PostChiefComplaintRequestModel {
|
|
int appointmentNo;
|
|
int episodeID;
|
|
int patientMRN;
|
|
String chiefComplaint;
|
|
String hopi;
|
|
String currentMedication;
|
|
bool ispregnant;
|
|
bool isLactation;
|
|
int numberOfWeeks;
|
|
|
|
PostChiefComplaintRequestModel(
|
|
{this.appointmentNo,
|
|
this.episodeID,
|
|
this.patientMRN,
|
|
this.chiefComplaint,
|
|
this.hopi,
|
|
this.currentMedication,
|
|
this.ispregnant,
|
|
this.isLactation,
|
|
this.numberOfWeeks});
|
|
|
|
PostChiefComplaintRequestModel.fromJson(Map<String, dynamic> json) {
|
|
appointmentNo = json['AppointmentNo'];
|
|
episodeID = json['EpisodeID'];
|
|
patientMRN = json['PatientMRN'];
|
|
chiefComplaint = json['chiefComplaint'];
|
|
hopi = json['Hopi'];
|
|
currentMedication = json['CurrentMedication'];
|
|
ispregnant = json['ispregnant'];
|
|
isLactation = json['isLactation'];
|
|
numberOfWeeks = json['numberOfWeeks'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['AppointmentNo'] = this.appointmentNo;
|
|
data['EpisodeID'] = this.episodeID;
|
|
data['PatientMRN'] = this.patientMRN;
|
|
data['chiefComplaint'] = this.chiefComplaint;
|
|
data['Hopi'] = this.hopi;
|
|
data['CurrentMedication'] = this.currentMedication;
|
|
data['ispregnant'] = this.ispregnant;
|
|
data['isLactation'] = this.isLactation;
|
|
data['numberOfWeeks'] = this.numberOfWeeks;
|
|
return data;
|
|
}
|
|
}
|