import 'package:diplomaticquarterapp/uitl/date_uitl.dart'; class FinalRadiology { String? setupID; int? projectID; dynamic patientID; int? invoiceLineItemNo; int? invoiceNo; dynamic invoiceNo_VP; String? invoiceType; int? doctorID; int? clinicID; DateTime? orderDate; String? reportData; String? imageURL; String? procedureID; int? appointmentNo; dynamic 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? speciality; bool? isCVI; bool? isRadMedicalReport; bool? isLiveCareAppointment; FinalRadiology( {this.setupID, this.projectID, this.patientID, this.invoiceLineItemNo, this.invoiceNo, this.invoiceNo_VP, this.invoiceType, 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, this.isLiveCareAppointment}); FinalRadiology.fromJson(Map json) { try { setupID = json['SetupID']; projectID = json['ProjectID']; patientID = json['PatientID']; invoiceLineItemNo = json['InvoiceLineItemNo']; invoiceNo = json['InvoiceNo']; invoiceNo_VP = json['InvoiceNo_VP']; invoiceType = json['InvoiceType']; 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']; isLiveCareAppointment = json['IsLiveCareAppointment']; reportDataHTML = json['ReportDataHTML']; reportDataTextString = json['ReportDataTextString']; // speciality = json['Speciality'].cast(); isCVI = json['isCVI']; isRadMedicalReport = json['isRadMedicalReport']; } catch (e) { print(e); } } Map toJson() { final Map data = new Map(); data['SetupID'] = this.setupID; data['ProjectID'] = this.projectID; data['PatientID'] = this.patientID; data['InvoiceLineItemNo'] = this.invoiceLineItemNo; data['InvoiceNo'] = this.invoiceNo; data['InvoiceNo_VP'] = this.invoiceNo_VP; data['InvoiceType'] = this.invoiceType; 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? finalRadiologyList = []; FinalRadiologyList({this.filterName, this.finalRadiologyList}); // { // finalRadiologyList.add(finalRadiology); // } }