|
|
|
@ -57,20 +57,6 @@ class MyReferralPatientModel {
|
|
|
|
bool isDoctorLate;
|
|
|
|
bool isDoctorLate;
|
|
|
|
bool isDoctorResponse;
|
|
|
|
bool isDoctorResponse;
|
|
|
|
String nationalityFlagURL;
|
|
|
|
String nationalityFlagURL;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String nursingStationName;
|
|
|
|
String nursingStationName;
|
|
|
|
String priorityDescription;
|
|
|
|
String priorityDescription;
|
|
|
|
String referringClinicDescription;
|
|
|
|
String referringClinicDescription;
|
|
|
|
@ -84,6 +70,7 @@ class MyReferralPatientModel {
|
|
|
|
int targetDoctorID;
|
|
|
|
int targetDoctorID;
|
|
|
|
int sourceAppointmentNo;
|
|
|
|
int sourceAppointmentNo;
|
|
|
|
int targetAppointmentNo;
|
|
|
|
int targetAppointmentNo;
|
|
|
|
|
|
|
|
String remarksFromSource;
|
|
|
|
|
|
|
|
|
|
|
|
MyReferralPatientModel(
|
|
|
|
MyReferralPatientModel(
|
|
|
|
{this.rowID,
|
|
|
|
{this.rowID,
|
|
|
|
@ -146,7 +133,7 @@ class MyReferralPatientModel {
|
|
|
|
this.priorityDescription,
|
|
|
|
this.priorityDescription,
|
|
|
|
this.referringClinicDescription,
|
|
|
|
this.referringClinicDescription,
|
|
|
|
this.referringDoctorName,
|
|
|
|
this.referringDoctorName,
|
|
|
|
this.referalStatus, this.sourceSetupID, this.sourceAppointmentNo, this.sourceProjectId, this.targetProjectId, this.targetAppointmentNo, this.targetClinicID, this.targetSetupID, this.targetDoctorID});
|
|
|
|
this.referalStatus, this.sourceSetupID, this.sourceAppointmentNo, this.sourceProjectId, this.targetProjectId, this.targetAppointmentNo, this.targetClinicID, this.targetSetupID, this.targetDoctorID, this.remarksFromSource});
|
|
|
|
|
|
|
|
|
|
|
|
MyReferralPatientModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
MyReferralPatientModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
rowID = json['RowID'];
|
|
|
|
rowID = json['RowID'];
|
|
|
|
@ -230,7 +217,10 @@ class MyReferralPatientModel {
|
|
|
|
targetClinicID = json['TargetClinicID'];
|
|
|
|
targetClinicID = json['TargetClinicID'];
|
|
|
|
targetDoctorID = json['TargetDoctorID'];
|
|
|
|
targetDoctorID = json['TargetDoctorID'];
|
|
|
|
sourceAppointmentNo = json['SourceAppointmentNo'];
|
|
|
|
sourceAppointmentNo = json['SourceAppointmentNo'];
|
|
|
|
targetAppointmentNo = json['TargetAppointmentNo']; }
|
|
|
|
targetAppointmentNo = json['TargetAppointmentNo'];
|
|
|
|
|
|
|
|
remarksFromSource = json['RemarksFromSource'];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
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>();
|
|
|
|
@ -303,6 +293,7 @@ class MyReferralPatientModel {
|
|
|
|
data['TargetDoctorID'] = this.targetDoctorID;
|
|
|
|
data['TargetDoctorID'] = this.targetDoctorID;
|
|
|
|
data['SourceAppointmentNo'] = this.sourceAppointmentNo;
|
|
|
|
data['SourceAppointmentNo'] = this.sourceAppointmentNo;
|
|
|
|
data['TargetAppointmentNo'] = this.targetAppointmentNo;
|
|
|
|
data['TargetAppointmentNo'] = this.targetAppointmentNo;
|
|
|
|
|
|
|
|
data['RemarksFromSource'] = this.remarksFromSource;
|
|
|
|
return data;
|
|
|
|
return data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|