|
|
|
|
@ -2,65 +2,65 @@ import 'package:doctor_app_flutter/util/date-utils.dart';
|
|
|
|
|
|
|
|
|
|
class MyReferralPatientModel {
|
|
|
|
|
dynamic rowID;
|
|
|
|
|
int projectID;
|
|
|
|
|
int lineItemNo;
|
|
|
|
|
int doctorID;
|
|
|
|
|
int patientID;
|
|
|
|
|
String doctorName;
|
|
|
|
|
int? projectID;
|
|
|
|
|
int? lineItemNo;
|
|
|
|
|
int? doctorID;
|
|
|
|
|
int? patientID;
|
|
|
|
|
String? doctorName;
|
|
|
|
|
dynamic doctorNameN;
|
|
|
|
|
String firstName;
|
|
|
|
|
String middleName;
|
|
|
|
|
String lastName;
|
|
|
|
|
String? firstName;
|
|
|
|
|
String? middleName;
|
|
|
|
|
String? lastName;
|
|
|
|
|
dynamic firstNameN;
|
|
|
|
|
dynamic middleNameN;
|
|
|
|
|
dynamic lastNameN;
|
|
|
|
|
int gender;
|
|
|
|
|
String dateofBirth;
|
|
|
|
|
String mobileNumber;
|
|
|
|
|
String emailAddress;
|
|
|
|
|
String patientIdentificationNo;
|
|
|
|
|
int patientType;
|
|
|
|
|
String admissionNo;
|
|
|
|
|
String admissionDate;
|
|
|
|
|
String roomID;
|
|
|
|
|
String bedID;
|
|
|
|
|
int? gender;
|
|
|
|
|
String? dateofBirth;
|
|
|
|
|
String? mobileNumber;
|
|
|
|
|
String? emailAddress;
|
|
|
|
|
String? patientIdentificationNo;
|
|
|
|
|
int? patientType;
|
|
|
|
|
String? admissionNo;
|
|
|
|
|
String? admissionDate;
|
|
|
|
|
String? roomID;
|
|
|
|
|
String? bedID;
|
|
|
|
|
dynamic nursingStationID;
|
|
|
|
|
dynamic description;
|
|
|
|
|
String nationalityName;
|
|
|
|
|
String? nationalityName;
|
|
|
|
|
dynamic nationalityNameN;
|
|
|
|
|
String clinicDescription;
|
|
|
|
|
String clinicDescriptionN;
|
|
|
|
|
int referralDoctor;
|
|
|
|
|
int referringDoctor;
|
|
|
|
|
int referralClinic;
|
|
|
|
|
int referringClinic;
|
|
|
|
|
int referralStatus;
|
|
|
|
|
DateTime referralDate;
|
|
|
|
|
String referringDoctorRemarks;
|
|
|
|
|
String referredDoctorRemarks;
|
|
|
|
|
String referralResponseOn;
|
|
|
|
|
int priority;
|
|
|
|
|
int frequency;
|
|
|
|
|
String mAXResponseTime;
|
|
|
|
|
int episodeID;
|
|
|
|
|
int appointmentNo;
|
|
|
|
|
String appointmentDate;
|
|
|
|
|
int appointmentType;
|
|
|
|
|
int patientMRN;
|
|
|
|
|
String createdOn;
|
|
|
|
|
int clinicID;
|
|
|
|
|
String nationalityID;
|
|
|
|
|
String age;
|
|
|
|
|
String doctorImageURL;
|
|
|
|
|
String frequencyDescription;
|
|
|
|
|
String genderDescription;
|
|
|
|
|
bool isDoctorLate;
|
|
|
|
|
bool isDoctorResponse;
|
|
|
|
|
String nationalityFlagURL;
|
|
|
|
|
String nursingStationName;
|
|
|
|
|
String priorityDescription;
|
|
|
|
|
String referringClinicDescription;
|
|
|
|
|
String referringDoctorName;
|
|
|
|
|
String? clinicDescription;
|
|
|
|
|
String? clinicDescriptionN;
|
|
|
|
|
int? referralDoctor;
|
|
|
|
|
int? referringDoctor;
|
|
|
|
|
int? referralClinic;
|
|
|
|
|
int? referringClinic;
|
|
|
|
|
int? referralStatus;
|
|
|
|
|
DateTime ?referralDate;
|
|
|
|
|
String? referringDoctorRemarks;
|
|
|
|
|
String? referredDoctorRemarks;
|
|
|
|
|
String? referralResponseOn;
|
|
|
|
|
int? priority;
|
|
|
|
|
int? frequency;
|
|
|
|
|
String? mAXResponseTime;
|
|
|
|
|
int? episodeID;
|
|
|
|
|
int? appointmentNo;
|
|
|
|
|
String? appointmentDate;
|
|
|
|
|
int? appointmentType;
|
|
|
|
|
int? patientMRN;
|
|
|
|
|
String? createdOn;
|
|
|
|
|
int? clinicID;
|
|
|
|
|
String? nationalityID;
|
|
|
|
|
String? age;
|
|
|
|
|
String? doctorImageURL;
|
|
|
|
|
String? frequencyDescription;
|
|
|
|
|
String? genderDescription;
|
|
|
|
|
bool? isDoctorLate;
|
|
|
|
|
bool? isDoctorResponse;
|
|
|
|
|
String? nationalityFlagURL;
|
|
|
|
|
String? nursingStationName;
|
|
|
|
|
String? priorityDescription;
|
|
|
|
|
String? referringClinicDescription;
|
|
|
|
|
String? referringDoctorName;
|
|
|
|
|
|
|
|
|
|
MyReferralPatientModel(
|
|
|
|
|
{this.rowID,
|
|
|
|
|
@ -124,7 +124,7 @@ class MyReferralPatientModel {
|
|
|
|
|
this.referringClinicDescription,
|
|
|
|
|
this.referringDoctorName});
|
|
|
|
|
|
|
|
|
|
MyReferralPatientModel.fromJson(Map<String, dynamic> json) {
|
|
|
|
|
MyReferralPatientModel.fromJson(Map<String?, dynamic> json) {
|
|
|
|
|
rowID = json['RowID'];
|
|
|
|
|
projectID = json['ProjectID'];
|
|
|
|
|
lineItemNo = json['LineItemNo'];
|
|
|
|
|
@ -187,8 +187,8 @@ class MyReferralPatientModel {
|
|
|
|
|
referringDoctorName = json['ReferringDoctorName'];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() {
|
|
|
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
|
|
|
Map<String?, dynamic> toJson() {
|
|
|
|
|
final Map<String?, dynamic> data = new Map<String?, dynamic>();
|
|
|
|
|
data['RowID'] = this.rowID;
|
|
|
|
|
data['ProjectID'] = this.projectID;
|
|
|
|
|
data['LineItemNo'] = this.lineItemNo;
|
|
|
|
|
@ -253,6 +253,6 @@ class MyReferralPatientModel {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
get patientName {
|
|
|
|
|
return this.firstName+" "+this.lastName;
|
|
|
|
|
return this.firstName!+" "+this.lastName!;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|