Merge branch 'soap_update' into 'development'
Soap update See merge request Cloud_Solution/doctor_app_flutter!212merge-requests/214/merge
commit
ed1107ff94
@ -0,0 +1,40 @@
|
|||||||
|
class GetAssessmentReqModel {
|
||||||
|
int patientMRN;
|
||||||
|
int appointmentNo;
|
||||||
|
String episodeID;
|
||||||
|
String from;
|
||||||
|
String to;
|
||||||
|
int clinicID;
|
||||||
|
int doctorID;
|
||||||
|
|
||||||
|
GetAssessmentReqModel(
|
||||||
|
{this.patientMRN,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.episodeID,
|
||||||
|
this.from,
|
||||||
|
this.to,
|
||||||
|
this.clinicID,
|
||||||
|
this.doctorID});
|
||||||
|
|
||||||
|
GetAssessmentReqModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
patientMRN = json['PatientMRN'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
episodeID = json['EpisodeID'];
|
||||||
|
from = json['From'];
|
||||||
|
to = json['To'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['PatientMRN'] = this.patientMRN;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['EpisodeID'] = this.episodeID;
|
||||||
|
data['From'] = this.from;
|
||||||
|
data['To'] = this.to;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,72 @@
|
|||||||
|
class GetAssessmentResModel {
|
||||||
|
int appointmentNo;
|
||||||
|
String asciiDesc;
|
||||||
|
String clinicDescription;
|
||||||
|
int clinicID;
|
||||||
|
bool complexDiagnosis;
|
||||||
|
int conditionID;
|
||||||
|
int createdBy;
|
||||||
|
String createdOn;
|
||||||
|
int diagnosisTypeID;
|
||||||
|
int doctorID;
|
||||||
|
String doctorName;
|
||||||
|
int episodeId;
|
||||||
|
String icdCode10ID;
|
||||||
|
int patientMRN;
|
||||||
|
String remarks;
|
||||||
|
|
||||||
|
GetAssessmentResModel(
|
||||||
|
{this.appointmentNo,
|
||||||
|
this.asciiDesc,
|
||||||
|
this.clinicDescription,
|
||||||
|
this.clinicID,
|
||||||
|
this.complexDiagnosis,
|
||||||
|
this.conditionID,
|
||||||
|
this.createdBy,
|
||||||
|
this.createdOn,
|
||||||
|
this.diagnosisTypeID,
|
||||||
|
this.doctorID,
|
||||||
|
this.doctorName,
|
||||||
|
this.episodeId,
|
||||||
|
this.icdCode10ID,
|
||||||
|
this.patientMRN,
|
||||||
|
this.remarks});
|
||||||
|
|
||||||
|
GetAssessmentResModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
appointmentNo = json['appointmentNo'];
|
||||||
|
asciiDesc = json['ascii_Desc'];
|
||||||
|
clinicDescription = json['clinicDescription'];
|
||||||
|
clinicID = json['clinicID'];
|
||||||
|
complexDiagnosis = json['complexDiagnosis'];
|
||||||
|
conditionID = json['conditionID'];
|
||||||
|
createdBy = json['createdBy'];
|
||||||
|
createdOn = json['createdOn'];
|
||||||
|
diagnosisTypeID = json['diagnosisTypeID'];
|
||||||
|
doctorID = json['doctorID'];
|
||||||
|
doctorName = json['doctorName'];
|
||||||
|
episodeId = json['episodeId'];
|
||||||
|
icdCode10ID = json['icdCode10ID'];
|
||||||
|
patientMRN = json['patientMRN'];
|
||||||
|
remarks = json['remarks'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['appointmentNo'] = this.appointmentNo;
|
||||||
|
data['ascii_Desc'] = this.asciiDesc;
|
||||||
|
data['clinicDescription'] = this.clinicDescription;
|
||||||
|
data['clinicID'] = this.clinicID;
|
||||||
|
data['complexDiagnosis'] = this.complexDiagnosis;
|
||||||
|
data['conditionID'] = this.conditionID;
|
||||||
|
data['createdBy'] = this.createdBy;
|
||||||
|
data['createdOn'] = this.createdOn;
|
||||||
|
data['diagnosisTypeID'] = this.diagnosisTypeID;
|
||||||
|
data['doctorID'] = this.doctorID;
|
||||||
|
data['doctorName'] = this.doctorName;
|
||||||
|
data['episodeId'] = this.episodeId;
|
||||||
|
data['icdCode10ID'] = this.icdCode10ID;
|
||||||
|
data['patientMRN'] = this.patientMRN;
|
||||||
|
data['remarks'] = this.remarks;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,18 +1,45 @@
|
|||||||
class GetHistoryReqModel {
|
class GetHistoryReqModel {
|
||||||
int patientMRN;
|
int patientMRN;
|
||||||
int historyType;
|
int historyType;
|
||||||
|
String episodeID;
|
||||||
|
String from;
|
||||||
|
String to;
|
||||||
|
int clinicID;
|
||||||
|
int doctorID;
|
||||||
|
int appointmentNo;
|
||||||
|
|
||||||
GetHistoryReqModel({this.patientMRN, this.historyType});
|
GetHistoryReqModel(
|
||||||
|
{this.patientMRN,
|
||||||
|
this.historyType,
|
||||||
|
this.episodeID,
|
||||||
|
this.from,
|
||||||
|
this.to,
|
||||||
|
this.clinicID,
|
||||||
|
this.doctorID,
|
||||||
|
this.appointmentNo});
|
||||||
|
|
||||||
GetHistoryReqModel.fromJson(Map<String, dynamic> json) {
|
GetHistoryReqModel.fromJson(Map<String, dynamic> json) {
|
||||||
patientMRN = json['PatientMRN'];
|
patientMRN = json['PatientMRN'];
|
||||||
historyType = json['HistoryType'];
|
historyType = json['HistoryType'];
|
||||||
|
episodeID = json['EpisodeID'];
|
||||||
|
from = json['From'];
|
||||||
|
to = json['To'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
data['PatientMRN'] = this.patientMRN;
|
data['PatientMRN'] = this.patientMRN;
|
||||||
data['HistoryType'] = this.historyType;
|
data['HistoryType'] = this.historyType;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['EpisodeID'] = this.episodeID;
|
||||||
|
data['From'] = this.from;
|
||||||
|
data['To'] = this.to;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue