reverting manully
parent
351d5a79e7
commit
6fe3cecc9b
@ -1,218 +1,116 @@
|
|||||||
import 'package:doctor_app_flutter/util/date-utils.dart';
|
class RequestSendRadReportEmail {
|
||||||
|
int? channel;
|
||||||
|
String? clinicName;
|
||||||
|
String? dateofBirth;
|
||||||
|
int? deviceTypeID;
|
||||||
|
String? doctorName;
|
||||||
|
String? generalid;
|
||||||
|
int? invoiceNo;
|
||||||
|
String? iPAdress;
|
||||||
|
bool ?isDentalAllowedBackend;
|
||||||
|
int? languageID;
|
||||||
|
String? orderDate;
|
||||||
|
int? patientID;
|
||||||
|
String? patientIditificationNum;
|
||||||
|
String? patientMobileNumber;
|
||||||
|
String? patientName;
|
||||||
|
int? patientOutSA;
|
||||||
|
int? patientType;
|
||||||
|
int? patientTypeID;
|
||||||
|
int? projectID;
|
||||||
|
String? projectName;
|
||||||
|
String? radResult;
|
||||||
|
String? sessionID;
|
||||||
|
String? setupID;
|
||||||
|
String? to;
|
||||||
|
String? tokenID;
|
||||||
|
double? versionID;
|
||||||
|
|
||||||
class DischargeReferralPatient {
|
RequestSendRadReportEmail(
|
||||||
dynamic rowID;
|
{this.channel,
|
||||||
int projectID;
|
this.clinicName,
|
||||||
int lineItemNo;
|
|
||||||
int doctorID;
|
|
||||||
int patientID;
|
|
||||||
String doctorName;
|
|
||||||
dynamic doctorNameN;
|
|
||||||
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;
|
|
||||||
dynamic nursingStationID;
|
|
||||||
dynamic description;
|
|
||||||
String nationalityName;
|
|
||||||
dynamic nationalityNameN;
|
|
||||||
int referralDoctor;
|
|
||||||
int referringDoctor;
|
|
||||||
int referralClinic;
|
|
||||||
int referringClinic;
|
|
||||||
int referralStatus;
|
|
||||||
DateTime referralDate;
|
|
||||||
String referringDoctorRemarks;
|
|
||||||
String referredDoctorRemarks;
|
|
||||||
String referralResponseOn;
|
|
||||||
int priority;
|
|
||||||
int frequency;
|
|
||||||
String mAXResponseTime;
|
|
||||||
String dischargeDate;
|
|
||||||
dynamic clinicID;
|
|
||||||
String age;
|
|
||||||
String clinicDescription;
|
|
||||||
String frequencyDescription;
|
|
||||||
String genderDescription;
|
|
||||||
bool isDoctorLate;
|
|
||||||
bool isDoctorResponse;
|
|
||||||
String nursingStationName;
|
|
||||||
String priorityDescription;
|
|
||||||
String referringClinicDescription;
|
|
||||||
String referringDoctorName;
|
|
||||||
|
|
||||||
DischargeReferralPatient(
|
|
||||||
{this.rowID,
|
|
||||||
this.projectID,
|
|
||||||
this.lineItemNo,
|
|
||||||
this.doctorID,
|
|
||||||
this.patientID,
|
|
||||||
this.doctorName,
|
|
||||||
this.doctorNameN,
|
|
||||||
this.firstName,
|
|
||||||
this.middleName,
|
|
||||||
this.lastName,
|
|
||||||
this.firstNameN,
|
|
||||||
this.middleNameN,
|
|
||||||
this.lastNameN,
|
|
||||||
this.gender,
|
|
||||||
this.dateofBirth,
|
this.dateofBirth,
|
||||||
this.mobileNumber,
|
this.deviceTypeID,
|
||||||
this.emailAddress,
|
this.doctorName,
|
||||||
this.patientIdentificationNo,
|
this.generalid,
|
||||||
|
this.invoiceNo,
|
||||||
|
this.iPAdress,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.languageID,
|
||||||
|
this.orderDate,
|
||||||
|
this.patientID,
|
||||||
|
this.patientIditificationNum,
|
||||||
|
this.patientMobileNumber,
|
||||||
|
this.patientName,
|
||||||
|
this.patientOutSA,
|
||||||
this.patientType,
|
this.patientType,
|
||||||
this.admissionNo,
|
this.patientTypeID,
|
||||||
this.admissionDate,
|
this.projectID,
|
||||||
this.roomID,
|
this.projectName,
|
||||||
this.bedID,
|
this.radResult,
|
||||||
this.nursingStationID,
|
this.sessionID,
|
||||||
this.description,
|
this.setupID,
|
||||||
this.nationalityName,
|
this.to,
|
||||||
this.nationalityNameN,
|
this.tokenID,
|
||||||
this.referralDoctor,
|
this.versionID});
|
||||||
this.referringDoctor,
|
|
||||||
this.referralClinic,
|
|
||||||
this.referringClinic,
|
|
||||||
this.referralStatus,
|
|
||||||
this.referralDate,
|
|
||||||
this.referringDoctorRemarks,
|
|
||||||
this.referredDoctorRemarks,
|
|
||||||
this.referralResponseOn,
|
|
||||||
this.priority,
|
|
||||||
this.frequency,
|
|
||||||
this.mAXResponseTime,
|
|
||||||
this.dischargeDate,
|
|
||||||
this.clinicID,
|
|
||||||
this.age,
|
|
||||||
this.clinicDescription,
|
|
||||||
this.frequencyDescription,
|
|
||||||
this.genderDescription,
|
|
||||||
this.isDoctorLate,
|
|
||||||
this.isDoctorResponse,
|
|
||||||
this.nursingStationName,
|
|
||||||
this.priorityDescription,
|
|
||||||
this.referringClinicDescription,
|
|
||||||
this.referringDoctorName});
|
|
||||||
|
|
||||||
DischargeReferralPatient.fromJson(Map<String, dynamic> json) {
|
RequestSendRadReportEmail.fromJson(Map<String?, dynamic> json) {
|
||||||
rowID = json['RowID'];
|
channel = json['Channel'];
|
||||||
projectID = json['ProjectID'];
|
clinicName = json['ClinicName'];
|
||||||
lineItemNo = json['LineItemNo'];
|
|
||||||
doctorID = json['DoctorID'];
|
|
||||||
patientID = json['PatientID'];
|
|
||||||
doctorName = json['DoctorName'];
|
|
||||||
doctorNameN = json['DoctorNameN'];
|
|
||||||
firstName = json['FirstName'];
|
|
||||||
middleName = json['MiddleName'];
|
|
||||||
lastName = json['LastName'];
|
|
||||||
firstNameN = json['FirstNameN'];
|
|
||||||
middleNameN = json['MiddleNameN'];
|
|
||||||
lastNameN = json['LastNameN'];
|
|
||||||
gender = json['Gender'];
|
|
||||||
dateofBirth = json['DateofBirth'];
|
dateofBirth = json['DateofBirth'];
|
||||||
mobileNumber = json['MobileNumber'];
|
deviceTypeID = json['DeviceTypeID'];
|
||||||
emailAddress = json['EmailAddress'];
|
doctorName = json['DoctorName'];
|
||||||
patientIdentificationNo = json['PatientIdentificationNo'];
|
generalid = json['generalid'];
|
||||||
|
invoiceNo = json['InvoiceNo'];
|
||||||
|
iPAdress = json['IPAdress'];
|
||||||
|
isDentalAllowedBackend = json['isDentalAllowedBackend'];
|
||||||
|
languageID = json['LanguageID'];
|
||||||
|
orderDate = json['OrderDate'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
patientIditificationNum = json['PatientIditificationNum'];
|
||||||
|
patientMobileNumber = json['PatientMobileNumber'];
|
||||||
|
patientName = json['PatientName'];
|
||||||
|
patientOutSA = json['PatientOutSA'];
|
||||||
patientType = json['PatientType'];
|
patientType = json['PatientType'];
|
||||||
admissionNo = json['AdmissionNo'];
|
patientTypeID = json['PatientTypeID'];
|
||||||
admissionDate = json['AdmissionDate'];
|
projectID = json['ProjectID'];
|
||||||
roomID = json['RoomID'];
|
projectName = json['ProjectName'];
|
||||||
bedID = json['BedID'];
|
radResult = json['RadResult'];
|
||||||
nursingStationID = json['NursingStationID'];
|
sessionID = json['SessionID'];
|
||||||
description = json['Description'];
|
setupID = json['SetupID'];
|
||||||
nationalityName = json['NationalityName'];
|
to = json['To'];
|
||||||
nationalityNameN = json['NationalityNameN'];
|
tokenID = json['TokenID'];
|
||||||
referralDoctor = json['ReferralDoctor'];
|
versionID = json['VersionID'];
|
||||||
referringDoctor = json['ReferringDoctor'];
|
|
||||||
referralClinic = json['ReferralClinic'];
|
|
||||||
referringClinic = json['ReferringClinic'];
|
|
||||||
referralStatus = json['ReferralStatus'];
|
|
||||||
referralDate = AppDateUtils.convertStringToDate(json['ReferralDate']);
|
|
||||||
referringDoctorRemarks = json['ReferringDoctorRemarks'];
|
|
||||||
referredDoctorRemarks = json['ReferredDoctorRemarks'];
|
|
||||||
referralResponseOn = json['ReferralResponseOn'];
|
|
||||||
priority = json['Priority'];
|
|
||||||
frequency = json['Frequency'];
|
|
||||||
mAXResponseTime = json['MAXResponseTime'];
|
|
||||||
dischargeDate = json['DischargeDate'];
|
|
||||||
clinicID = json['ClinicID'];
|
|
||||||
age = json['Age'];
|
|
||||||
clinicDescription = json['ClinicDescription'];
|
|
||||||
frequencyDescription = json['FrequencyDescription'];
|
|
||||||
genderDescription = json['GenderDescription'];
|
|
||||||
isDoctorLate = json['IsDoctorLate'];
|
|
||||||
isDoctorResponse = json['IsDoctorResponse'];
|
|
||||||
nursingStationName = json['NursingStationName'];
|
|
||||||
priorityDescription = json['PriorityDescription'];
|
|
||||||
referringClinicDescription = json['ReferringClinicDescription'];
|
|
||||||
referringDoctorName = json['ReferringDoctorName'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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>();
|
||||||
data['RowID'] = this.rowID;
|
data['Channel'] = this.channel;
|
||||||
data['ProjectID'] = this.projectID;
|
data['ClinicName'] = this.clinicName;
|
||||||
data['LineItemNo'] = this.lineItemNo;
|
|
||||||
data['DoctorID'] = this.doctorID;
|
|
||||||
data['PatientID'] = this.patientID;
|
|
||||||
data['DoctorName'] = this.doctorName;
|
|
||||||
data['DoctorNameN'] = this.doctorNameN;
|
|
||||||
data['FirstName'] = this.firstName;
|
|
||||||
data['MiddleName'] = this.middleName;
|
|
||||||
data['LastName'] = this.lastName;
|
|
||||||
data['FirstNameN'] = this.firstNameN;
|
|
||||||
data['MiddleNameN'] = this.middleNameN;
|
|
||||||
data['LastNameN'] = this.lastNameN;
|
|
||||||
data['Gender'] = this.gender;
|
|
||||||
data['DateofBirth'] = this.dateofBirth;
|
data['DateofBirth'] = this.dateofBirth;
|
||||||
data['MobileNumber'] = this.mobileNumber;
|
data['DeviceTypeID'] = this.deviceTypeID;
|
||||||
data['EmailAddress'] = this.emailAddress;
|
data['DoctorName'] = this.doctorName;
|
||||||
data['PatientIdentificationNo'] = this.patientIdentificationNo;
|
data['generalid'] = this.generalid;
|
||||||
|
data['InvoiceNo'] = this.invoiceNo;
|
||||||
|
data['IPAdress'] = this.iPAdress;
|
||||||
|
data['isDentalAllowedBackend'] = this.isDentalAllowedBackend;
|
||||||
|
data['LanguageID'] = this.languageID;
|
||||||
|
data['OrderDate'] = this.orderDate;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['PatientIditificationNum'] = this.patientIditificationNum;
|
||||||
|
data['PatientMobileNumber'] = this.patientMobileNumber;
|
||||||
|
data['PatientName'] = this.patientName;
|
||||||
|
data['PatientOutSA'] = this.patientOutSA;
|
||||||
data['PatientType'] = this.patientType;
|
data['PatientType'] = this.patientType;
|
||||||
data['AdmissionNo'] = this.admissionNo;
|
data['PatientTypeID'] = this.patientTypeID;
|
||||||
data['AdmissionDate'] = this.admissionDate;
|
data['ProjectID'] = this.projectID;
|
||||||
data['RoomID'] = this.roomID;
|
data['ProjectName'] = this.projectName;
|
||||||
data['BedID'] = this.bedID;
|
data['RadResult'] = this.radResult;
|
||||||
data['NursingStationID'] = this.nursingStationID;
|
data['SessionID'] = this.sessionID;
|
||||||
data['Description'] = this.description;
|
data['SetupID'] = this.setupID;
|
||||||
data['NationalityName'] = this.nationalityName;
|
data['To'] = this.to;
|
||||||
data['NationalityNameN'] = this.nationalityNameN;
|
data['TokenID'] = this.tokenID;
|
||||||
data['ReferralDoctor'] = this.referralDoctor;
|
data['VersionID'] = this.versionID;
|
||||||
data['ReferringDoctor'] = this.referringDoctor;
|
|
||||||
data['ReferralClinic'] = this.referralClinic;
|
|
||||||
data['ReferringClinic'] = this.referringClinic;
|
|
||||||
data['ReferralStatus'] = this.referralStatus;
|
|
||||||
data['ReferralDate'] = this.referralDate;
|
|
||||||
data['ReferringDoctorRemarks'] = this.referringDoctorRemarks;
|
|
||||||
data['ReferredDoctorRemarks'] = this.referredDoctorRemarks;
|
|
||||||
data['ReferralResponseOn'] = this.referralResponseOn;
|
|
||||||
data['Priority'] = this.priority;
|
|
||||||
data['Frequency'] = this.frequency;
|
|
||||||
data['MAXResponseTime'] = this.mAXResponseTime;
|
|
||||||
data['DischargeDate'] = this.dischargeDate;
|
|
||||||
data['ClinicID'] = this.clinicID;
|
|
||||||
data['Age'] = this.age;
|
|
||||||
data['ClinicDescription'] = this.clinicDescription;
|
|
||||||
data['FrequencyDescription'] = this.frequencyDescription;
|
|
||||||
data['GenderDescription'] = this.genderDescription;
|
|
||||||
data['IsDoctorLate'] = this.isDoctorLate;
|
|
||||||
data['IsDoctorResponse'] = this.isDoctorResponse;
|
|
||||||
data['NursingStationName'] = this.nursingStationName;
|
|
||||||
data['PriorityDescription'] = this.priorityDescription;
|
|
||||||
data['ReferringClinicDescription'] = this.referringClinicDescription;
|
|
||||||
data['ReferringDoctorName'] = this.referringDoctorName;
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue