Merge branch 'medical_profile' into 'master'
Medical profile See merge request Cloud_Solution/diplomatic-quarter!12merge-requests/13/merge
commit
1ab34df4f7
@ -0,0 +1,156 @@
|
|||||||
|
import 'package:diplomaticquarterapp/uitl/date_uitl.dart';
|
||||||
|
|
||||||
|
class PatientLabOrders {
|
||||||
|
int actualDoctorRate;
|
||||||
|
String clinicDescription;
|
||||||
|
String clinicDescriptionEnglish;
|
||||||
|
Null clinicDescriptionN;
|
||||||
|
int clinicID;
|
||||||
|
int doctorID;
|
||||||
|
String doctorImageURL;
|
||||||
|
String doctorName;
|
||||||
|
String doctorNameEnglish;
|
||||||
|
Null doctorNameN;
|
||||||
|
int doctorRate;
|
||||||
|
String doctorTitle;
|
||||||
|
int gender;
|
||||||
|
String genderDescription;
|
||||||
|
String invoiceNo;
|
||||||
|
bool isActiveDoctorProfile;
|
||||||
|
bool isDoctorAllowVedioCall;
|
||||||
|
bool isExecludeDoctor;
|
||||||
|
bool isInOutPatient;
|
||||||
|
String isInOutPatientDescription;
|
||||||
|
String isInOutPatientDescriptionN;
|
||||||
|
bool isRead;
|
||||||
|
String nationalityFlagURL;
|
||||||
|
int noOfPatientsRate;
|
||||||
|
DateTime orderDate;
|
||||||
|
String orderNo;
|
||||||
|
String patientID;
|
||||||
|
String projectID;
|
||||||
|
String projectName;
|
||||||
|
Null projectNameN;
|
||||||
|
String qR;
|
||||||
|
String setupID;
|
||||||
|
List<String> speciality;
|
||||||
|
|
||||||
|
PatientLabOrders(
|
||||||
|
{this.actualDoctorRate,
|
||||||
|
this.clinicDescription,
|
||||||
|
this.clinicDescriptionEnglish,
|
||||||
|
this.clinicDescriptionN,
|
||||||
|
this.clinicID,
|
||||||
|
this.doctorID,
|
||||||
|
this.doctorImageURL,
|
||||||
|
this.doctorName,
|
||||||
|
this.doctorNameEnglish,
|
||||||
|
this.doctorNameN,
|
||||||
|
this.doctorRate,
|
||||||
|
this.doctorTitle,
|
||||||
|
this.gender,
|
||||||
|
this.genderDescription,
|
||||||
|
this.invoiceNo,
|
||||||
|
this.isActiveDoctorProfile,
|
||||||
|
this.isDoctorAllowVedioCall,
|
||||||
|
this.isExecludeDoctor,
|
||||||
|
this.isInOutPatient,
|
||||||
|
this.isInOutPatientDescription,
|
||||||
|
this.isInOutPatientDescriptionN,
|
||||||
|
this.isRead,
|
||||||
|
this.nationalityFlagURL,
|
||||||
|
this.noOfPatientsRate,
|
||||||
|
this.orderDate,
|
||||||
|
this.orderNo,
|
||||||
|
this.patientID,
|
||||||
|
this.projectID,
|
||||||
|
this.projectName,
|
||||||
|
this.projectNameN,
|
||||||
|
this.qR,
|
||||||
|
this.setupID,
|
||||||
|
this.speciality});
|
||||||
|
|
||||||
|
PatientLabOrders.fromJson(Map<String, dynamic> json) {
|
||||||
|
actualDoctorRate = json['ActualDoctorRate'];
|
||||||
|
clinicDescription = json['ClinicDescription'];
|
||||||
|
clinicDescriptionEnglish = json['ClinicDescriptionEnglish'];
|
||||||
|
clinicDescriptionN = json['ClinicDescriptionN'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
doctorImageURL = json['DoctorImageURL'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
doctorNameEnglish = json['DoctorNameEnglish'];
|
||||||
|
doctorNameN = json['DoctorNameN'];
|
||||||
|
doctorRate = json['DoctorRate'];
|
||||||
|
doctorTitle = json['DoctorTitle'];
|
||||||
|
gender = json['Gender'];
|
||||||
|
genderDescription = json['GenderDescription'];
|
||||||
|
invoiceNo = json['InvoiceNo'];
|
||||||
|
isActiveDoctorProfile = json['IsActiveDoctorProfile'];
|
||||||
|
isDoctorAllowVedioCall = json['IsDoctorAllowVedioCall'];
|
||||||
|
isExecludeDoctor = json['IsExecludeDoctor'];
|
||||||
|
isInOutPatient = json['IsInOutPatient'];
|
||||||
|
isInOutPatientDescription = json['IsInOutPatientDescription'];
|
||||||
|
isInOutPatientDescriptionN = json['IsInOutPatientDescriptionN'];
|
||||||
|
isRead = json['IsRead'];
|
||||||
|
nationalityFlagURL = json['NationalityFlagURL'];
|
||||||
|
noOfPatientsRate = json['NoOfPatientsRate'];
|
||||||
|
orderDate = DateUtil.convertStringToDate(json['OrderDate']);
|
||||||
|
orderNo = json['OrderNo'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
projectNameN = json['ProjectNameN'];
|
||||||
|
qR = json['QR'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
// speciality = json['Speciality'].cast<String>();
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['ActualDoctorRate'] = this.actualDoctorRate;
|
||||||
|
data['ClinicDescription'] = this.clinicDescription;
|
||||||
|
data['ClinicDescriptionEnglish'] = this.clinicDescriptionEnglish;
|
||||||
|
data['ClinicDescriptionN'] = this.clinicDescriptionN;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
data['DoctorImageURL'] = this.doctorImageURL;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
data['DoctorNameEnglish'] = this.doctorNameEnglish;
|
||||||
|
data['DoctorNameN'] = this.doctorNameN;
|
||||||
|
data['DoctorRate'] = this.doctorRate;
|
||||||
|
data['DoctorTitle'] = this.doctorTitle;
|
||||||
|
data['Gender'] = this.gender;
|
||||||
|
data['GenderDescription'] = this.genderDescription;
|
||||||
|
data['InvoiceNo'] = this.invoiceNo;
|
||||||
|
data['IsActiveDoctorProfile'] = this.isActiveDoctorProfile;
|
||||||
|
data['IsDoctorAllowVedioCall'] = this.isDoctorAllowVedioCall;
|
||||||
|
data['IsExecludeDoctor'] = this.isExecludeDoctor;
|
||||||
|
data['IsInOutPatient'] = this.isInOutPatient;
|
||||||
|
data['IsInOutPatientDescription'] = this.isInOutPatientDescription;
|
||||||
|
data['IsInOutPatientDescriptionN'] = this.isInOutPatientDescriptionN;
|
||||||
|
data['IsRead'] = this.isRead;
|
||||||
|
data['NationalityFlagURL'] = this.nationalityFlagURL;
|
||||||
|
data['NoOfPatientsRate'] = this.noOfPatientsRate;
|
||||||
|
data['OrderDate'] = this.orderDate;
|
||||||
|
data['OrderNo'] = this.orderNo;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ProjectName'] = this.projectName;
|
||||||
|
data['ProjectNameN'] = this.projectNameN;
|
||||||
|
data['QR'] = this.qR;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['Speciality'] = this.speciality;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class PatientLabOrdersList {
|
||||||
|
String filterName = "";
|
||||||
|
List<PatientLabOrders> patientLabOrdersList = List();
|
||||||
|
|
||||||
|
PatientLabOrdersList(
|
||||||
|
{this.filterName, PatientLabOrders patientDoctorAppointment}) {
|
||||||
|
patientLabOrdersList.add(patientDoctorAppointment);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
class PatientLabSpecialResult {
|
||||||
|
String invoiceNo;
|
||||||
|
String moduleID;
|
||||||
|
String resultData;
|
||||||
|
String resultDataHTML;
|
||||||
|
Null resultDataTxt;
|
||||||
|
|
||||||
|
PatientLabSpecialResult(
|
||||||
|
{this.invoiceNo,
|
||||||
|
this.moduleID,
|
||||||
|
this.resultData,
|
||||||
|
this.resultDataHTML,
|
||||||
|
this.resultDataTxt});
|
||||||
|
|
||||||
|
PatientLabSpecialResult.fromJson(Map<String, dynamic> json) {
|
||||||
|
invoiceNo = json['InvoiceNo'];
|
||||||
|
moduleID = json['ModuleID'];
|
||||||
|
resultData = json['ResultData'];
|
||||||
|
resultDataHTML = json['ResultDataHTML'];
|
||||||
|
resultDataTxt = json['ResultDataTxt'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['InvoiceNo'] = this.invoiceNo;
|
||||||
|
data['ModuleID'] = this.moduleID;
|
||||||
|
data['ResultData'] = this.resultData;
|
||||||
|
data['ResultDataHTML'] = this.resultDataHTML;
|
||||||
|
data['ResultDataTxt'] = this.resultDataTxt;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,64 @@
|
|||||||
|
class RequestPatientLabOrders {
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int patientID;
|
||||||
|
String tokenID;
|
||||||
|
int patientTypeID;
|
||||||
|
int patientType;
|
||||||
|
|
||||||
|
RequestPatientLabOrders(
|
||||||
|
{this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.patientID,
|
||||||
|
this.tokenID,
|
||||||
|
this.patientTypeID,
|
||||||
|
this.patientType});
|
||||||
|
|
||||||
|
RequestPatientLabOrders.fromJson(Map<String, dynamic> json) {
|
||||||
|
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'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
patientTypeID = json['PatientTypeID'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
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;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['PatientTypeID'] = this.patientTypeID;
|
||||||
|
data['PatientType'] = this.patientType;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,84 @@
|
|||||||
|
class RequestPatientLabSpecialResult {
|
||||||
|
String invoiceNo;
|
||||||
|
String orderNo;
|
||||||
|
String setupID;
|
||||||
|
String projectID;
|
||||||
|
int clinicID;
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int patientID;
|
||||||
|
String tokenID;
|
||||||
|
int patientTypeID;
|
||||||
|
int patientType;
|
||||||
|
|
||||||
|
RequestPatientLabSpecialResult(
|
||||||
|
{this.invoiceNo,
|
||||||
|
this.orderNo,
|
||||||
|
this.setupID,
|
||||||
|
this.projectID,
|
||||||
|
this.clinicID,
|
||||||
|
this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.patientID,
|
||||||
|
this.tokenID,
|
||||||
|
this.patientTypeID,
|
||||||
|
this.patientType});
|
||||||
|
|
||||||
|
RequestPatientLabSpecialResult.fromJson(Map<String, dynamic> json) {
|
||||||
|
invoiceNo = json['InvoiceNo'];
|
||||||
|
orderNo = json['OrderNo'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
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'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
patientTypeID = json['PatientTypeID'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['InvoiceNo'] = this.invoiceNo;
|
||||||
|
data['OrderNo'] = this.orderNo;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
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;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['PatientTypeID'] = this.patientTypeID;
|
||||||
|
data['PatientType'] = this.patientType;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,112 @@
|
|||||||
|
class RequestSendLabReportEmail {
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int patientID;
|
||||||
|
String tokenID;
|
||||||
|
int patientTypeID;
|
||||||
|
int patientType;
|
||||||
|
String to;
|
||||||
|
String dateofBirth;
|
||||||
|
String patientIditificationNum;
|
||||||
|
String patientMobileNumber;
|
||||||
|
String patientName;
|
||||||
|
String setupID;
|
||||||
|
String projectName;
|
||||||
|
String clinicName;
|
||||||
|
String doctorName;
|
||||||
|
String projectID;
|
||||||
|
String invoiceNo;
|
||||||
|
String orderDate;
|
||||||
|
|
||||||
|
RequestSendLabReportEmail(
|
||||||
|
{this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.patientID,
|
||||||
|
this.tokenID,
|
||||||
|
this.patientTypeID,
|
||||||
|
this.patientType,
|
||||||
|
this.to,
|
||||||
|
this.dateofBirth,
|
||||||
|
this.patientIditificationNum,
|
||||||
|
this.patientMobileNumber,
|
||||||
|
this.patientName,
|
||||||
|
this.setupID,
|
||||||
|
this.projectName,
|
||||||
|
this.clinicName,
|
||||||
|
this.doctorName,
|
||||||
|
this.projectID,
|
||||||
|
this.invoiceNo,
|
||||||
|
this.orderDate});
|
||||||
|
|
||||||
|
RequestSendLabReportEmail.fromJson(Map<String, dynamic> json) {
|
||||||
|
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'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
patientTypeID = json['PatientTypeID'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
to = json['To'];
|
||||||
|
dateofBirth = json['DateofBirth'];
|
||||||
|
patientIditificationNum = json['PatientIditificationNum'];
|
||||||
|
patientMobileNumber = json['PatientMobileNumber'];
|
||||||
|
patientName = json['PatientName'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
clinicName = json['ClinicName'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
invoiceNo = json['InvoiceNo'];
|
||||||
|
orderDate = json['OrderDate'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
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;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['PatientTypeID'] = this.patientTypeID;
|
||||||
|
data['PatientType'] = this.patientType;
|
||||||
|
data['To'] = this.to;
|
||||||
|
data['DateofBirth'] = this.dateofBirth;
|
||||||
|
data['PatientIditificationNum'] = this.patientIditificationNum;
|
||||||
|
data['PatientMobileNumber'] = this.patientMobileNumber;
|
||||||
|
data['PatientName'] = this.patientName;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['ProjectName'] = this.projectName;
|
||||||
|
data['ClinicName'] = this.clinicName;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['InvoiceNo'] = this.invoiceNo;
|
||||||
|
data['OrderDate'] = this.orderDate;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,108 @@
|
|||||||
|
class PharmacyPrescriptions {
|
||||||
|
String expiryDate;
|
||||||
|
double sellingPrice;
|
||||||
|
int quantity;
|
||||||
|
int itemID;
|
||||||
|
int locationID;
|
||||||
|
int projectID;
|
||||||
|
String setupID;
|
||||||
|
String locationDescription;
|
||||||
|
Null locationDescriptionN;
|
||||||
|
String itemDescription;
|
||||||
|
Null itemDescriptionN;
|
||||||
|
String alias;
|
||||||
|
int locationTypeID;
|
||||||
|
int barcode;
|
||||||
|
Null companybarcode;
|
||||||
|
int cityID;
|
||||||
|
String cityName;
|
||||||
|
int distanceInKilometers;
|
||||||
|
String latitude;
|
||||||
|
int locationType;
|
||||||
|
String longitude;
|
||||||
|
String phoneNumber;
|
||||||
|
String projectImageURL;
|
||||||
|
Null sortOrder;
|
||||||
|
|
||||||
|
PharmacyPrescriptions(
|
||||||
|
{this.expiryDate,
|
||||||
|
this.sellingPrice,
|
||||||
|
this.quantity,
|
||||||
|
this.itemID,
|
||||||
|
this.locationID,
|
||||||
|
this.projectID,
|
||||||
|
this.setupID,
|
||||||
|
this.locationDescription,
|
||||||
|
this.locationDescriptionN,
|
||||||
|
this.itemDescription,
|
||||||
|
this.itemDescriptionN,
|
||||||
|
this.alias,
|
||||||
|
this.locationTypeID,
|
||||||
|
this.barcode,
|
||||||
|
this.companybarcode,
|
||||||
|
this.cityID,
|
||||||
|
this.cityName,
|
||||||
|
this.distanceInKilometers,
|
||||||
|
this.latitude,
|
||||||
|
this.locationType,
|
||||||
|
this.longitude,
|
||||||
|
this.phoneNumber,
|
||||||
|
this.projectImageURL,
|
||||||
|
this.sortOrder});
|
||||||
|
|
||||||
|
PharmacyPrescriptions.fromJson(Map<String, dynamic> json) {
|
||||||
|
expiryDate = json['ExpiryDate'];
|
||||||
|
sellingPrice = json['SellingPrice'];
|
||||||
|
quantity = json['Quantity'];
|
||||||
|
itemID = json['ItemID'];
|
||||||
|
locationID = json['LocationID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
locationDescription = json['LocationDescription'];
|
||||||
|
locationDescriptionN = json['LocationDescriptionN'];
|
||||||
|
itemDescription = json['ItemDescription'];
|
||||||
|
itemDescriptionN = json['ItemDescriptionN'];
|
||||||
|
alias = json['Alias'];
|
||||||
|
locationTypeID = json['LocationTypeID'];
|
||||||
|
barcode = json['Barcode'];
|
||||||
|
companybarcode = json['Companybarcode'];
|
||||||
|
cityID = json['CityID'];
|
||||||
|
cityName = json['CityName'];
|
||||||
|
distanceInKilometers = json['DistanceInKilometers'];
|
||||||
|
latitude = json['Latitude'];
|
||||||
|
locationType = json['LocationType'];
|
||||||
|
longitude = json['Longitude'];
|
||||||
|
phoneNumber = json['PhoneNumber'];
|
||||||
|
projectImageURL = json['ProjectImageURL'];
|
||||||
|
sortOrder = json['SortOrder'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['ExpiryDate'] = this.expiryDate;
|
||||||
|
data['SellingPrice'] = this.sellingPrice;
|
||||||
|
data['Quantity'] = this.quantity;
|
||||||
|
data['ItemID'] = this.itemID;
|
||||||
|
data['LocationID'] = this.locationID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['LocationDescription'] = this.locationDescription;
|
||||||
|
data['LocationDescriptionN'] = this.locationDescriptionN;
|
||||||
|
data['ItemDescription'] = this.itemDescription;
|
||||||
|
data['ItemDescriptionN'] = this.itemDescriptionN;
|
||||||
|
data['Alias'] = this.alias;
|
||||||
|
data['LocationTypeID'] = this.locationTypeID;
|
||||||
|
data['Barcode'] = this.barcode;
|
||||||
|
data['Companybarcode'] = this.companybarcode;
|
||||||
|
data['CityID'] = this.cityID;
|
||||||
|
data['CityName'] = this.cityName;
|
||||||
|
data['DistanceInKilometers'] = this.distanceInKilometers;
|
||||||
|
data['Latitude'] = this.latitude;
|
||||||
|
data['LocationType'] = this.locationType;
|
||||||
|
data['Longitude'] = this.longitude;
|
||||||
|
data['PhoneNumber'] = this.phoneNumber;
|
||||||
|
data['ProjectImageURL'] = this.projectImageURL;
|
||||||
|
data['SortOrder'] = this.sortOrder;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,144 @@
|
|||||||
|
class PrescriptionReportEnh {
|
||||||
|
String address;
|
||||||
|
int appointmentNo;
|
||||||
|
String clinic;
|
||||||
|
Null companyName;
|
||||||
|
int days;
|
||||||
|
String doctorName;
|
||||||
|
int doseDailyQuantity;
|
||||||
|
String frequency;
|
||||||
|
int frequencyNumber;
|
||||||
|
Null image;
|
||||||
|
Null imageExtension;
|
||||||
|
String imageSRCUrl;
|
||||||
|
Null imageString;
|
||||||
|
String imageThumbUrl;
|
||||||
|
String isCovered;
|
||||||
|
String itemDescription;
|
||||||
|
int itemID;
|
||||||
|
String orderDate;
|
||||||
|
int patientID;
|
||||||
|
String patientName;
|
||||||
|
String phoneOffice1;
|
||||||
|
Null prescriptionQR;
|
||||||
|
int prescriptionTimes;
|
||||||
|
Null productImage;
|
||||||
|
Null productImageBase64;
|
||||||
|
String productImageString;
|
||||||
|
int projectID;
|
||||||
|
String projectName;
|
||||||
|
String remarks;
|
||||||
|
String route;
|
||||||
|
String sKU;
|
||||||
|
int scaleOffset;
|
||||||
|
String startDate;
|
||||||
|
|
||||||
|
PrescriptionReportEnh(
|
||||||
|
{this.address,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.clinic,
|
||||||
|
this.companyName,
|
||||||
|
this.days,
|
||||||
|
this.doctorName,
|
||||||
|
this.doseDailyQuantity,
|
||||||
|
this.frequency,
|
||||||
|
this.frequencyNumber,
|
||||||
|
this.image,
|
||||||
|
this.imageExtension,
|
||||||
|
this.imageSRCUrl,
|
||||||
|
this.imageString,
|
||||||
|
this.imageThumbUrl,
|
||||||
|
this.isCovered,
|
||||||
|
this.itemDescription,
|
||||||
|
this.itemID,
|
||||||
|
this.orderDate,
|
||||||
|
this.patientID,
|
||||||
|
this.patientName,
|
||||||
|
this.phoneOffice1,
|
||||||
|
this.prescriptionQR,
|
||||||
|
this.prescriptionTimes,
|
||||||
|
this.productImage,
|
||||||
|
this.productImageBase64,
|
||||||
|
this.productImageString,
|
||||||
|
this.projectID,
|
||||||
|
this.projectName,
|
||||||
|
this.remarks,
|
||||||
|
this.route,
|
||||||
|
this.sKU,
|
||||||
|
this.scaleOffset,
|
||||||
|
this.startDate});
|
||||||
|
|
||||||
|
PrescriptionReportEnh.fromJson(Map<String, dynamic> json) {
|
||||||
|
address = json['Address'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
clinic = json['Clinic'];
|
||||||
|
companyName = json['CompanyName'];
|
||||||
|
days = json['Days'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
doseDailyQuantity = json['DoseDailyQuantity'];
|
||||||
|
frequency = json['Frequency'];
|
||||||
|
frequencyNumber = json['FrequencyNumber'];
|
||||||
|
image = json['Image'];
|
||||||
|
imageExtension = json['ImageExtension'];
|
||||||
|
imageSRCUrl = json['ImageSRCUrl'];
|
||||||
|
imageString = json['ImageString'];
|
||||||
|
imageThumbUrl = json['ImageThumbUrl'];
|
||||||
|
isCovered = json['IsCovered'];
|
||||||
|
itemDescription = json['ItemDescription'];
|
||||||
|
itemID = json['ItemID'];
|
||||||
|
orderDate = json['OrderDate'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
patientName = json['PatientName'];
|
||||||
|
phoneOffice1 = json['PhoneOffice1'];
|
||||||
|
prescriptionQR = json['PrescriptionQR'];
|
||||||
|
prescriptionTimes = json['PrescriptionTimes'];
|
||||||
|
productImage = json['ProductImage'];
|
||||||
|
productImageBase64 = json['ProductImageBase64'];
|
||||||
|
productImageString = json['ProductImageString'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
remarks = json['Remarks'];
|
||||||
|
route = json['Route'];
|
||||||
|
sKU = json['SKU'];
|
||||||
|
scaleOffset = json['ScaleOffset'];
|
||||||
|
startDate = json['StartDate'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['Address'] = this.address;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['Clinic'] = this.clinic;
|
||||||
|
data['CompanyName'] = this.companyName;
|
||||||
|
data['Days'] = this.days;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
data['DoseDailyQuantity'] = this.doseDailyQuantity;
|
||||||
|
data['Frequency'] = this.frequency;
|
||||||
|
data['FrequencyNumber'] = this.frequencyNumber;
|
||||||
|
data['Image'] = this.image;
|
||||||
|
data['ImageExtension'] = this.imageExtension;
|
||||||
|
data['ImageSRCUrl'] = this.imageSRCUrl;
|
||||||
|
data['ImageString'] = this.imageString;
|
||||||
|
data['ImageThumbUrl'] = this.imageThumbUrl;
|
||||||
|
data['IsCovered'] = this.isCovered;
|
||||||
|
data['ItemDescription'] = this.itemDescription;
|
||||||
|
data['ItemID'] = this.itemID;
|
||||||
|
data['OrderDate'] = this.orderDate;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['PatientName'] = this.patientName;
|
||||||
|
data['PhoneOffice1'] = this.phoneOffice1;
|
||||||
|
data['PrescriptionQR'] = this.prescriptionQR;
|
||||||
|
data['PrescriptionTimes'] = this.prescriptionTimes;
|
||||||
|
data['ProductImage'] = this.productImage;
|
||||||
|
data['ProductImageBase64'] = this.productImageBase64;
|
||||||
|
data['ProductImageString'] = this.productImageString;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ProjectName'] = this.projectName;
|
||||||
|
data['Remarks'] = this.remarks;
|
||||||
|
data['Route'] = this.route;
|
||||||
|
data['SKU'] = this.sKU;
|
||||||
|
data['ScaleOffset'] = this.scaleOffset;
|
||||||
|
data['StartDate'] = this.startDate;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,60 @@
|
|||||||
|
class RequestGetListPharmacyForPrescriptions {
|
||||||
|
int latitude;
|
||||||
|
int longitude;
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int itemID;
|
||||||
|
|
||||||
|
RequestGetListPharmacyForPrescriptions(
|
||||||
|
{this.latitude,
|
||||||
|
this.longitude,
|
||||||
|
this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.itemID});
|
||||||
|
|
||||||
|
RequestGetListPharmacyForPrescriptions.fromJson(Map<String, dynamic> json) {
|
||||||
|
latitude = json['Latitude'];
|
||||||
|
longitude = json['Longitude'];
|
||||||
|
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'];
|
||||||
|
itemID = json['ItemID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['Latitude'] = this.latitude;
|
||||||
|
data['Longitude'] = this.longitude;
|
||||||
|
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;
|
||||||
|
data['ItemID'] = this.itemID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,84 @@
|
|||||||
|
class RequestPrescriptionReportEnh {
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int patientID;
|
||||||
|
String tokenID;
|
||||||
|
int patientTypeID;
|
||||||
|
int patientType;
|
||||||
|
int appointmentNo;
|
||||||
|
String setupID;
|
||||||
|
int episodeID;
|
||||||
|
int clinicID;
|
||||||
|
int projectID;
|
||||||
|
|
||||||
|
RequestPrescriptionReportEnh(
|
||||||
|
{this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.patientID,
|
||||||
|
this.tokenID,
|
||||||
|
this.patientTypeID,
|
||||||
|
this.patientType,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.setupID,
|
||||||
|
this.episodeID,
|
||||||
|
this.clinicID,
|
||||||
|
this.projectID});
|
||||||
|
|
||||||
|
RequestPrescriptionReportEnh.fromJson(Map<String, dynamic> json) {
|
||||||
|
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'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
patientTypeID = json['PatientTypeID'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
episodeID = json['EpisodeID'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
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;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['PatientTypeID'] = this.patientTypeID;
|
||||||
|
data['PatientType'] = this.patientType;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['EpisodeID'] = this.episodeID;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,187 @@
|
|||||||
|
import 'package:diplomaticquarterapp/uitl/date_uitl.dart';
|
||||||
|
|
||||||
|
class FinalRadiology {
|
||||||
|
String setupID;
|
||||||
|
int projectID;
|
||||||
|
Null patientID;
|
||||||
|
int invoiceLineItemNo;
|
||||||
|
int invoiceNo;
|
||||||
|
int doctorID;
|
||||||
|
int clinicID;
|
||||||
|
DateTime orderDate;
|
||||||
|
String reportData;
|
||||||
|
String imageURL;
|
||||||
|
String procedureID;
|
||||||
|
int appointmentNo;
|
||||||
|
Null dIAPacsURL;
|
||||||
|
bool isRead;
|
||||||
|
String readOn;
|
||||||
|
var admissionNo;
|
||||||
|
bool isInOutPatient;
|
||||||
|
int actualDoctorRate;
|
||||||
|
String clinicDescription;
|
||||||
|
String dIAPACSURL;
|
||||||
|
String doctorImageURL;
|
||||||
|
String doctorName;
|
||||||
|
int doctorRate;
|
||||||
|
String doctorTitle;
|
||||||
|
int gender;
|
||||||
|
String genderDescription;
|
||||||
|
bool isActiveDoctorProfile;
|
||||||
|
bool isExecludeDoctor;
|
||||||
|
String isInOutPatientDescription;
|
||||||
|
String isInOutPatientDescriptionN;
|
||||||
|
String nationalityFlagURL;
|
||||||
|
int noOfPatientsRate;
|
||||||
|
int orderNo;
|
||||||
|
String projectName;
|
||||||
|
String qR;
|
||||||
|
String reportDataHTML;
|
||||||
|
String reportDataTextString;
|
||||||
|
List<String> speciality;
|
||||||
|
bool isCVI;
|
||||||
|
bool isRadMedicalReport;
|
||||||
|
|
||||||
|
FinalRadiology(
|
||||||
|
{this.setupID,
|
||||||
|
this.projectID,
|
||||||
|
this.patientID,
|
||||||
|
this.invoiceLineItemNo,
|
||||||
|
this.invoiceNo,
|
||||||
|
this.doctorID,
|
||||||
|
this.clinicID,
|
||||||
|
this.orderDate,
|
||||||
|
this.reportData,
|
||||||
|
this.imageURL,
|
||||||
|
this.procedureID,
|
||||||
|
this.appointmentNo,
|
||||||
|
this.dIAPacsURL,
|
||||||
|
this.isRead,
|
||||||
|
this.readOn,
|
||||||
|
this.admissionNo,
|
||||||
|
this.isInOutPatient,
|
||||||
|
this.actualDoctorRate,
|
||||||
|
this.clinicDescription,
|
||||||
|
this.dIAPACSURL,
|
||||||
|
this.doctorImageURL,
|
||||||
|
this.doctorName,
|
||||||
|
this.doctorRate,
|
||||||
|
this.doctorTitle,
|
||||||
|
this.gender,
|
||||||
|
this.genderDescription,
|
||||||
|
this.isActiveDoctorProfile,
|
||||||
|
this.isExecludeDoctor,
|
||||||
|
this.isInOutPatientDescription,
|
||||||
|
this.isInOutPatientDescriptionN,
|
||||||
|
this.nationalityFlagURL,
|
||||||
|
this.noOfPatientsRate,
|
||||||
|
this.orderNo,
|
||||||
|
this.projectName,
|
||||||
|
this.qR,
|
||||||
|
this.reportDataHTML,
|
||||||
|
this.reportDataTextString,
|
||||||
|
this.speciality,
|
||||||
|
this.isCVI,
|
||||||
|
this.isRadMedicalReport});
|
||||||
|
|
||||||
|
FinalRadiology.fromJson(Map<String, dynamic> json) {
|
||||||
|
try {
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
invoiceLineItemNo = json['InvoiceLineItemNo'];
|
||||||
|
invoiceNo = json['InvoiceNo'];
|
||||||
|
doctorID = json['DoctorID'];
|
||||||
|
clinicID = json['ClinicID'];
|
||||||
|
orderDate = DateUtil.convertStringToDate(json['OrderDate']);
|
||||||
|
reportData = json['ReportData'];
|
||||||
|
imageURL = json['ImageURL'];
|
||||||
|
procedureID = json['ProcedureID'];
|
||||||
|
appointmentNo = json['AppointmentNo'];
|
||||||
|
dIAPacsURL = json['DIAPacsURL'];
|
||||||
|
isRead = json['IsRead'];
|
||||||
|
readOn = json['ReadOn'];
|
||||||
|
admissionNo = json['AdmissionNo'];
|
||||||
|
isInOutPatient = json['IsInOutPatient'];
|
||||||
|
actualDoctorRate = json['ActualDoctorRate'];
|
||||||
|
clinicDescription = json['ClinicDescription'];
|
||||||
|
dIAPACSURL = json['DIA_PACS_URL'];
|
||||||
|
doctorImageURL = json['DoctorImageURL'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
doctorRate = json['DoctorRate'];
|
||||||
|
doctorTitle = json['DoctorTitle'];
|
||||||
|
gender = json['Gender'];
|
||||||
|
genderDescription = json['GenderDescription'];
|
||||||
|
isActiveDoctorProfile = json['IsActiveDoctorProfile'];
|
||||||
|
isExecludeDoctor = json['IsExecludeDoctor'];
|
||||||
|
isInOutPatientDescription = json['IsInOutPatientDescription'];
|
||||||
|
isInOutPatientDescriptionN = json['IsInOutPatientDescriptionN'];
|
||||||
|
nationalityFlagURL = json['NationalityFlagURL'];
|
||||||
|
noOfPatientsRate = json['NoOfPatientsRate'];
|
||||||
|
orderNo = json['OrderNo'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
qR = json['QR'];
|
||||||
|
reportDataHTML = json['ReportDataHTML'];
|
||||||
|
reportDataTextString = json['ReportDataTextString'];
|
||||||
|
// speciality = json['Speciality'].cast<String>();
|
||||||
|
isCVI = json['isCVI'];
|
||||||
|
isRadMedicalReport = json['isRadMedicalReport'];
|
||||||
|
} catch (e) {
|
||||||
|
print(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['InvoiceLineItemNo'] = this.invoiceLineItemNo;
|
||||||
|
data['InvoiceNo'] = this.invoiceNo;
|
||||||
|
data['DoctorID'] = this.doctorID;
|
||||||
|
data['ClinicID'] = this.clinicID;
|
||||||
|
data['OrderDate'] = this.orderDate;
|
||||||
|
data['ReportData'] = this.reportData;
|
||||||
|
data['ImageURL'] = this.imageURL;
|
||||||
|
data['ProcedureID'] = this.procedureID;
|
||||||
|
data['AppointmentNo'] = this.appointmentNo;
|
||||||
|
data['DIAPacsURL'] = this.dIAPacsURL;
|
||||||
|
data['IsRead'] = this.isRead;
|
||||||
|
data['ReadOn'] = this.readOn;
|
||||||
|
data['AdmissionNo'] = this.admissionNo;
|
||||||
|
data['IsInOutPatient'] = this.isInOutPatient;
|
||||||
|
data['ActualDoctorRate'] = this.actualDoctorRate;
|
||||||
|
data['ClinicDescription'] = this.clinicDescription;
|
||||||
|
data['DIA_PACS_URL'] = this.dIAPACSURL;
|
||||||
|
data['DoctorImageURL'] = this.doctorImageURL;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
data['DoctorRate'] = this.doctorRate;
|
||||||
|
data['DoctorTitle'] = this.doctorTitle;
|
||||||
|
data['Gender'] = this.gender;
|
||||||
|
data['GenderDescription'] = this.genderDescription;
|
||||||
|
data['IsActiveDoctorProfile'] = this.isActiveDoctorProfile;
|
||||||
|
data['IsExecludeDoctor'] = this.isExecludeDoctor;
|
||||||
|
data['IsInOutPatientDescription'] = this.isInOutPatientDescription;
|
||||||
|
data['IsInOutPatientDescriptionN'] = this.isInOutPatientDescriptionN;
|
||||||
|
data['NationalityFlagURL'] = this.nationalityFlagURL;
|
||||||
|
data['NoOfPatientsRate'] = this.noOfPatientsRate;
|
||||||
|
data['OrderNo'] = this.orderNo;
|
||||||
|
data['ProjectName'] = this.projectName;
|
||||||
|
data['QR'] = this.qR;
|
||||||
|
data['ReportDataHTML'] = this.reportDataHTML;
|
||||||
|
data['ReportDataTextString'] = this.reportDataTextString;
|
||||||
|
data['Speciality'] = this.speciality;
|
||||||
|
data['isCVI'] = this.isCVI;
|
||||||
|
data['isRadMedicalReport'] = this.isRadMedicalReport;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class FinalRadiologyList {
|
||||||
|
String filterName = "";
|
||||||
|
List<FinalRadiology> finalRadiologyList = List();
|
||||||
|
|
||||||
|
FinalRadiologyList({this.filterName, FinalRadiology finalRadiology}) {
|
||||||
|
finalRadiologyList.add(finalRadiology);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,92 @@
|
|||||||
|
class RequestPatientRadOrdersDetails {
|
||||||
|
int projectID;
|
||||||
|
int orderNo;
|
||||||
|
int invoiceNo;
|
||||||
|
String setupID;
|
||||||
|
String procedureID;
|
||||||
|
bool isMedicalReport;
|
||||||
|
bool isCVI;
|
||||||
|
double versionID;
|
||||||
|
int channel;
|
||||||
|
int languageID;
|
||||||
|
String iPAdress;
|
||||||
|
String generalid;
|
||||||
|
int patientOutSA;
|
||||||
|
String sessionID;
|
||||||
|
bool isDentalAllowedBackend;
|
||||||
|
int deviceTypeID;
|
||||||
|
int patientID;
|
||||||
|
String tokenID;
|
||||||
|
int patientTypeID;
|
||||||
|
int patientType;
|
||||||
|
|
||||||
|
RequestPatientRadOrdersDetails(
|
||||||
|
{this.projectID,
|
||||||
|
this.orderNo,
|
||||||
|
this.invoiceNo,
|
||||||
|
this.setupID,
|
||||||
|
this.procedureID,
|
||||||
|
this.isMedicalReport,
|
||||||
|
this.isCVI,
|
||||||
|
this.versionID,
|
||||||
|
this.channel,
|
||||||
|
this.languageID,
|
||||||
|
this.iPAdress,
|
||||||
|
this.generalid,
|
||||||
|
this.patientOutSA,
|
||||||
|
this.sessionID,
|
||||||
|
this.isDentalAllowedBackend,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.patientID,
|
||||||
|
this.tokenID,
|
||||||
|
this.patientTypeID,
|
||||||
|
this.patientType});
|
||||||
|
|
||||||
|
RequestPatientRadOrdersDetails.fromJson(Map<String, dynamic> json) {
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
orderNo = json['OrderNo'];
|
||||||
|
invoiceNo = json['InvoiceNo'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
procedureID = json['ProcedureID'];
|
||||||
|
isMedicalReport = json['IsMedicalReport'];
|
||||||
|
isCVI = json['isCVI'];
|
||||||
|
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'];
|
||||||
|
patientID = json['PatientID'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
patientTypeID = json['PatientTypeID'];
|
||||||
|
patientType = json['PatientType'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['OrderNo'] = this.orderNo;
|
||||||
|
data['InvoiceNo'] = this.invoiceNo;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['ProcedureID'] = this.procedureID;
|
||||||
|
data['IsMedicalReport'] = this.isMedicalReport;
|
||||||
|
data['isCVI'] = this.isCVI;
|
||||||
|
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;
|
||||||
|
data['PatientID'] = this.patientID;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['PatientTypeID'] = this.patientTypeID;
|
||||||
|
data['PatientType'] = this.patientType;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,116 @@
|
|||||||
|
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;
|
||||||
|
|
||||||
|
RequestSendRadReportEmail(
|
||||||
|
{this.channel,
|
||||||
|
this.clinicName,
|
||||||
|
this.dateofBirth,
|
||||||
|
this.deviceTypeID,
|
||||||
|
this.doctorName,
|
||||||
|
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.patientTypeID,
|
||||||
|
this.projectID,
|
||||||
|
this.projectName,
|
||||||
|
this.radResult,
|
||||||
|
this.sessionID,
|
||||||
|
this.setupID,
|
||||||
|
this.to,
|
||||||
|
this.tokenID,
|
||||||
|
this.versionID});
|
||||||
|
|
||||||
|
RequestSendRadReportEmail.fromJson(Map<String, dynamic> json) {
|
||||||
|
channel = json['Channel'];
|
||||||
|
clinicName = json['ClinicName'];
|
||||||
|
dateofBirth = json['DateofBirth'];
|
||||||
|
deviceTypeID = json['DeviceTypeID'];
|
||||||
|
doctorName = json['DoctorName'];
|
||||||
|
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'];
|
||||||
|
patientTypeID = json['PatientTypeID'];
|
||||||
|
projectID = json['ProjectID'];
|
||||||
|
projectName = json['ProjectName'];
|
||||||
|
radResult = json['RadResult'];
|
||||||
|
sessionID = json['SessionID'];
|
||||||
|
setupID = json['SetupID'];
|
||||||
|
to = json['To'];
|
||||||
|
tokenID = json['TokenID'];
|
||||||
|
versionID = json['VersionID'];
|
||||||
|
}
|
||||||
|
|
||||||
|
Map<String, dynamic> toJson() {
|
||||||
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
||||||
|
data['Channel'] = this.channel;
|
||||||
|
data['ClinicName'] = this.clinicName;
|
||||||
|
data['DateofBirth'] = this.dateofBirth;
|
||||||
|
data['DeviceTypeID'] = this.deviceTypeID;
|
||||||
|
data['DoctorName'] = this.doctorName;
|
||||||
|
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['PatientTypeID'] = this.patientTypeID;
|
||||||
|
data['ProjectID'] = this.projectID;
|
||||||
|
data['ProjectName'] = this.projectName;
|
||||||
|
data['RadResult'] = this.radResult;
|
||||||
|
data['SessionID'] = this.sessionID;
|
||||||
|
data['SetupID'] = this.setupID;
|
||||||
|
data['To'] = this.to;
|
||||||
|
data['TokenID'] = this.tokenID;
|
||||||
|
data['VersionID'] = this.versionID;
|
||||||
|
return data;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,91 @@
|
|||||||
|
import 'package:diplomaticquarterapp/config/config.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/doctor_profile.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/doctor_rating.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/patient_doctor_appointment.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/reques_patient_doctor_appointmentt.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/request_doctor_profile.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/request_doctor_rating.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_special_result.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/request_patient_lab_orders.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/request_patient_lab_special_result.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/request_send_lab_report_email.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/service/base_service.dart';
|
||||||
|
import 'package:diplomaticquarterapp/uitl/app_toast.dart';
|
||||||
|
|
||||||
|
class LabsService extends BaseService {
|
||||||
|
|
||||||
|
|
||||||
|
RequestPatientLabOrders _requestPatientLabOrders = RequestPatientLabOrders();
|
||||||
|
List<PatientLabOrders> patientLabOrdersList = List();
|
||||||
|
|
||||||
|
|
||||||
|
Future getPatientLabOrdersList() async {
|
||||||
|
await baseAppClient.post(GET_Patient_LAB_ORDERS,
|
||||||
|
onSuccess: (dynamic response, int statusCode) {
|
||||||
|
patientLabOrdersList.clear();
|
||||||
|
response['ListPLO'].forEach((hospital) {
|
||||||
|
patientLabOrdersList
|
||||||
|
.add(PatientLabOrders.fromJson(hospital));
|
||||||
|
});
|
||||||
|
}, onFailure: (String error, int statusCode) {
|
||||||
|
hasError = true;
|
||||||
|
super.error = error;
|
||||||
|
}, body: _requestPatientLabOrders.toJson());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
RequestPatientLabSpecialResult _requestPatientLabSpecialResult = RequestPatientLabSpecialResult();
|
||||||
|
|
||||||
|
|
||||||
|
List<PatientLabSpecialResult> patientLabSpecialResult = List();
|
||||||
|
|
||||||
|
Future getLaboratoryResult(
|
||||||
|
{String projectID, int clinicID, String invoiceNo, String orderNo}) async {
|
||||||
|
hasError = false;
|
||||||
|
_requestPatientLabSpecialResult.projectID = projectID;
|
||||||
|
_requestPatientLabSpecialResult.clinicID = clinicID;
|
||||||
|
_requestPatientLabSpecialResult.invoiceNo = invoiceNo;//'1800296522';//;
|
||||||
|
_requestPatientLabSpecialResult.orderNo = orderNo;
|
||||||
|
|
||||||
|
await baseAppClient.post(GET_Patient_LAB_SPECIAL_RESULT,
|
||||||
|
onSuccess: (dynamic response, int statusCode) {
|
||||||
|
patientLabSpecialResult.clear();
|
||||||
|
response['ListPLSR'].forEach((hospital) {
|
||||||
|
patientLabSpecialResult
|
||||||
|
.add(PatientLabSpecialResult.fromJson(hospital));
|
||||||
|
});
|
||||||
|
}, onFailure: (String error, int statusCode) {
|
||||||
|
hasError = true;
|
||||||
|
super.error = error;
|
||||||
|
}, body: _requestPatientLabSpecialResult.toJson());
|
||||||
|
}
|
||||||
|
|
||||||
|
RequestSendLabReportEmail _requestSendLabReportEmail = RequestSendLabReportEmail();
|
||||||
|
|
||||||
|
Future sendLabReportEmail(
|
||||||
|
{PatientLabOrders patientLabOrder}) async {
|
||||||
|
|
||||||
|
_requestSendLabReportEmail.projectID = patientLabOrder.projectID;
|
||||||
|
_requestSendLabReportEmail.invoiceNo = patientLabOrder.invoiceNo;
|
||||||
|
_requestSendLabReportEmail.doctorName = patientLabOrder.doctorName;
|
||||||
|
_requestSendLabReportEmail.clinicName = patientLabOrder.clinicDescription;
|
||||||
|
_requestSendLabReportEmail.patientName = 'Tamer';//TODO Change it
|
||||||
|
_requestSendLabReportEmail.patientIditificationNum = '2344670985';//TODO change it
|
||||||
|
_requestSendLabReportEmail.dateofBirth = '/Date(536743800000+0300)/';//TODO change it
|
||||||
|
_requestSendLabReportEmail.to = 'Tamer.fanasheh@gmail.com';//TODO change it
|
||||||
|
_requestSendLabReportEmail.orderDate = '${patientLabOrder.orderDate.year}-${patientLabOrder.orderDate.month}-${patientLabOrder.orderDate.day}';
|
||||||
|
_requestSendLabReportEmail.patientMobileNumber = '537503378';//TODO change it
|
||||||
|
_requestSendLabReportEmail.projectName = patientLabOrder.projectName;
|
||||||
|
|
||||||
|
await baseAppClient.post(GET_Patient_LAB_SPECIAL_RESULT,
|
||||||
|
onSuccess: (dynamic response, int statusCode) {
|
||||||
|
AppToast.showSuccessToast(message: 'A copy has been sent to the email');
|
||||||
|
}, onFailure: (String error, int statusCode) {
|
||||||
|
hasError = true;
|
||||||
|
super.error = error;
|
||||||
|
}, body: _requestSendLabReportEmail.toJson());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,98 @@
|
|||||||
|
import 'package:diplomaticquarterapp/config/config.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/doctor_profile.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/doctor_rating.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/patient_doctor_appointment.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/reques_patient_doctor_appointmentt.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/request_doctor_profile.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/request_doctor_rating.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_special_result.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/request_patient_lab_orders.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/request_patient_lab_special_result.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/request_send_lab_report_email.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/radiology/final_radiology.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/radiology/request_send_rad_report_email.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/service/base_service.dart';
|
||||||
|
import 'package:diplomaticquarterapp/uitl/app_toast.dart';
|
||||||
|
|
||||||
|
class RadiologyService extends BaseService {
|
||||||
|
List<FinalRadiology> finalRadiologyList = List();
|
||||||
|
String url = '';
|
||||||
|
|
||||||
|
Future getRadImageURL({int invoiceNo, int lineItem,int projectId}) async {
|
||||||
|
hasError = false;
|
||||||
|
final Map<String, dynamic> body = new Map<String, dynamic>();
|
||||||
|
body['InvoiceNo'] = invoiceNo;
|
||||||
|
body['LineItemNo'] = lineItem;
|
||||||
|
body['ProjectID'] = projectId;
|
||||||
|
|
||||||
|
await baseAppClient.post(GET_RAD_IMAGE_URL,
|
||||||
|
isAllowAny: true,
|
||||||
|
onSuccess: (dynamic response, int statusCode) {
|
||||||
|
url = response['Data'];
|
||||||
|
}, onFailure: (String error, int statusCode) {
|
||||||
|
hasError = true;
|
||||||
|
super.error = error;
|
||||||
|
}, body: body);
|
||||||
|
}
|
||||||
|
|
||||||
|
Future getPatientRadOrders () async {
|
||||||
|
hasError = false;
|
||||||
|
await baseAppClient.post(GET_PATIENT_ORDERS,
|
||||||
|
onSuccess: (dynamic response, int statusCode) {
|
||||||
|
finalRadiologyList.clear();
|
||||||
|
response['FinalRadiologyList'].forEach((radiology) {
|
||||||
|
finalRadiologyList.add(FinalRadiology.fromJson(radiology));
|
||||||
|
});
|
||||||
|
}, onFailure: (String error, int statusCode) {
|
||||||
|
hasError = true;
|
||||||
|
super.error = error;
|
||||||
|
}, body: Map());
|
||||||
|
}
|
||||||
|
|
||||||
|
Future getPatientRadOrdersDetails() async {
|
||||||
|
hasError = false;
|
||||||
|
await baseAppClient.post(GET_PATIENT_ORDERS,
|
||||||
|
onSuccess: (dynamic response, int statusCode) {
|
||||||
|
finalRadiologyList.clear();
|
||||||
|
response['FinalRadiologyList'].forEach((radiology) {
|
||||||
|
finalRadiologyList.add(FinalRadiology.fromJson(radiology));
|
||||||
|
});
|
||||||
|
}, onFailure: (String error, int statusCode) {
|
||||||
|
hasError = true;
|
||||||
|
super.error = error;
|
||||||
|
}, body: Map());
|
||||||
|
}
|
||||||
|
|
||||||
|
RequestSendRadReportEmail _requestSendRadReportEmail =
|
||||||
|
RequestSendRadReportEmail();
|
||||||
|
|
||||||
|
Future sendRadReportEmail(
|
||||||
|
{FinalRadiology finalRadiology}) async {
|
||||||
|
_requestSendRadReportEmail.projectID = finalRadiology.projectID;
|
||||||
|
_requestSendRadReportEmail.clinicName = finalRadiology.clinicDescription;
|
||||||
|
_requestSendRadReportEmail.invoiceNo = finalRadiology.invoiceNo;
|
||||||
|
_requestSendRadReportEmail.setupID = finalRadiology.setupID;
|
||||||
|
_requestSendRadReportEmail.doctorName = finalRadiology.doctorName;
|
||||||
|
_requestSendRadReportEmail.orderDate = '${finalRadiology.orderDate.year}-${finalRadiology.orderDate.month}-${finalRadiology.orderDate.day}';
|
||||||
|
_requestSendRadReportEmail.patientIditificationNum = '2344670985';//TODO change it
|
||||||
|
_requestSendRadReportEmail.patientMobileNumber = '537503378';//TODO change it
|
||||||
|
_requestSendRadReportEmail.patientName = 'TAMER FANASHE';//TODO change it
|
||||||
|
_requestSendRadReportEmail.patientIditificationNum = '2344670985';//TODO change it
|
||||||
|
_requestSendRadReportEmail.projectName = finalRadiology.projectName;
|
||||||
|
_requestSendRadReportEmail.radResult = 'asd';//finalRadiology.reportData;
|
||||||
|
_requestSendRadReportEmail.to = 'Tamer.fanasheh@gmail.com';
|
||||||
|
_requestSendRadReportEmail.dateofBirth = '/Date(536743800000+0300)/';
|
||||||
|
|
||||||
|
hasError = false;
|
||||||
|
await baseAppClient.post(SEND_RAD_REPORT_EMAIL,
|
||||||
|
isAllowAny: true,
|
||||||
|
onSuccess: (dynamic response, int statusCode) {
|
||||||
|
|
||||||
|
},
|
||||||
|
onFailure: (String error, int statusCode) {
|
||||||
|
hasError = true;
|
||||||
|
super.error = error;
|
||||||
|
}, body: _requestSendRadReportEmail.toJson());
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,110 @@
|
|||||||
|
|
||||||
|
import 'package:diplomaticquarterapp/core/enum/filter_type.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/doctor_profile.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/doctor_rating.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/patient_doctor_appointment.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_special_result.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/service/medical/labs_service.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/service/medical/my_doctor_service.dart';
|
||||||
|
|
||||||
|
import '../../../locator.dart';
|
||||||
|
import '../base_view_model.dart';
|
||||||
|
|
||||||
|
class LabsViewModel extends BaseViewModel {
|
||||||
|
FilterType filterType = FilterType.Clinic;
|
||||||
|
LabsService _labsService = locator<LabsService>();
|
||||||
|
|
||||||
|
List<PatientLabOrdersList> _patientLabOrdersListClinic = List();
|
||||||
|
List<PatientLabOrdersList> _patientLabOrdersListHospital = List();
|
||||||
|
|
||||||
|
List<PatientLabOrdersList> get patientLabOrdersList =>
|
||||||
|
filterType == FilterType.Clinic
|
||||||
|
? _patientLabOrdersListClinic
|
||||||
|
: _patientLabOrdersListHospital;
|
||||||
|
|
||||||
|
void getLabs() async {
|
||||||
|
setState(ViewState.Busy);
|
||||||
|
await _labsService.getPatientLabOrdersList();
|
||||||
|
if (_labsService.hasError) {
|
||||||
|
error = _labsService.error;
|
||||||
|
setState(ViewState.Error);
|
||||||
|
} else {
|
||||||
|
_labsService.patientLabOrdersList.forEach((element) {
|
||||||
|
List<PatientLabOrdersList> patientLabOrdersClinic =
|
||||||
|
_patientLabOrdersListClinic
|
||||||
|
.where((elementClinic) =>
|
||||||
|
elementClinic.filterName == element.clinicDescription)
|
||||||
|
.toList();
|
||||||
|
|
||||||
|
if (patientLabOrdersClinic.length != 0) {
|
||||||
|
_patientLabOrdersListClinic[_patientLabOrdersListClinic
|
||||||
|
.indexOf(patientLabOrdersClinic[0])]
|
||||||
|
.patientLabOrdersList
|
||||||
|
.add(element);
|
||||||
|
} else {
|
||||||
|
_patientLabOrdersListClinic.add(PatientLabOrdersList(
|
||||||
|
filterName: element.clinicDescription,
|
||||||
|
patientDoctorAppointment: element));
|
||||||
|
}
|
||||||
|
|
||||||
|
// doctor list sort via project
|
||||||
|
List<PatientLabOrdersList> patientLabOrdersHospital =
|
||||||
|
_patientLabOrdersListHospital
|
||||||
|
.where(
|
||||||
|
(elementClinic) =>
|
||||||
|
elementClinic.filterName == element.projectName,
|
||||||
|
)
|
||||||
|
.toList();
|
||||||
|
|
||||||
|
if (patientLabOrdersHospital.length != 0) {
|
||||||
|
_patientLabOrdersListHospital[_patientLabOrdersListHospital
|
||||||
|
.indexOf(patientLabOrdersHospital[0])]
|
||||||
|
.patientLabOrdersList
|
||||||
|
.add(element);
|
||||||
|
} else {
|
||||||
|
_patientLabOrdersListHospital.add(PatientLabOrdersList(
|
||||||
|
filterName: element.projectName,
|
||||||
|
patientDoctorAppointment: element));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
setState(ViewState.Idle);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
setFilterType(FilterType filterType) {
|
||||||
|
this.filterType = filterType;
|
||||||
|
notifyListeners();
|
||||||
|
}
|
||||||
|
|
||||||
|
List<PatientLabSpecialResult> get patientLabSpecialResult =>
|
||||||
|
_labsService.patientLabSpecialResult;
|
||||||
|
|
||||||
|
getLaboratoryResult(
|
||||||
|
{String projectID,
|
||||||
|
int clinicID,
|
||||||
|
String invoiceNo,
|
||||||
|
String orderNo}) async {
|
||||||
|
setState(ViewState.Busy);
|
||||||
|
await _labsService.getLaboratoryResult(invoiceNo: invoiceNo,orderNo: orderNo,projectID: projectID,clinicID: clinicID);
|
||||||
|
if (_labsService.hasError) {
|
||||||
|
error = _labsService.error;
|
||||||
|
setState(ViewState.Error);
|
||||||
|
} else {
|
||||||
|
setState(ViewState.Idle);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sendLabReportEmail({PatientLabOrders patientLabOrder}) async {
|
||||||
|
setState(ViewState.Busy);
|
||||||
|
await _labsService.sendLabReportEmail(patientLabOrder: patientLabOrder);
|
||||||
|
if (_labsService.hasError) {
|
||||||
|
error = _labsService.error;
|
||||||
|
setState(ViewState.Error);
|
||||||
|
} else {
|
||||||
|
setState(ViewState.Idle);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,108 @@
|
|||||||
|
import 'package:diplomaticquarterapp/core/enum/filter_type.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/doctor_profile.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/doctor_rating.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/doctor/patient_doctor_appointment.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_special_result.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/radiology/final_radiology.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/service/medical/labs_service.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/service/medical/my_doctor_service.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/service/medical/radiology_service.dart';
|
||||||
|
import 'package:diplomaticquarterapp/uitl/app_toast.dart';
|
||||||
|
|
||||||
|
import '../../../locator.dart';
|
||||||
|
import '../base_view_model.dart';
|
||||||
|
|
||||||
|
class RadiologyViewModel extends BaseViewModel {
|
||||||
|
FilterType filterType = FilterType.Clinic;
|
||||||
|
RadiologyService _radiologyService = locator<RadiologyService>();
|
||||||
|
|
||||||
|
List<FinalRadiologyList> _finalRadiologyListClinic = List();
|
||||||
|
List<FinalRadiologyList> _finalRadiologyListHospital = List();
|
||||||
|
|
||||||
|
List<FinalRadiologyList> get finalRadiologyList =>
|
||||||
|
filterType == FilterType.Clinic
|
||||||
|
? _finalRadiologyListClinic
|
||||||
|
: _finalRadiologyListHospital;
|
||||||
|
|
||||||
|
void getPatientRadOrders() async {
|
||||||
|
setState(ViewState.Busy);
|
||||||
|
await _radiologyService.getPatientRadOrders();
|
||||||
|
if (_radiologyService.hasError) {
|
||||||
|
error = _radiologyService.error;
|
||||||
|
setState(ViewState.Error);
|
||||||
|
} else {
|
||||||
|
_radiologyService.finalRadiologyList.forEach((element) {
|
||||||
|
List<FinalRadiologyList> finalRadiologyListClinic =
|
||||||
|
_finalRadiologyListClinic
|
||||||
|
.where((elementClinic) =>
|
||||||
|
elementClinic.filterName == element.clinicDescription)
|
||||||
|
.toList();
|
||||||
|
|
||||||
|
if (finalRadiologyListClinic.length != 0) {
|
||||||
|
_finalRadiologyListClinic[
|
||||||
|
finalRadiologyListClinic.indexOf(finalRadiologyListClinic[0])]
|
||||||
|
.finalRadiologyList
|
||||||
|
.add(element);
|
||||||
|
} else {
|
||||||
|
_finalRadiologyListClinic.add(FinalRadiologyList(
|
||||||
|
filterName: element.clinicDescription, finalRadiology: element));
|
||||||
|
}
|
||||||
|
|
||||||
|
// FinalRadiologyList list sort via project
|
||||||
|
List<FinalRadiologyList> finalRadiologyListHospital =
|
||||||
|
_finalRadiologyListHospital
|
||||||
|
.where(
|
||||||
|
(elementClinic) =>
|
||||||
|
elementClinic.filterName == element.projectName,
|
||||||
|
)
|
||||||
|
.toList();
|
||||||
|
|
||||||
|
if (finalRadiologyListHospital.length != 0) {
|
||||||
|
_finalRadiologyListHospital[finalRadiologyListHospital
|
||||||
|
.indexOf(finalRadiologyListHospital[0])]
|
||||||
|
.finalRadiologyList
|
||||||
|
.add(element);
|
||||||
|
} else {
|
||||||
|
_finalRadiologyListHospital.add(FinalRadiologyList(
|
||||||
|
filterName: element.projectName, finalRadiology: element));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
setState(ViewState.Idle);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
String get radImageURL => _radiologyService.url;
|
||||||
|
|
||||||
|
getRadImageURL({int invoiceNo, int lineItem,int projectId}) async {
|
||||||
|
setState(ViewState.Busy);
|
||||||
|
await _radiologyService.getRadImageURL(invoiceNo: invoiceNo,lineItem: lineItem,projectId: projectId);
|
||||||
|
if (_radiologyService.hasError) {
|
||||||
|
error = _radiologyService.error;
|
||||||
|
setState(ViewState.Error);
|
||||||
|
} else
|
||||||
|
setState(ViewState.Idle);
|
||||||
|
}
|
||||||
|
|
||||||
|
sendRadReportEmail(
|
||||||
|
{FinalRadiology finalRadiology}) async {
|
||||||
|
setState(ViewState.BusyLocal);
|
||||||
|
await _radiologyService.sendRadReportEmail(
|
||||||
|
finalRadiology: finalRadiology
|
||||||
|
);
|
||||||
|
if (_radiologyService.hasError) {
|
||||||
|
error = _radiologyService.error;
|
||||||
|
AppToast.showErrorToast(message: error);
|
||||||
|
} else {
|
||||||
|
AppToast.showSuccessToast(message: 'A copy has been sent to the email');
|
||||||
|
}
|
||||||
|
setState(ViewState.Idle);
|
||||||
|
}
|
||||||
|
|
||||||
|
setFilterType(FilterType filterType) {
|
||||||
|
this.filterType = filterType;
|
||||||
|
notifyListeners();
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,39 @@
|
|||||||
|
import 'package:diplomaticquarterapp/core/model/labs/patient_lab_orders.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/viewModels/medical/labs_view_model.dart';
|
||||||
|
import 'package:diplomaticquarterapp/pages/base/base_view.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/data_display/medical/laboratory_result_widget.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
class LaboratoryResultPage extends StatelessWidget {
|
||||||
|
final PatientLabOrders patientLabOrders;
|
||||||
|
|
||||||
|
LaboratoryResultPage({Key key, this.patientLabOrders});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return BaseView<LabsViewModel>(
|
||||||
|
onModelReady: (model) => model.getLaboratoryResult(
|
||||||
|
invoiceNo: patientLabOrders.invoiceNo,
|
||||||
|
clinicID: patientLabOrders.clinicID,
|
||||||
|
projectID: patientLabOrders.projectID,
|
||||||
|
orderNo: patientLabOrders.orderNo),
|
||||||
|
builder: (_, model, widget) => AppScaffold(
|
||||||
|
isShowAppBar: true,
|
||||||
|
appBarTitle: 'Laboratory result',
|
||||||
|
baseViewModel: model,
|
||||||
|
body: Scaffold(
|
||||||
|
body: ListView.builder(
|
||||||
|
itemBuilder: (context, index) => LaboratoryResultWidget(
|
||||||
|
onTap: () => model.sendLabReportEmail(patientLabOrder: patientLabOrders),
|
||||||
|
billNo: model.patientLabSpecialResult[index].invoiceNo,
|
||||||
|
details: model.patientLabSpecialResult[index].resultDataHTML,
|
||||||
|
),
|
||||||
|
itemCount: model.patientLabSpecialResult.length,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,104 @@
|
|||||||
|
import 'package:diplomaticquarterapp/core/enum/filter_type.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/viewModels/medical/labs_view_model.dart';
|
||||||
|
import 'package:diplomaticquarterapp/pages/base/base_view.dart';
|
||||||
|
import 'package:diplomaticquarterapp/uitl/date_uitl.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
import 'laboratory_result_page.dart';
|
||||||
|
|
||||||
|
class LabsHomePage extends StatelessWidget {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return BaseView<LabsViewModel>(
|
||||||
|
onModelReady: (model) => model.getLabs(),
|
||||||
|
builder: (context, LabsViewModel model, widget) => AppScaffold(
|
||||||
|
baseViewModel: model,
|
||||||
|
isShowAppBar: true,
|
||||||
|
appBarTitle: 'Lab Orders',
|
||||||
|
body: SingleChildScrollView(
|
||||||
|
physics: BouncingScrollPhysics(),
|
||||||
|
child: FractionallySizedBox(
|
||||||
|
widthFactor: 1.0,
|
||||||
|
child: Center(
|
||||||
|
child: Column(
|
||||||
|
children: <Widget>[
|
||||||
|
Row(
|
||||||
|
children: <Widget>[
|
||||||
|
Expanded(
|
||||||
|
flex: 1,
|
||||||
|
child: InkWell(
|
||||||
|
onTap: () => model.setFilterType(FilterType.Clinic),
|
||||||
|
child: ListTile(
|
||||||
|
title: const Text('Clinic'),
|
||||||
|
leading: Radio(
|
||||||
|
value: FilterType.Clinic,
|
||||||
|
groupValue: model.filterType,
|
||||||
|
activeColor: Colors.red[800],
|
||||||
|
onChanged: (FilterType value) {
|
||||||
|
model.setFilterType(value);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Expanded(
|
||||||
|
flex: 1,
|
||||||
|
child: InkWell(
|
||||||
|
onTap: () => model.setFilterType(FilterType.Hospital),
|
||||||
|
child: ListTile(
|
||||||
|
title: const Text('Hospital'),
|
||||||
|
leading: Radio(
|
||||||
|
value: FilterType.Hospital,
|
||||||
|
groupValue: model.filterType,
|
||||||
|
activeColor: Colors.red[800],
|
||||||
|
onChanged: (FilterType value) =>
|
||||||
|
model.setFilterType(value),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
...List.generate(
|
||||||
|
model.patientLabOrdersList.length,
|
||||||
|
(index) => AppExpandableNotifier(
|
||||||
|
title: model.patientLabOrdersList[index].filterName,
|
||||||
|
bodyWidget: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
children: model
|
||||||
|
.patientLabOrdersList[index].patientLabOrdersList
|
||||||
|
.map((labOrder) {
|
||||||
|
return DoctorCard(
|
||||||
|
onTap: () => Navigator.push(
|
||||||
|
context,
|
||||||
|
FadePage(
|
||||||
|
page: LaboratoryResultPage(
|
||||||
|
patientLabOrders: labOrder,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
name: labOrder.doctorName,
|
||||||
|
profileUrl: labOrder.doctorImageURL,
|
||||||
|
subName: 'Bill No : ${labOrder.invoiceNo}',
|
||||||
|
date: DateUtil.getMonthDayYearDateFormatted(
|
||||||
|
labOrder.orderDate),
|
||||||
|
);
|
||||||
|
}).toList(),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,100 @@
|
|||||||
|
import 'package:diplomaticquarterapp/core/model/prescriptions/prescription_report.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/viewModels/medical/prescriptions_view_model.dart';
|
||||||
|
import 'package:diplomaticquarterapp/pages/base/base_view.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
|
import 'package:maps_launcher/maps_launcher.dart';
|
||||||
|
|
||||||
|
class PharmacyForPrescriptionsPage extends StatelessWidget {
|
||||||
|
final PrescriptionReport prescriptionReport;
|
||||||
|
|
||||||
|
PharmacyForPrescriptionsPage({Key key, this.prescriptionReport});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return BaseView<PrescriptionsViewModel>(
|
||||||
|
onModelReady: (model) => model.getListPharmacyForPrescriptions(itemId: prescriptionReport.itemID),
|
||||||
|
builder: (_, model, widget) => AppScaffold(
|
||||||
|
isShowAppBar: true,
|
||||||
|
appBarTitle: 'Title',
|
||||||
|
baseViewModel: model,
|
||||||
|
body: ListView.builder(
|
||||||
|
itemBuilder: (context, index) => Container(
|
||||||
|
width: double.infinity,
|
||||||
|
margin: EdgeInsets.only(top: 10, left: 10, right: 10),
|
||||||
|
padding: EdgeInsets.all(8.0),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
color: Colors.white,
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(10.0),
|
||||||
|
),
|
||||||
|
border: Border.all(color: Colors.grey[200], width: 0.5),
|
||||||
|
),
|
||||||
|
child: Row(
|
||||||
|
children: <Widget>[
|
||||||
|
ClipRRect(
|
||||||
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
|
child: Image.network(
|
||||||
|
model.pharmacyPrescriptionsList[index].projectImageURL,
|
||||||
|
fit: BoxFit.cover,
|
||||||
|
width: 60,
|
||||||
|
height: 70,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Expanded(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.all(8.0),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: <Widget>[
|
||||||
|
Texts(model.pharmacyPrescriptionsList[index]
|
||||||
|
.locationDescription),
|
||||||
|
SizedBox(
|
||||||
|
height: 5,
|
||||||
|
),
|
||||||
|
Texts(model.pharmacyPrescriptionsList[index].cityName),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
MapsLauncher.launchCoordinates(
|
||||||
|
double.parse(
|
||||||
|
model.pharmacyPrescriptionsList[index].latitude),
|
||||||
|
double.parse(
|
||||||
|
model.pharmacyPrescriptionsList[index].longitude));
|
||||||
|
},
|
||||||
|
child: Icon(
|
||||||
|
Icons.pin_drop,
|
||||||
|
size: 18,
|
||||||
|
color: Colors.red[900],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
width: 15,
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: Feedback.wrapForTap((){
|
||||||
|
launch("tel://${model.pharmacyPrescriptionsList[index].phoneNumber}");
|
||||||
|
},context),
|
||||||
|
child: Container(
|
||||||
|
child: Icon(
|
||||||
|
Icons.call,
|
||||||
|
size: 18,
|
||||||
|
color: Colors.red[900],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
itemCount: model.pharmacyPrescriptionsList.length,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -1,13 +0,0 @@
|
|||||||
import 'package:flutter/cupertino.dart';
|
|
||||||
|
|
||||||
class PrescriptionsHistory extends StatefulWidget {
|
|
||||||
@override
|
|
||||||
_PrescriptionsHistoryState createState() => _PrescriptionsHistoryState();
|
|
||||||
}
|
|
||||||
|
|
||||||
class _PrescriptionsHistoryState extends State<PrescriptionsHistory> {
|
|
||||||
@override
|
|
||||||
Widget build(BuildContext context) {
|
|
||||||
return Container();
|
|
||||||
}
|
|
||||||
}
|
|
@ -0,0 +1,109 @@
|
|||||||
|
import 'package:diplomaticquarterapp/core/model/prescriptions/prescriptions_order.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/viewModels/medical/prescriptions_view_model.dart';
|
||||||
|
import 'package:diplomaticquarterapp/pages/base/base_view.dart';
|
||||||
|
import 'package:diplomaticquarterapp/uitl/date_uitl.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/buttons/BottomButton.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
class PrescriptionsHistoryDetailsPage extends StatelessWidget {
|
||||||
|
final PrescriptionsOrder prescriptionsOrder;
|
||||||
|
|
||||||
|
PrescriptionsHistoryDetailsPage({Key key,this.prescriptionsOrder});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return BaseView<PrescriptionsViewModel>(
|
||||||
|
onModelReady: (model) => model.getPrescriptionReportEnh(prescriptionsOrder: prescriptionsOrder),
|
||||||
|
builder: (_,model,widget) => AppScaffold(
|
||||||
|
isShowAppBar: true,
|
||||||
|
appBarTitle: 'Order History',
|
||||||
|
baseViewModel: model,
|
||||||
|
body: SingleChildScrollView(
|
||||||
|
physics: BouncingScrollPhysics(),
|
||||||
|
child: Container(
|
||||||
|
margin: EdgeInsets.all(15.0),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: <Widget>[
|
||||||
|
Table(
|
||||||
|
border: TableBorder.symmetric(
|
||||||
|
inside: BorderSide(width: 0.5),
|
||||||
|
outside: BorderSide(width: 0.5)),
|
||||||
|
children: [
|
||||||
|
TableRow(
|
||||||
|
children: [
|
||||||
|
Container(
|
||||||
|
height: 50,
|
||||||
|
color: Colors.white,
|
||||||
|
child: Center(child: Texts('Order No'),),
|
||||||
|
),
|
||||||
|
Container(
|
||||||
|
height: 50,
|
||||||
|
color: Colors.white,
|
||||||
|
child: Center(child: Texts('Date'),),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
),
|
||||||
|
TableRow(
|
||||||
|
children: [
|
||||||
|
Container(
|
||||||
|
height: 50,
|
||||||
|
color: Colors.white,
|
||||||
|
child: Center(child: Texts('12655'),),
|
||||||
|
),
|
||||||
|
Container(
|
||||||
|
height: 50,
|
||||||
|
color: Colors.white,
|
||||||
|
child: Center(child: Texts('2020-7-15'),),
|
||||||
|
),
|
||||||
|
]
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
SizedBox(height: 15,),
|
||||||
|
...List.generate(model.prescriptionReportEnhList.length, (index) => Container(
|
||||||
|
margin: EdgeInsets.all(8.0),
|
||||||
|
color: Colors.white,
|
||||||
|
child: Row(
|
||||||
|
children: <Widget>[
|
||||||
|
ClipRRect(
|
||||||
|
borderRadius: BorderRadius.all(Radius.circular(5)),
|
||||||
|
child: Image.network(
|
||||||
|
model.prescriptionReportEnhList[index].imageSRCUrl,
|
||||||
|
fit: BoxFit.cover,
|
||||||
|
width: 60,
|
||||||
|
height: 70,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Expanded(
|
||||||
|
child: Padding(
|
||||||
|
padding: const EdgeInsets.all(8.0),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: <Widget>[
|
||||||
|
Texts(model.prescriptionReportEnhList[index]
|
||||||
|
.itemDescription),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
|
||||||
|
],
|
||||||
|
),
|
||||||
|
))
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
bottomSheet: Container(
|
||||||
|
//padding: EdgeInsets.all(8.0),
|
||||||
|
// margin: EdgeInsets.all(8.0),
|
||||||
|
child: BottomButton(label: 'Cancel order',color: Colors.red[300],),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,83 @@
|
|||||||
|
import 'package:diplomaticquarterapp/core/viewModels/medical/prescriptions_view_model.dart';
|
||||||
|
import 'package:diplomaticquarterapp/pages/medical/prescriptions/prescriptions_history_details_page.dart';
|
||||||
|
import 'package:diplomaticquarterapp/uitl/date_uitl.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/data_display/text.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
class PrescriptionsHistoryPage extends StatelessWidget {
|
||||||
|
final PrescriptionsViewModel prescriptionsViewModel;
|
||||||
|
|
||||||
|
PrescriptionsHistoryPage({Key key, this.prescriptionsViewModel});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return AppScaffold(
|
||||||
|
baseViewModel: prescriptionsViewModel,
|
||||||
|
body: ListView.builder(
|
||||||
|
physics: BouncingScrollPhysics(),
|
||||||
|
itemBuilder: (context, index) => InkWell(
|
||||||
|
onTap: () => Navigator.push(
|
||||||
|
context,
|
||||||
|
FadePage(
|
||||||
|
page: PrescriptionsHistoryDetailsPage(
|
||||||
|
prescriptionsOrder:
|
||||||
|
prescriptionsViewModel.prescriptionsHistory[index],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: Container(
|
||||||
|
padding: EdgeInsets.all(15.0),
|
||||||
|
margin: EdgeInsets.all(8.0),
|
||||||
|
decoration:
|
||||||
|
BoxDecoration(shape: BoxShape.rectangle, color: Colors.white),
|
||||||
|
child: Row(
|
||||||
|
children: <Widget>[
|
||||||
|
Expanded(
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: <Widget>[
|
||||||
|
Texts(
|
||||||
|
DateUtil.getDayMonthYearHourMinuteDateFormatted(
|
||||||
|
prescriptionsViewModel
|
||||||
|
.prescriptionsHistory[index].createdOn),
|
||||||
|
fontWeight: FontWeight.w300,
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 5,
|
||||||
|
),
|
||||||
|
Texts(
|
||||||
|
'Order No ${prescriptionsViewModel.prescriptionsHistory[index].iD}'),
|
||||||
|
SizedBox(
|
||||||
|
height: 5,
|
||||||
|
),
|
||||||
|
Texts(
|
||||||
|
'${prescriptionsViewModel.prescriptionsHistory[index].descriptionN}'),
|
||||||
|
SizedBox(
|
||||||
|
height: 5,
|
||||||
|
),
|
||||||
|
Texts(
|
||||||
|
'Order Details',
|
||||||
|
fontWeight: FontWeight.w300,
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 5,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Icon(
|
||||||
|
Icons.arrow_forward_ios,
|
||||||
|
size: 25,
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
itemCount: prescriptionsViewModel.prescriptionsHistory.length,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,67 @@
|
|||||||
|
import 'package:diplomaticquarterapp/core/enum/viewstate.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/model/radiology/final_radiology.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/viewModels/medical/radiology_view_model.dart';
|
||||||
|
import 'package:diplomaticquarterapp/pages/base/base_view.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/buttons/button.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:url_launcher/url_launcher.dart';
|
||||||
|
|
||||||
|
class RadiologyDetailsPage extends StatelessWidget {
|
||||||
|
final FinalRadiology finalRadiology;
|
||||||
|
|
||||||
|
RadiologyDetailsPage({Key key, this.finalRadiology});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return BaseView<RadiologyViewModel>(
|
||||||
|
onModelReady: (model) => model.getRadImageURL(
|
||||||
|
projectId: finalRadiology.projectID,
|
||||||
|
lineItem: finalRadiology.invoiceLineItemNo,
|
||||||
|
invoiceNo: finalRadiology.invoiceNo),
|
||||||
|
builder: (_, model, widget) => AppScaffold(
|
||||||
|
appBarTitle: 'Radiology Report',
|
||||||
|
isShowAppBar: true,
|
||||||
|
baseViewModel: model,
|
||||||
|
body: SingleChildScrollView(
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
children: <Widget>[
|
||||||
|
Text('${finalRadiology.reportData}',textAlign: TextAlign.center,),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
bottomSheet: Container(
|
||||||
|
width: double.infinity,
|
||||||
|
height: MediaQuery.of(context).size.height * 0.2,
|
||||||
|
color: Colors.grey[100],
|
||||||
|
child: Column(
|
||||||
|
children: <Widget>[
|
||||||
|
Divider(),
|
||||||
|
Container(
|
||||||
|
width: MediaQuery.of(context).size.width * 0.8,
|
||||||
|
child: Button(
|
||||||
|
onTap: () {
|
||||||
|
launch(model.radImageURL);
|
||||||
|
},
|
||||||
|
label: 'Open Radio Image',
|
||||||
|
backgroundColor: Colors.grey[800],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Container(
|
||||||
|
width: MediaQuery.of(context).size.width * 0.8,
|
||||||
|
child: Button(
|
||||||
|
onTap: () => model.sendRadReportEmail(
|
||||||
|
finalRadiology: finalRadiology),
|
||||||
|
label: 'Send Copy',
|
||||||
|
loading: model.state == ViewState.BusyLocal,
|
||||||
|
backgroundColor: Colors.red[800],
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
)),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,102 @@
|
|||||||
|
import 'package:diplomaticquarterapp/core/enum/filter_type.dart';
|
||||||
|
import 'package:diplomaticquarterapp/core/viewModels/medical/radiology_view_model.dart';
|
||||||
|
import 'package:diplomaticquarterapp/pages/base/base_view.dart';
|
||||||
|
import 'package:diplomaticquarterapp/pages/medical/radiology/radiology_details_page.dart';
|
||||||
|
import 'package:diplomaticquarterapp/uitl/date_uitl.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/data_display/medical/doctor_card.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_expandable_notifier.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart';
|
||||||
|
import 'package:diplomaticquarterapp/widgets/transitions/fade_page.dart';
|
||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
class RadiologyHomePage extends StatelessWidget {
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return BaseView<RadiologyViewModel>(
|
||||||
|
onModelReady: (model) => model.getPatientRadOrders(),
|
||||||
|
builder: (_, model, widget) => AppScaffold(
|
||||||
|
isShowAppBar: true,
|
||||||
|
appBarTitle: 'Radiology',
|
||||||
|
baseViewModel: model,
|
||||||
|
body: FractionallySizedBox(
|
||||||
|
widthFactor: 1.0,
|
||||||
|
child: ListView(
|
||||||
|
physics: BouncingScrollPhysics(),
|
||||||
|
children: <Widget>[
|
||||||
|
Row(
|
||||||
|
children: <Widget>[
|
||||||
|
Expanded(
|
||||||
|
flex: 1,
|
||||||
|
child: InkWell(
|
||||||
|
onTap: () =>
|
||||||
|
model.setFilterType(FilterType.Clinic),
|
||||||
|
child: ListTile(
|
||||||
|
title: const Text('Clinic'),
|
||||||
|
leading: Radio(
|
||||||
|
value: FilterType.Clinic,
|
||||||
|
groupValue: model.filterType,
|
||||||
|
activeColor: Colors.red[800],
|
||||||
|
onChanged: (FilterType value) {
|
||||||
|
model.setFilterType(value);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
Expanded(
|
||||||
|
flex: 1,
|
||||||
|
child: InkWell(
|
||||||
|
onTap: () => model
|
||||||
|
.setFilterType(FilterType.Hospital),
|
||||||
|
child: ListTile(
|
||||||
|
title: const Text('Hospital'),
|
||||||
|
leading: Radio(
|
||||||
|
value: FilterType.Hospital,
|
||||||
|
groupValue: model.filterType,
|
||||||
|
activeColor: Colors.red[800],
|
||||||
|
onChanged: (FilterType value) {
|
||||||
|
model.setFilterType(value);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
...List.generate(
|
||||||
|
model.finalRadiologyList.length,
|
||||||
|
(index) => AppExpandableNotifier(
|
||||||
|
title: model
|
||||||
|
.finalRadiologyList[index].filterName,
|
||||||
|
bodyWidget: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
children: model
|
||||||
|
.finalRadiologyList[index].finalRadiologyList
|
||||||
|
.map((radiology) {
|
||||||
|
return InkWell(
|
||||||
|
onTap: () => Navigator.push(
|
||||||
|
context,
|
||||||
|
FadePage(
|
||||||
|
page: RadiologyDetailsPage(finalRadiology: radiology,),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: DoctorCard(
|
||||||
|
name: radiology.doctorName,
|
||||||
|
profileUrl: radiology.doctorImageURL,
|
||||||
|
subName: '${radiology.projectName} \nBill No ${radiology.invoiceNo}',
|
||||||
|
date: DateUtil.getMonthDayYearDateFormatted(
|
||||||
|
radiology.orderDate),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}).toList(),
|
||||||
|
)),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,143 @@
|
|||||||
|
import 'package:flutter/cupertino.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
|
import '../text.dart';
|
||||||
|
|
||||||
|
class LaboratoryResultWidget extends StatefulWidget {
|
||||||
|
final GestureTapCallback onTap;
|
||||||
|
final String billNo;
|
||||||
|
final String details;
|
||||||
|
|
||||||
|
const LaboratoryResultWidget({Key key, this.onTap, this.billNo, this.details})
|
||||||
|
: super(key: key);
|
||||||
|
|
||||||
|
@override
|
||||||
|
_LaboratoryResultWidgetState createState() => _LaboratoryResultWidgetState();
|
||||||
|
}
|
||||||
|
|
||||||
|
class _LaboratoryResultWidgetState extends State<LaboratoryResultWidget> {
|
||||||
|
bool _isShowMore = false;
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Container(
|
||||||
|
margin: EdgeInsets.all(15),
|
||||||
|
child: Column(
|
||||||
|
children: <Widget>[
|
||||||
|
Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: <Widget>[
|
||||||
|
Container(
|
||||||
|
margin: EdgeInsets.all(15),
|
||||||
|
child: Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||||
|
children: <Widget>[
|
||||||
|
Expanded(
|
||||||
|
child: Container(
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.rectangle,
|
||||||
|
color: Colors.white,
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5.0),
|
||||||
|
)),
|
||||||
|
padding: EdgeInsets.all(10.0),
|
||||||
|
margin: EdgeInsets.only(left: 5, right: 5),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: <Widget>[
|
||||||
|
Texts('Bill No'),
|
||||||
|
Texts(widget.billNo),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: widget.onTap,
|
||||||
|
child: Container(
|
||||||
|
margin: EdgeInsets.only(left: 5, right: 5),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.rectangle,
|
||||||
|
color: Colors.red[800],
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5.0),
|
||||||
|
)),
|
||||||
|
child: Container(
|
||||||
|
padding: EdgeInsets.all(10.0),
|
||||||
|
child: Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.center,
|
||||||
|
children: <Widget>[
|
||||||
|
Icon(
|
||||||
|
Icons.email,
|
||||||
|
color: Colors.white,
|
||||||
|
),
|
||||||
|
Texts(
|
||||||
|
'Send a copy',
|
||||||
|
color: Colors.white,
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
InkWell(
|
||||||
|
onTap: () {
|
||||||
|
setState(() {
|
||||||
|
_isShowMore = !_isShowMore;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
child: Container(
|
||||||
|
padding: EdgeInsets.all(10.0),
|
||||||
|
margin: EdgeInsets.only(left: 5, right: 5),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.rectangle,
|
||||||
|
color: Colors.white,
|
||||||
|
borderRadius: BorderRadius.all(
|
||||||
|
Radius.circular(5.0),
|
||||||
|
)),
|
||||||
|
child: Row(
|
||||||
|
children: <Widget>[
|
||||||
|
Expanded(child: Texts('Result')),
|
||||||
|
Container(
|
||||||
|
width: 25,
|
||||||
|
height: 25,
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.circle, color: Colors.red[900]),
|
||||||
|
child: Icon(
|
||||||
|
_isShowMore
|
||||||
|
? Icons.keyboard_arrow_up
|
||||||
|
: Icons.keyboard_arrow_down,
|
||||||
|
color: Colors.white,
|
||||||
|
size: 22,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
if (_isShowMore)
|
||||||
|
AnimatedContainer(
|
||||||
|
padding: EdgeInsets.all(10.0),
|
||||||
|
margin: EdgeInsets.only(left: 5, right: 5),
|
||||||
|
decoration: BoxDecoration(
|
||||||
|
shape: BoxShape.rectangle,
|
||||||
|
color: Colors.white,
|
||||||
|
borderRadius: BorderRadius.only(
|
||||||
|
bottomLeft: Radius.circular(5.0),
|
||||||
|
bottomRight: Radius.circular(5.0),
|
||||||
|
)),
|
||||||
|
duration: Duration(milliseconds: 7000),
|
||||||
|
child: Text(widget.details?? 'No Data'),
|
||||||
|
)
|
||||||
|
],
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue