|
|
|
|
@ -1,62 +1,55 @@
|
|
|
|
|
/*
|
|
|
|
|
*@author:Modified by amjad add getter and setter Amjad Amireh
|
|
|
|
|
*@Date:11/5/2020
|
|
|
|
|
*@param:
|
|
|
|
|
*@return:PatientsScreen Search textbox filter
|
|
|
|
|
|
|
|
|
|
*@desc:
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
class PatientModel {
|
|
|
|
|
int ProjectID;
|
|
|
|
|
int ClinicID;
|
|
|
|
|
int DoctorID;
|
|
|
|
|
String FirstName;
|
|
|
|
|
int? ProjectID;
|
|
|
|
|
int? ClinicID;
|
|
|
|
|
int? DoctorID;
|
|
|
|
|
String? FirstName;
|
|
|
|
|
|
|
|
|
|
String MiddleName;
|
|
|
|
|
String LastName;
|
|
|
|
|
String PatientMobileNumber;
|
|
|
|
|
String PatientIdentificationID;
|
|
|
|
|
int PatientID;
|
|
|
|
|
String From;
|
|
|
|
|
String To;
|
|
|
|
|
int LanguageID;
|
|
|
|
|
String stamp;
|
|
|
|
|
String IPAdress;
|
|
|
|
|
double VersionID;
|
|
|
|
|
int Channel;
|
|
|
|
|
String TokenID;
|
|
|
|
|
String SessionID;
|
|
|
|
|
bool IsLoginForDoctorApp;
|
|
|
|
|
bool PatientOutSA;
|
|
|
|
|
int Searchtype;
|
|
|
|
|
String IdentificationNo;
|
|
|
|
|
String MobileNo;
|
|
|
|
|
String? MiddleName;
|
|
|
|
|
String? LastName;
|
|
|
|
|
String? PatientMobileNumber;
|
|
|
|
|
String? PatientIdentificationID;
|
|
|
|
|
int? PatientID;
|
|
|
|
|
String? From;
|
|
|
|
|
String? To;
|
|
|
|
|
int? LanguageID;
|
|
|
|
|
String? stamp;
|
|
|
|
|
String? IPAdress;
|
|
|
|
|
double? VersionID;
|
|
|
|
|
int? Channel;
|
|
|
|
|
String? TokenID;
|
|
|
|
|
String? SessionID;
|
|
|
|
|
bool? IsLoginForDoctorApp;
|
|
|
|
|
bool? PatientOutSA;
|
|
|
|
|
int? Searchtype;
|
|
|
|
|
String? IdentificationNo;
|
|
|
|
|
String? MobileNo;
|
|
|
|
|
|
|
|
|
|
int get getProjectID => ProjectID;
|
|
|
|
|
int? get getProjectID => ProjectID;
|
|
|
|
|
|
|
|
|
|
set setProjectID(int ProjectID) => this.ProjectID = ProjectID;
|
|
|
|
|
set setProjectID(int? ProjectID) => this.ProjectID = ProjectID;
|
|
|
|
|
|
|
|
|
|
int get getClinicID => ClinicID;
|
|
|
|
|
int? get getClinicID => ClinicID;
|
|
|
|
|
|
|
|
|
|
set setClinicID(int ClinicID) => this.ClinicID = ClinicID;
|
|
|
|
|
set setClinicID(int? ClinicID) => this.ClinicID = ClinicID;
|
|
|
|
|
|
|
|
|
|
int get getDoctorID => DoctorID;
|
|
|
|
|
int? get getDoctorID => DoctorID;
|
|
|
|
|
|
|
|
|
|
set setDoctorID(int DoctorID) => this.DoctorID = DoctorID;
|
|
|
|
|
set setDoctorID(int? DoctorID) => this.DoctorID = DoctorID;
|
|
|
|
|
|
|
|
|
|
String get getFirstName => FirstName;
|
|
|
|
|
String? get getFirstName => FirstName;
|
|
|
|
|
|
|
|
|
|
set setFirstName(String FirstName) => this.FirstName = FirstName;
|
|
|
|
|
|
|
|
|
|
String get getMiddleName => MiddleName;
|
|
|
|
|
String? get getMiddleName => MiddleName;
|
|
|
|
|
|
|
|
|
|
set setMiddleName(String MiddleName) => this.MiddleName = MiddleName;
|
|
|
|
|
|
|
|
|
|
String get getLastName => LastName;
|
|
|
|
|
String? get getLastName => LastName;
|
|
|
|
|
|
|
|
|
|
set setLastName(String LastName) => this.LastName = LastName;
|
|
|
|
|
|
|
|
|
|
String get getPatientMobileNumber => PatientMobileNumber;
|
|
|
|
|
String? get getPatientMobileNumber => PatientMobileNumber;
|
|
|
|
|
|
|
|
|
|
set setPatientMobileNumber(String PatientMobileNumber) =>
|
|
|
|
|
this.PatientMobileNumber = PatientMobileNumber;
|
|
|
|
|
@ -65,54 +58,54 @@ class PatientModel {
|
|
|
|
|
|
|
|
|
|
// set setPatientIdentificationID(String PatientIdentificationID) => this.PatientIdentificationID = PatientIdentificationID;
|
|
|
|
|
|
|
|
|
|
int get getPatientID => PatientID;
|
|
|
|
|
int? get getPatientID => PatientID;
|
|
|
|
|
|
|
|
|
|
set setPatientID(int PatientID) => this.PatientID = PatientID;
|
|
|
|
|
set setPatientID(int? PatientID) => this.PatientID = PatientID;
|
|
|
|
|
|
|
|
|
|
String get getFrom => From;
|
|
|
|
|
String? get getFrom => From;
|
|
|
|
|
|
|
|
|
|
set setFrom(String From) => this.From = From;
|
|
|
|
|
|
|
|
|
|
String get getTo => To;
|
|
|
|
|
String? get getTo => To;
|
|
|
|
|
|
|
|
|
|
set setTo(String To) => this.To = To;
|
|
|
|
|
|
|
|
|
|
int get getLanguageID => LanguageID;
|
|
|
|
|
int? get getLanguageID => LanguageID;
|
|
|
|
|
|
|
|
|
|
set setLanguageID(int LanguageID) => this.LanguageID = LanguageID;
|
|
|
|
|
set setLanguageID(int? LanguageID) => this.LanguageID = LanguageID;
|
|
|
|
|
|
|
|
|
|
String get getStamp => stamp;
|
|
|
|
|
String? get getStamp => stamp;
|
|
|
|
|
|
|
|
|
|
set setStamp(String stamp) => this.stamp = stamp;
|
|
|
|
|
|
|
|
|
|
String get getIPAdress => IPAdress;
|
|
|
|
|
String? get getIPAdress => IPAdress;
|
|
|
|
|
|
|
|
|
|
set setIPAdress(String IPAdress) => this.IPAdress = IPAdress;
|
|
|
|
|
|
|
|
|
|
double get getVersionID => VersionID;
|
|
|
|
|
double? get getVersionID => VersionID;
|
|
|
|
|
|
|
|
|
|
set setVersionID(double VersionID) => this.VersionID = VersionID;
|
|
|
|
|
set setVersionID(double? VersionID) => this.VersionID = VersionID;
|
|
|
|
|
|
|
|
|
|
int get getChannel => Channel;
|
|
|
|
|
int? get getChannel => Channel;
|
|
|
|
|
|
|
|
|
|
set setChannel(int Channel) => this.Channel = Channel;
|
|
|
|
|
set setChannel(int? Channel) => this.Channel = Channel;
|
|
|
|
|
|
|
|
|
|
String get getTokenID => TokenID;
|
|
|
|
|
String? get getTokenID => TokenID;
|
|
|
|
|
|
|
|
|
|
set setTokenID(String TokenID) => this.TokenID = TokenID;
|
|
|
|
|
|
|
|
|
|
String get getSessionID => SessionID;
|
|
|
|
|
String? get getSessionID => SessionID;
|
|
|
|
|
|
|
|
|
|
set setSessionID(String SessionID) => this.SessionID = SessionID;
|
|
|
|
|
|
|
|
|
|
bool get getIsLoginForDoctorApp => IsLoginForDoctorApp;
|
|
|
|
|
bool? get getIsLoginForDoctorApp => IsLoginForDoctorApp;
|
|
|
|
|
|
|
|
|
|
set setIsLoginForDoctorApp(bool IsLoginForDoctorApp) =>
|
|
|
|
|
set setIsLoginForDoctorApp(bool? IsLoginForDoctorApp) =>
|
|
|
|
|
this.IsLoginForDoctorApp = IsLoginForDoctorApp;
|
|
|
|
|
|
|
|
|
|
bool get getPatientOutSA => PatientOutSA;
|
|
|
|
|
bool? get getPatientOutSA => PatientOutSA;
|
|
|
|
|
|
|
|
|
|
set setPatientOutSA(bool PatientOutSA) => this.PatientOutSA = PatientOutSA;
|
|
|
|
|
set setPatientOutSA(bool? PatientOutSA) => this.PatientOutSA = PatientOutSA;
|
|
|
|
|
|
|
|
|
|
PatientModel(
|
|
|
|
|
{this.ProjectID,
|
|
|
|
|
|