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.
61 lines
1.7 KiB
Dart
61 lines
1.7 KiB
Dart
class GetChiefComplaintResModel {
|
|
int appointmentNo;
|
|
String ccdate;
|
|
String chiefComplaint;
|
|
String clinicDescription;
|
|
int clinicID;
|
|
String currentMedication;
|
|
int doctorID;
|
|
String doctorName;
|
|
int episodeId;
|
|
String hopi;
|
|
int patientMRN;
|
|
int status;
|
|
|
|
GetChiefComplaintResModel(
|
|
{this.appointmentNo,
|
|
this.ccdate,
|
|
this.chiefComplaint,
|
|
this.clinicDescription,
|
|
this.clinicID,
|
|
this.currentMedication,
|
|
this.doctorID,
|
|
this.doctorName,
|
|
this.episodeId,
|
|
this.hopi,
|
|
this.patientMRN,
|
|
this.status});
|
|
|
|
GetChiefComplaintResModel.fromJson(Map<String, dynamic> json) {
|
|
appointmentNo = json['appointmentNo'];
|
|
ccdate = json['ccdate'];
|
|
chiefComplaint = json['chiefComplaint'];
|
|
clinicDescription = json['clinicDescription'];
|
|
clinicID = json['clinicID'];
|
|
currentMedication = json['currentMedication'];
|
|
doctorID = json['doctorID'];
|
|
doctorName = json['doctorName'];
|
|
episodeId = json['episodeId'];
|
|
hopi = json['hopi'];
|
|
patientMRN = json['patientMRN'];
|
|
status = json['status'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['appointmentNo'] = this.appointmentNo;
|
|
data['ccdate'] = this.ccdate;
|
|
data['chiefComplaint'] = this.chiefComplaint;
|
|
data['clinicDescription'] = this.clinicDescription;
|
|
data['clinicID'] = this.clinicID;
|
|
data['currentMedication'] = this.currentMedication;
|
|
data['doctorID'] = this.doctorID;
|
|
data['doctorName'] = this.doctorName;
|
|
data['episodeId'] = this.episodeId;
|
|
data['hopi'] = this.hopi;
|
|
data['patientMRN'] = this.patientMRN;
|
|
data['status'] = this.status;
|
|
return data;
|
|
}
|
|
}
|