Finish Update Subjective Page
parent
39970fe1a8
commit
c92a848851
@ -0,0 +1,18 @@
|
|||||||
|
class GetHistoryReqModel {
|
||||||
|
int patientMRN;
|
||||||
|
int historyType;
|
||||||
|
|
||||||
|
GetHistoryReqModel({this.patientMRN, this.historyType});
|
||||||
|
|
||||||
|
GetHistoryReqModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
patientMRN = json['PatientMRN'];
|
||||||
|
historyType = json['HistoryType'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['PatientMRN'] = this.patientMRN;
|
||||||
|
data['HistoryType'] = this.historyType;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -0,0 +1,40 @@
|
|||||||
|
class GetHistoryResModel {
|
||||||
|
int appointmentNo;
|
||||||
|
int episodeId;
|
||||||
|
int historyId;
|
||||||
|
int historyType;
|
||||||
|
bool isChecked;
|
||||||
|
int patientMRN;
|
||||||
|
String remarks;
|
||||||
|
|
||||||
|
GetHistoryResModel(
|
||||||
|
{this.appointmentNo,
|
||||||
|
this.episodeId,
|
||||||
|
this.historyId,
|
||||||
|
this.historyType,
|
||||||
|
this.isChecked,
|
||||||
|
this.patientMRN,
|
||||||
|
this.remarks});
|
||||||
|
|
||||||
|
GetHistoryResModel.fromJson(Map<String, dynamic> json) {
|
||||||
|
appointmentNo = json['appointmentNo'];
|
||||||
|
episodeId = json['episodeId'];
|
||||||
|
historyId = json['historyId'];
|
||||||
|
historyType = json['historyType'];
|
||||||
|
isChecked = json['isChecked'];
|
||||||
|
patientMRN = json['patientMRN'];
|
||||||
|
remarks = json['remarks'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['appointmentNo'] = this.appointmentNo;
|
||||||
|
data['episodeId'] = this.episodeId;
|
||||||
|
data['historyId'] = this.historyId;
|
||||||
|
data['historyType'] = this.historyType;
|
||||||
|
data['isChecked'] = this.isChecked;
|
||||||
|
data['patientMRN'] = this.patientMRN;
|
||||||
|
data['remarks'] = this.remarks;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue