Merge branch 'development' of https://gitlab.com/Cloud_Solution/doctor_app_flutter into get_pending_orders
Conflicts: lib/screens/patients/register_patient/RegisterPatientPage.dartmerge-requests/878/head
commit
08df479b37
@ -0,0 +1,60 @@
|
||||
class GetPatientInfoRequestModel {
|
||||
String patientIdentificationID;
|
||||
String dOB;
|
||||
int isHijri;
|
||||
double versionID;
|
||||
int channel;
|
||||
int languageID;
|
||||
String iPAdress;
|
||||
String generalid;
|
||||
int patientOutSA;
|
||||
Null sessionID;
|
||||
bool isDentalAllowedBackend;
|
||||
int deviceTypeID;
|
||||
|
||||
GetPatientInfoRequestModel(
|
||||
{this.patientIdentificationID,
|
||||
this.dOB,
|
||||
this.isHijri,
|
||||
this.versionID,
|
||||
this.channel,
|
||||
this.languageID,
|
||||
this.iPAdress,
|
||||
this.generalid,
|
||||
this.patientOutSA,
|
||||
this.sessionID,
|
||||
this.isDentalAllowedBackend,
|
||||
this.deviceTypeID});
|
||||
|
||||
GetPatientInfoRequestModel.fromJson(Map<String, dynamic> json) {
|
||||
patientIdentificationID = json['PatientIdentificationID'];
|
||||
dOB = json['DOB'];
|
||||
isHijri = json['IsHijri'];
|
||||
versionID = json['VersionID'];
|
||||
channel = json['Channel'];
|
||||
languageID = json['LanguageID'];
|
||||
iPAdress = json['IPAdress'];
|
||||
generalid = json['generalid'];
|
||||
patientOutSA = json['PatientOutSA'];
|
||||
sessionID = json['SessionID'];
|
||||
isDentalAllowedBackend = json['isDentalAllowedBackend'];
|
||||
deviceTypeID = json['DeviceTypeID'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['PatientIdentificationID'] = this.patientIdentificationID;
|
||||
data['DOB'] = this.dOB;
|
||||
data['IsHijri'] = this.isHijri;
|
||||
data['VersionID'] = this.versionID;
|
||||
data['Channel'] = this.channel;
|
||||
data['LanguageID'] = this.languageID;
|
||||
data['IPAdress'] = this.iPAdress;
|
||||
data['generalid'] = this.generalid;
|
||||
data['PatientOutSA'] = this.patientOutSA;
|
||||
data['SessionID'] = this.sessionID;
|
||||
data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
|
||||
data['DeviceTypeID'] = this.deviceTypeID;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,374 @@
|
||||
class GetPatientInfoResponseModel {
|
||||
dynamic date;
|
||||
int languageID;
|
||||
int serviceName;
|
||||
dynamic time;
|
||||
dynamic androidLink;
|
||||
dynamic authenticationTokenID;
|
||||
dynamic data;
|
||||
bool dataw;
|
||||
int dietType;
|
||||
dynamic errorCode;
|
||||
dynamic errorEndUserMessage;
|
||||
dynamic errorEndUserMessageN;
|
||||
dynamic errorMessage;
|
||||
int errorType;
|
||||
int foodCategory;
|
||||
dynamic iOSLink;
|
||||
bool isAuthenticated;
|
||||
int mealOrderStatus;
|
||||
int mealType;
|
||||
int messageStatus;
|
||||
int numberOfResultRecords;
|
||||
dynamic patientBlodType;
|
||||
dynamic successMsg;
|
||||
dynamic successMsgN;
|
||||
dynamic vidaUpdatedResponse;
|
||||
dynamic accessTokenObject;
|
||||
int age;
|
||||
dynamic clientIdentifierId;
|
||||
int createdBy;
|
||||
String dateOfBirth;
|
||||
String firstNameAr;
|
||||
String firstNameEn;
|
||||
String gender;
|
||||
dynamic genderAr;
|
||||
dynamic genderEn;
|
||||
String healthId;
|
||||
String idNumber;
|
||||
String idType;
|
||||
bool isHijri;
|
||||
int isInstertedOrUpdated;
|
||||
int isNull;
|
||||
int isPatientExistNHIC;
|
||||
bool isRecordLockedByCurrentUser;
|
||||
String lastNameAr;
|
||||
String lastNameEn;
|
||||
dynamic listActiveAccessToken;
|
||||
String maritalStatus;
|
||||
String maritalStatusCode;
|
||||
String nationalDateOfBirth;
|
||||
String nationality;
|
||||
String nationalityCode;
|
||||
String occupation;
|
||||
dynamic pCDTransactionDataResultList;
|
||||
dynamic pCDGetVidaPatientForManualVerificationList;
|
||||
dynamic pCDNHICHMGPatientDetailsMatchCalulationList;
|
||||
int pCDReturnValue;
|
||||
String patientStatus;
|
||||
String placeofBirth;
|
||||
dynamic practitionerStatusCode;
|
||||
dynamic practitionerStatusDescAr;
|
||||
dynamic practitionerStatusDescEn;
|
||||
int rowCount;
|
||||
String secondNameAr;
|
||||
String secondNameEn;
|
||||
String thirdNameAr;
|
||||
String thirdNameEn;
|
||||
dynamic yakeenVidaPatientDataStatisticsByPatientIdList;
|
||||
dynamic yakeenVidaPatientDataStatisticsList;
|
||||
dynamic yakeenVidaPatientDataStatisticsPrefferedList;
|
||||
dynamic accessToken;
|
||||
int categoryCode;
|
||||
dynamic categoryNameAr;
|
||||
dynamic categoryNameEn;
|
||||
int constraintCode;
|
||||
dynamic constraintNameAr;
|
||||
dynamic constraintNameEn;
|
||||
dynamic content;
|
||||
dynamic errorList;
|
||||
dynamic licenseExpiryDate;
|
||||
dynamic licenseIssuedDate;
|
||||
dynamic licenseStatusCode;
|
||||
dynamic licenseStatusDescAr;
|
||||
dynamic licenseStatusDescEn;
|
||||
dynamic organizations;
|
||||
dynamic registrationNumber;
|
||||
int specialtyCode;
|
||||
dynamic specialtyNameAr;
|
||||
dynamic specialtyNameEn;
|
||||
|
||||
GetPatientInfoResponseModel(
|
||||
{this.date,
|
||||
this.languageID,
|
||||
this.serviceName,
|
||||
this.time,
|
||||
this.androidLink,
|
||||
this.authenticationTokenID,
|
||||
this.data,
|
||||
this.dataw,
|
||||
this.dietType,
|
||||
this.errorCode,
|
||||
this.errorEndUserMessage,
|
||||
this.errorEndUserMessageN,
|
||||
this.errorMessage,
|
||||
this.errorType,
|
||||
this.foodCategory,
|
||||
this.iOSLink,
|
||||
this.isAuthenticated,
|
||||
this.mealOrderStatus,
|
||||
this.mealType,
|
||||
this.messageStatus,
|
||||
this.numberOfResultRecords,
|
||||
this.patientBlodType,
|
||||
this.successMsg,
|
||||
this.successMsgN,
|
||||
this.vidaUpdatedResponse,
|
||||
this.accessTokenObject,
|
||||
this.age,
|
||||
this.clientIdentifierId,
|
||||
this.createdBy,
|
||||
this.dateOfBirth,
|
||||
this.firstNameAr,
|
||||
this.firstNameEn,
|
||||
this.gender,
|
||||
this.genderAr,
|
||||
this.genderEn,
|
||||
this.healthId,
|
||||
this.idNumber,
|
||||
this.idType,
|
||||
this.isHijri,
|
||||
this.isInstertedOrUpdated,
|
||||
this.isNull,
|
||||
this.isPatientExistNHIC,
|
||||
this.isRecordLockedByCurrentUser,
|
||||
this.lastNameAr,
|
||||
this.lastNameEn,
|
||||
this.listActiveAccessToken,
|
||||
this.maritalStatus,
|
||||
this.maritalStatusCode,
|
||||
this.nationalDateOfBirth,
|
||||
this.nationality,
|
||||
this.nationalityCode,
|
||||
this.occupation,
|
||||
this.pCDTransactionDataResultList,
|
||||
this.pCDGetVidaPatientForManualVerificationList,
|
||||
this.pCDNHICHMGPatientDetailsMatchCalulationList,
|
||||
this.pCDReturnValue,
|
||||
this.patientStatus,
|
||||
this.placeofBirth,
|
||||
this.practitionerStatusCode,
|
||||
this.practitionerStatusDescAr,
|
||||
this.practitionerStatusDescEn,
|
||||
this.rowCount,
|
||||
this.secondNameAr,
|
||||
this.secondNameEn,
|
||||
this.thirdNameAr,
|
||||
this.thirdNameEn,
|
||||
this.yakeenVidaPatientDataStatisticsByPatientIdList,
|
||||
this.yakeenVidaPatientDataStatisticsList,
|
||||
this.yakeenVidaPatientDataStatisticsPrefferedList,
|
||||
this.accessToken,
|
||||
this.categoryCode,
|
||||
this.categoryNameAr,
|
||||
this.categoryNameEn,
|
||||
this.constraintCode,
|
||||
this.constraintNameAr,
|
||||
this.constraintNameEn,
|
||||
this.content,
|
||||
this.errorList,
|
||||
this.licenseExpiryDate,
|
||||
this.licenseIssuedDate,
|
||||
this.licenseStatusCode,
|
||||
this.licenseStatusDescAr,
|
||||
this.licenseStatusDescEn,
|
||||
this.organizations,
|
||||
this.registrationNumber,
|
||||
this.specialtyCode,
|
||||
this.specialtyNameAr,
|
||||
this.specialtyNameEn});
|
||||
|
||||
GetPatientInfoResponseModel.fromJson(Map<String, dynamic> json) {
|
||||
date = json['Date'];
|
||||
languageID = json['LanguageID'];
|
||||
serviceName = json['ServiceName'];
|
||||
time = json['Time'];
|
||||
androidLink = json['AndroidLink'];
|
||||
authenticationTokenID = json['AuthenticationTokenID'];
|
||||
data = json['Data'];
|
||||
dataw = json['Dataw'];
|
||||
dietType = json['DietType'];
|
||||
errorCode = json['ErrorCode'];
|
||||
errorEndUserMessage = json['ErrorEndUserMessage'];
|
||||
errorEndUserMessageN = json['ErrorEndUserMessageN'];
|
||||
errorMessage = json['ErrorMessage'];
|
||||
errorType = json['ErrorType'];
|
||||
foodCategory = json['FoodCategory'];
|
||||
iOSLink = json['IOSLink'];
|
||||
isAuthenticated = json['IsAuthenticated'];
|
||||
mealOrderStatus = json['MealOrderStatus'];
|
||||
mealType = json['MealType'];
|
||||
messageStatus = json['MessageStatus'];
|
||||
numberOfResultRecords = json['NumberOfResultRecords'];
|
||||
patientBlodType = json['PatientBlodType'];
|
||||
successMsg = json['SuccessMsg'];
|
||||
successMsgN = json['SuccessMsgN'];
|
||||
vidaUpdatedResponse = json['VidaUpdatedResponse'];
|
||||
accessTokenObject = json['AccessTokenObject'];
|
||||
age = json['Age'];
|
||||
clientIdentifierId = json['ClientIdentifierId'];
|
||||
createdBy = json['CreatedBy'];
|
||||
dateOfBirth = json['DateOfBirth'];
|
||||
firstNameAr = json['FirstNameAr'];
|
||||
firstNameEn = json['FirstNameEn'];
|
||||
gender = json['Gender'];
|
||||
genderAr = json['GenderAr'];
|
||||
genderEn = json['GenderEn'];
|
||||
healthId = json['HealthId'];
|
||||
idNumber = json['IdNumber'];
|
||||
idType = json['IdType'];
|
||||
isHijri = json['IsHijri'];
|
||||
isInstertedOrUpdated = json['IsInstertedOrUpdated'];
|
||||
isNull = json['IsNull'];
|
||||
isPatientExistNHIC = json['IsPatientExistNHIC'];
|
||||
isRecordLockedByCurrentUser = json['IsRecordLockedByCurrentUser'];
|
||||
lastNameAr = json['LastNameAr'];
|
||||
lastNameEn = json['LastNameEn'];
|
||||
listActiveAccessToken = json['List_ActiveAccessToken'];
|
||||
maritalStatus = json['MaritalStatus'];
|
||||
maritalStatusCode = json['MaritalStatusCode'];
|
||||
nationalDateOfBirth = json['NationalDateOfBirth'];
|
||||
nationality = json['Nationality'];
|
||||
nationalityCode = json['NationalityCode'];
|
||||
occupation = json['Occupation'];
|
||||
pCDTransactionDataResultList = json['PCDTransactionDataResultList'];
|
||||
pCDGetVidaPatientForManualVerificationList =
|
||||
json['PCD_GetVidaPatientForManualVerificationList'];
|
||||
pCDNHICHMGPatientDetailsMatchCalulationList =
|
||||
json['PCD_NHIC_HMG_PatientDetailsMatchCalulationList'];
|
||||
pCDReturnValue = json['PCD_ReturnValue'];
|
||||
patientStatus = json['PatientStatus'];
|
||||
placeofBirth = json['PlaceofBirth'];
|
||||
practitionerStatusCode = json['PractitionerStatusCode'];
|
||||
practitionerStatusDescAr = json['PractitionerStatusDescAr'];
|
||||
practitionerStatusDescEn = json['PractitionerStatusDescEn'];
|
||||
rowCount = json['RowCount'];
|
||||
secondNameAr = json['SecondNameAr'];
|
||||
secondNameEn = json['SecondNameEn'];
|
||||
thirdNameAr = json['ThirdNameAr'];
|
||||
thirdNameEn = json['ThirdNameEn'];
|
||||
yakeenVidaPatientDataStatisticsByPatientIdList =
|
||||
json['YakeenVidaPatientDataStatisticsByPatientIdList'];
|
||||
yakeenVidaPatientDataStatisticsList =
|
||||
json['YakeenVidaPatientDataStatisticsList'];
|
||||
yakeenVidaPatientDataStatisticsPrefferedList =
|
||||
json['YakeenVidaPatientDataStatisticsPrefferedList'];
|
||||
accessToken = json['accessToken'];
|
||||
categoryCode = json['categoryCode'];
|
||||
categoryNameAr = json['categoryNameAr'];
|
||||
categoryNameEn = json['categoryNameEn'];
|
||||
constraintCode = json['constraintCode'];
|
||||
constraintNameAr = json['constraintNameAr'];
|
||||
constraintNameEn = json['constraintNameEn'];
|
||||
content = json['content'];
|
||||
errorList = json['errorList'];
|
||||
licenseExpiryDate = json['licenseExpiryDate'];
|
||||
licenseIssuedDate = json['licenseIssuedDate'];
|
||||
licenseStatusCode = json['licenseStatusCode'];
|
||||
licenseStatusDescAr = json['licenseStatusDescAr'];
|
||||
licenseStatusDescEn = json['licenseStatusDescEn'];
|
||||
organizations = json['organizations'];
|
||||
registrationNumber = json['registrationNumber'];
|
||||
specialtyCode = json['specialtyCode'];
|
||||
specialtyNameAr = json['specialtyNameAr'];
|
||||
specialtyNameEn = json['specialtyNameEn'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||
data['Date'] = this.date;
|
||||
data['LanguageID'] = this.languageID;
|
||||
data['ServiceName'] = this.serviceName;
|
||||
data['Time'] = this.time;
|
||||
data['AndroidLink'] = this.androidLink;
|
||||
data['AuthenticationTokenID'] = this.authenticationTokenID;
|
||||
data['Data'] = this.data;
|
||||
data['Dataw'] = this.dataw;
|
||||
data['DietType'] = this.dietType;
|
||||
data['ErrorCode'] = this.errorCode;
|
||||
data['ErrorEndUserMessage'] = this.errorEndUserMessage;
|
||||
data['ErrorEndUserMessageN'] = this.errorEndUserMessageN;
|
||||
data['ErrorMessage'] = this.errorMessage;
|
||||
data['ErrorType'] = this.errorType;
|
||||
data['FoodCategory'] = this.foodCategory;
|
||||
data['IOSLink'] = this.iOSLink;
|
||||
data['IsAuthenticated'] = this.isAuthenticated;
|
||||
data['MealOrderStatus'] = this.mealOrderStatus;
|
||||
data['MealType'] = this.mealType;
|
||||
data['MessageStatus'] = this.messageStatus;
|
||||
data['NumberOfResultRecords'] = this.numberOfResultRecords;
|
||||
data['PatientBlodType'] = this.patientBlodType;
|
||||
data['SuccessMsg'] = this.successMsg;
|
||||
data['SuccessMsgN'] = this.successMsgN;
|
||||
data['VidaUpdatedResponse'] = this.vidaUpdatedResponse;
|
||||
data['AccessTokenObject'] = this.accessTokenObject;
|
||||
data['Age'] = this.age;
|
||||
data['ClientIdentifierId'] = this.clientIdentifierId;
|
||||
data['CreatedBy'] = this.createdBy;
|
||||
data['DateOfBirth'] = this.dateOfBirth;
|
||||
data['FirstNameAr'] = this.firstNameAr;
|
||||
data['FirstNameEn'] = this.firstNameEn;
|
||||
data['Gender'] = this.gender;
|
||||
data['GenderAr'] = this.genderAr;
|
||||
data['GenderEn'] = this.genderEn;
|
||||
data['HealthId'] = this.healthId;
|
||||
data['IdNumber'] = this.idNumber;
|
||||
data['IdType'] = this.idType;
|
||||
data['IsHijri'] = this.isHijri;
|
||||
data['IsInstertedOrUpdated'] = this.isInstertedOrUpdated;
|
||||
data['IsNull'] = this.isNull;
|
||||
data['IsPatientExistNHIC'] = this.isPatientExistNHIC;
|
||||
data['IsRecordLockedByCurrentUser'] = this.isRecordLockedByCurrentUser;
|
||||
data['LastNameAr'] = this.lastNameAr;
|
||||
data['LastNameEn'] = this.lastNameEn;
|
||||
data['List_ActiveAccessToken'] = this.listActiveAccessToken;
|
||||
data['MaritalStatus'] = this.maritalStatus;
|
||||
data['MaritalStatusCode'] = this.maritalStatusCode;
|
||||
data['NationalDateOfBirth'] = this.nationalDateOfBirth;
|
||||
data['Nationality'] = this.nationality;
|
||||
data['NationalityCode'] = this.nationalityCode;
|
||||
data['Occupation'] = this.occupation;
|
||||
data['PCDTransactionDataResultList'] = this.pCDTransactionDataResultList;
|
||||
data['PCD_GetVidaPatientForManualVerificationList'] =
|
||||
this.pCDGetVidaPatientForManualVerificationList;
|
||||
data['PCD_NHIC_HMG_PatientDetailsMatchCalulationList'] =
|
||||
this.pCDNHICHMGPatientDetailsMatchCalulationList;
|
||||
data['PCD_ReturnValue'] = this.pCDReturnValue;
|
||||
data['PatientStatus'] = this.patientStatus;
|
||||
data['PlaceofBirth'] = this.placeofBirth;
|
||||
data['PractitionerStatusCode'] = this.practitionerStatusCode;
|
||||
data['PractitionerStatusDescAr'] = this.practitionerStatusDescAr;
|
||||
data['PractitionerStatusDescEn'] = this.practitionerStatusDescEn;
|
||||
data['RowCount'] = this.rowCount;
|
||||
data['SecondNameAr'] = this.secondNameAr;
|
||||
data['SecondNameEn'] = this.secondNameEn;
|
||||
data['ThirdNameAr'] = this.thirdNameAr;
|
||||
data['ThirdNameEn'] = this.thirdNameEn;
|
||||
data['YakeenVidaPatientDataStatisticsByPatientIdList'] =
|
||||
this.yakeenVidaPatientDataStatisticsByPatientIdList;
|
||||
data['YakeenVidaPatientDataStatisticsList'] =
|
||||
this.yakeenVidaPatientDataStatisticsList;
|
||||
data['YakeenVidaPatientDataStatisticsPrefferedList'] =
|
||||
this.yakeenVidaPatientDataStatisticsPrefferedList;
|
||||
data['accessToken'] = this.accessToken;
|
||||
data['categoryCode'] = this.categoryCode;
|
||||
data['categoryNameAr'] = this.categoryNameAr;
|
||||
data['categoryNameEn'] = this.categoryNameEn;
|
||||
data['constraintCode'] = this.constraintCode;
|
||||
data['constraintNameAr'] = this.constraintNameAr;
|
||||
data['constraintNameEn'] = this.constraintNameEn;
|
||||
data['content'] = this.content;
|
||||
data['errorList'] = this.errorList;
|
||||
data['licenseExpiryDate'] = this.licenseExpiryDate;
|
||||
data['licenseIssuedDate'] = this.licenseIssuedDate;
|
||||
data['licenseStatusCode'] = this.licenseStatusCode;
|
||||
data['licenseStatusDescAr'] = this.licenseStatusDescAr;
|
||||
data['licenseStatusDescEn'] = this.licenseStatusDescEn;
|
||||
data['organizations'] = this.organizations;
|
||||
data['registrationNumber'] = this.registrationNumber;
|
||||
data['specialtyCode'] = this.specialtyCode;
|
||||
data['specialtyNameAr'] = this.specialtyNameAr;
|
||||
data['specialtyNameEn'] = this.specialtyNameEn;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue