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 PatchAssessmentReqModel {
|
|
int patientMRN;
|
|
int appointmentNo;
|
|
int episodeID;
|
|
String icdcode10Id;
|
|
String prevIcdCode10ID;
|
|
int conditionId;
|
|
int diagnosisTypeId;
|
|
bool complexDiagnosis;
|
|
String remarks;
|
|
|
|
PatchAssessmentReqModel(
|
|
{this.patientMRN,
|
|
this.appointmentNo,
|
|
this.episodeID,
|
|
this.icdcode10Id,
|
|
this.prevIcdCode10ID,
|
|
this.conditionId,
|
|
this.diagnosisTypeId,
|
|
this.complexDiagnosis,
|
|
this.remarks});
|
|
|
|
PatchAssessmentReqModel.fromJson(Map<String, dynamic> json) {
|
|
patientMRN = json['PatientMRN'];
|
|
appointmentNo = json['AppointmentNo'];
|
|
episodeID = json['EpisodeID'];
|
|
icdcode10Id = json['Icdcode10Id'];
|
|
prevIcdCode10ID = json['PrevIcdCode10ID'];
|
|
conditionId = json['ConditionId'];
|
|
diagnosisTypeId = json['DiagnosisTypeId'];
|
|
complexDiagnosis = json['ComplexDiagnosis'];
|
|
remarks = json['Remarks'];
|
|
}
|
|
|
|
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['Icdcode10Id'] = this.icdcode10Id;
|
|
data['PrevIcdCode10ID'] = this.prevIcdCode10ID;
|
|
data['ConditionId'] = this.conditionId;
|
|
data['DiagnosisTypeId'] = this.diagnosisTypeId;
|
|
data['ComplexDiagnosis'] = this.complexDiagnosis;
|
|
data['Remarks'] = this.remarks;
|
|
return data;
|
|
}
|
|
}
|