|
|
|
|
@ -9,6 +9,7 @@ class PatientSearchRequestModel {
|
|
|
|
|
String from;
|
|
|
|
|
String to;
|
|
|
|
|
int searchType;
|
|
|
|
|
int projectID;
|
|
|
|
|
String mobileNo;
|
|
|
|
|
String identificationNo;
|
|
|
|
|
int nursingStationID;
|
|
|
|
|
@ -28,7 +29,7 @@ class PatientSearchRequestModel {
|
|
|
|
|
this.from = "0",
|
|
|
|
|
this.to = "0",
|
|
|
|
|
this.clinicID,
|
|
|
|
|
this.nursingStationID = 0});
|
|
|
|
|
this.nursingStationID = 0,this.projectID=0});
|
|
|
|
|
|
|
|
|
|
PatientSearchRequestModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
doctorID = json['DoctorID'];
|
|
|
|
|
@ -45,11 +46,12 @@ class PatientSearchRequestModel {
|
|
|
|
|
identificationNo = json['IdentificationNo'];
|
|
|
|
|
nursingStationID = json['NursingStationID'];
|
|
|
|
|
clinicID = json['ClinicID'];
|
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
|
data['DoctorID'] = this.doctorID;
|
|
|
|
|
data['DoctorID'] = 0;
|
|
|
|
|
data['FirstName'] = this.firstName;
|
|
|
|
|
data['MiddleName'] = this.middleName;
|
|
|
|
|
data['LastName'] = this.lastName;
|
|
|
|
|
@ -63,7 +65,7 @@ class PatientSearchRequestModel {
|
|
|
|
|
data['IdentificationNo'] = this.identificationNo;
|
|
|
|
|
data['NursingStationID'] = this.nursingStationID;
|
|
|
|
|
data['ClinicID'] = this.clinicID;
|
|
|
|
|
data['ProjectID'] = 0;
|
|
|
|
|
data['ProjectID'] =this.projectID;
|
|
|
|
|
return data;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|