|
|
|
|
@ -169,6 +169,7 @@ class Consulations {
|
|
|
|
|
List<LstPhysicalExam> lstPhysicalExam;
|
|
|
|
|
List<LstProcedure> lstProcedure;
|
|
|
|
|
List<LstMedicalHistory> lstMedicalHistory;
|
|
|
|
|
List<LstCheifComplaint> lstCheifComplaint;
|
|
|
|
|
|
|
|
|
|
Consulations(
|
|
|
|
|
{this.admissionNo,
|
|
|
|
|
@ -194,7 +195,8 @@ class Consulations {
|
|
|
|
|
this.lstAssessments,
|
|
|
|
|
this.lstPhysicalExam,
|
|
|
|
|
this.lstProcedure,
|
|
|
|
|
this.lstMedicalHistory});
|
|
|
|
|
this.lstMedicalHistory,
|
|
|
|
|
this.lstCheifComplaint});
|
|
|
|
|
|
|
|
|
|
Consulations.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
admissionNo = json['AdmissionNo'];
|
|
|
|
|
@ -223,6 +225,12 @@ class Consulations {
|
|
|
|
|
lstAssessments.add(new LstAssessments.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if (json['lstCheifComplaint'] != null) {
|
|
|
|
|
lstCheifComplaint = new List<LstCheifComplaint>();
|
|
|
|
|
json['lstCheifComplaint'].forEach((v) {
|
|
|
|
|
lstCheifComplaint.add(new LstCheifComplaint.fromJson(v));
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
if (json['lstPhysicalExam'] != null) {
|
|
|
|
|
lstPhysicalExam = new List<LstPhysicalExam>();
|
|
|
|
|
json['lstPhysicalExam'].forEach((v) {
|
|
|
|
|
@ -269,6 +277,10 @@ class Consulations {
|
|
|
|
|
data['lstAssessments'] =
|
|
|
|
|
this.lstAssessments.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
if (this.lstCheifComplaint != null) {
|
|
|
|
|
data['lstCheifComplaint'] =
|
|
|
|
|
this.lstCheifComplaint.map((v) => v.toJson()).toList();
|
|
|
|
|
}
|
|
|
|
|
if (this.lstPhysicalExam != null) {
|
|
|
|
|
data['lstPhysicalExam'] =
|
|
|
|
|
this.lstPhysicalExam.map((v) => v.toJson()).toList();
|
|
|
|
|
@ -284,6 +296,67 @@ class Consulations {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class LstCheifComplaint {
|
|
|
|
|
int appointmentNo;
|
|
|
|
|
String cCDate;
|
|
|
|
|
String chiefComplaint;
|
|
|
|
|
String currentMedication;
|
|
|
|
|
int episodeID;
|
|
|
|
|
String hOPI;
|
|
|
|
|
int patientID;
|
|
|
|
|
String patientType;
|
|
|
|
|
int projectID;
|
|
|
|
|
String projectName;
|
|
|
|
|
String setupID;
|
|
|
|
|
String dispalyName;
|
|
|
|
|
|
|
|
|
|
LstCheifComplaint(
|
|
|
|
|
{this.appointmentNo,
|
|
|
|
|
this.cCDate,
|
|
|
|
|
this.chiefComplaint,
|
|
|
|
|
this.currentMedication,
|
|
|
|
|
this.episodeID,
|
|
|
|
|
this.hOPI,
|
|
|
|
|
this.patientID,
|
|
|
|
|
this.patientType,
|
|
|
|
|
this.projectID,
|
|
|
|
|
this.projectName,
|
|
|
|
|
this.setupID,
|
|
|
|
|
this.dispalyName});
|
|
|
|
|
|
|
|
|
|
LstCheifComplaint.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
appointmentNo = json['AppointmentNo'];
|
|
|
|
|
cCDate = json['CCDate'];
|
|
|
|
|
chiefComplaint = json['ChiefComplaint'];
|
|
|
|
|
currentMedication = json['CurrentMedication'];
|
|
|
|
|
episodeID = json['EpisodeID'];
|
|
|
|
|
hOPI = json['HOPI'];
|
|
|
|
|
patientID = json['PatientID'];
|
|
|
|
|
patientType = json['PatientType'];
|
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
|
projectName = json['ProjectName'];
|
|
|
|
|
setupID = json['SetupID'];
|
|
|
|
|
dispalyName = json['dispalyName'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
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['CurrentMedication'] = this.currentMedication;
|
|
|
|
|
data['EpisodeID'] = this.episodeID;
|
|
|
|
|
data['HOPI'] = this.hOPI;
|
|
|
|
|
data['PatientID'] = this.patientID;
|
|
|
|
|
data['PatientType'] = this.patientType;
|
|
|
|
|
data['ProjectID'] = this.projectID;
|
|
|
|
|
data['ProjectName'] = this.projectName;
|
|
|
|
|
data['SetupID'] = this.setupID;
|
|
|
|
|
data['dispalyName'] = this.dispalyName;
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class LstAssessments {
|
|
|
|
|
int appointmentNo;
|
|
|
|
|
String condition;
|
|
|
|
|
|