update progress_note
parent
0909879ccf
commit
f2011301c6
@ -0,0 +1,92 @@
|
||||
class NoteModel {
|
||||
String setupID;
|
||||
int projectID;
|
||||
int patientID;
|
||||
int patientType;
|
||||
String admissionNo;
|
||||
int lineItemNo;
|
||||
int visitType;
|
||||
String notes;
|
||||
String assessmentDate;
|
||||
String visitTime;
|
||||
int status;
|
||||
String nursingRemarks;
|
||||
String createdOn;
|
||||
String editedOn;
|
||||
int createdBy;
|
||||
int admissionClinicID;
|
||||
String admissionClinicName;
|
||||
Null doctorClinicName;
|
||||
String doctorName;
|
||||
String visitTypeDesc;
|
||||
|
||||
NoteModel(
|
||||
{this.setupID,
|
||||
this.projectID,
|
||||
this.patientID,
|
||||
this.patientType,
|
||||
this.admissionNo,
|
||||
this.lineItemNo,
|
||||
this.visitType,
|
||||
this.notes,
|
||||
this.assessmentDate,
|
||||
this.visitTime,
|
||||
this.status,
|
||||
this.nursingRemarks,
|
||||
this.createdOn,
|
||||
this.editedOn,
|
||||
this.createdBy,
|
||||
this.admissionClinicID,
|
||||
this.admissionClinicName,
|
||||
this.doctorClinicName,
|
||||
this.doctorName,
|
||||
this.visitTypeDesc});
|
||||
|
||||
NoteModel.fromJson(Map<String, dynamic> json) {
|
||||
setupID = json['SetupID'];
|
||||
projectID = json['ProjectID'];
|
||||
patientID = json['PatientID'];
|
||||
patientType = json['PatientType'];
|
||||
admissionNo = json['AdmissionNo'];
|
||||
lineItemNo = json['LineItemNo'];
|
||||
visitType = json['VisitType'];
|
||||
notes = json['Notes'];
|
||||
assessmentDate = json['AssessmentDate'];
|
||||
visitTime = json['VisitTime'];
|
||||
status = json['Status'];
|
||||
nursingRemarks = json['NursingRemarks'];
|
||||
createdOn = json['CreatedOn'];
|
||||
editedOn = json['EditedOn'];
|
||||
createdBy = json['CreatedBy'];
|
||||
admissionClinicID = json['AdmissionClinicID'];
|
||||
admissionClinicName = json['AdmissionClinicName'];
|
||||
doctorClinicName = json['DoctorClinicName'];
|
||||
doctorName = json['DoctorName'];
|
||||
visitTypeDesc = json['VisitTypeDesc'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['SetupID'] = this.setupID;
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['PatientID'] = this.patientID;
|
||||
data['PatientType'] = this.patientType;
|
||||
data['AdmissionNo'] = this.admissionNo;
|
||||
data['LineItemNo'] = this.lineItemNo;
|
||||
data['VisitType'] = this.visitType;
|
||||
data['Notes'] = this.notes;
|
||||
data['AssessmentDate'] = this.assessmentDate;
|
||||
data['VisitTime'] = this.visitTime;
|
||||
data['Status'] = this.status;
|
||||
data['NursingRemarks'] = this.nursingRemarks;
|
||||
data['CreatedOn'] = this.createdOn;
|
||||
data['EditedOn'] = this.editedOn;
|
||||
data['CreatedBy'] = this.createdBy;
|
||||
data['AdmissionClinicID'] = this.admissionClinicID;
|
||||
data['AdmissionClinicName'] = this.admissionClinicName;
|
||||
data['DoctorClinicName'] = this.doctorClinicName;
|
||||
data['DoctorName'] = this.doctorName;
|
||||
data['VisitTypeDesc'] = this.visitTypeDesc;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,80 @@
|
||||
class UpdateNoteReqModel {
|
||||
int projectID;
|
||||
int createdBy;
|
||||
int admissionNo;
|
||||
int lineItemNo;
|
||||
String notes;
|
||||
bool verifiedNote;
|
||||
bool cancelledNote;
|
||||
int languageID;
|
||||
String stamp;
|
||||
String iPAdress;
|
||||
double versionID;
|
||||
int channel;
|
||||
String tokenID;
|
||||
String sessionID;
|
||||
bool isLoginForDoctorApp;
|
||||
bool patientOutSA;
|
||||
int patientTypeID;
|
||||
|
||||
UpdateNoteReqModel(
|
||||
{this.projectID,
|
||||
this.createdBy,
|
||||
this.admissionNo,
|
||||
this.lineItemNo,
|
||||
this.notes,
|
||||
this.verifiedNote,
|
||||
this.cancelledNote,
|
||||
this.languageID,
|
||||
this.stamp,
|
||||
this.iPAdress,
|
||||
this.versionID,
|
||||
this.channel,
|
||||
this.tokenID,
|
||||
this.sessionID,
|
||||
this.isLoginForDoctorApp,
|
||||
this.patientOutSA,
|
||||
this.patientTypeID});
|
||||
|
||||
UpdateNoteReqModel.fromJson(Map<String, dynamic> json) {
|
||||
projectID = json['ProjectID'];
|
||||
createdBy = json['CreatedBy'];
|
||||
admissionNo = json['AdmissionNo'];
|
||||
lineItemNo = json['LineItemNo'];
|
||||
notes = json['Notes'];
|
||||
verifiedNote = json['VerifiedNote'];
|
||||
cancelledNote = json['CancelledNote'];
|
||||
languageID = json['LanguageID'];
|
||||
stamp = json['stamp'];
|
||||
iPAdress = json['IPAdress'];
|
||||
versionID = json['VersionID'];
|
||||
channel = json['Channel'];
|
||||
tokenID = json['TokenID'];
|
||||
sessionID = json['SessionID'];
|
||||
isLoginForDoctorApp = json['IsLoginForDoctorApp'];
|
||||
patientOutSA = json['PatientOutSA'];
|
||||
patientTypeID = json['PatientTypeID'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['ProjectID'] = this.projectID;
|
||||
data['CreatedBy'] = this.createdBy;
|
||||
data['AdmissionNo'] = this.admissionNo;
|
||||
data['LineItemNo'] = this.lineItemNo;
|
||||
data['Notes'] = this.notes;
|
||||
data['VerifiedNote'] = this.verifiedNote;
|
||||
data['CancelledNote'] = this.cancelledNote;
|
||||
data['LanguageID'] = this.languageID;
|
||||
data['stamp'] = this.stamp;
|
||||
data['IPAdress'] = this.iPAdress;
|
||||
data['VersionID'] = this.versionID;
|
||||
data['Channel'] = this.channel;
|
||||
data['TokenID'] = this.tokenID;
|
||||
data['SessionID'] = this.sessionID;
|
||||
data['IsLoginForDoctorApp'] = this.isLoginForDoctorApp;
|
||||
data['PatientOutSA'] = this.patientOutSA;
|
||||
data['PatientTypeID'] = this.patientTypeID;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue