import 'package:hmg_patient_app_new/core/utils/date_util.dart';

class PatientRadiologyResponseModel {
  String? setupID;
  int? projectID;
  dynamic patientID;
  int? invoiceLineItemNo;
  int? invoiceNo;
  int? doctorID;
  int? clinicID;
  DateTime? orderDate;
  String? reportData;
  String? imageURL;
  String? procedureID;
  int? appointmentNo;
  dynamic dIAPacsURL;
  bool? isRead;
  String? readOn;
  dynamic admissionNo;
  bool? isInOutPatient;
  int? actualDoctorRate;
  dynamic admissionDate;
  dynamic admissionNumber;
  dynamic appointmentDate;
  dynamic appointmentNumber;
  dynamic appointmentTime;
  String? clinicDescription;
  String? dIAPACSURL;
  dynamic decimalDoctorRate;
  String? description;
  String? doctorImageURL;
  String? doctorName;
  num? doctorRate;
  num? doctorStarsRate;
  String? doctorTitle;
  String? examId;
  int? gender;
  dynamic genderDescription;
  int? invoiceNoVP;
  String? invoiceType;
  bool? isActiveDoctorProfile;
  bool? isExecludeDoctor;
  String? isInOutPatientDescription;
  String? isInOutPatientDescriptionN;
  bool? isLiveCareAppointment;
  dynamic nationalityFlagURL;
  int? noOfPatientsRate;
  int? orderNo;
  dynamic procedureName;
  String? projectName;
  String? qR;
  String? reportDataHTML;
  String? reportDataTextString;
  dynamic strAppointmentDate;
  dynamic strOrderDate;
  bool? isCVI;
  bool? isRadMedicalReport;
  dynamic vida3Id;

  PatientRadiologyResponseModel(
      {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.admissionDate,
      this.admissionNumber,
      this.appointmentDate,
      this.appointmentNumber,
      this.appointmentTime,
      this.clinicDescription,
      this.dIAPACSURL,
      this.decimalDoctorRate,
      this.description,
      this.doctorImageURL,
      this.doctorName,
      this.doctorRate,
      this.doctorStarsRate,
      this.doctorTitle,
      this.examId,
      this.gender,
      this.genderDescription,
      this.invoiceNoVP,
      this.invoiceType,
      this.isActiveDoctorProfile,
      this.isExecludeDoctor,
      this.isInOutPatientDescription,
      this.isInOutPatientDescriptionN,
      this.isLiveCareAppointment,
      this.nationalityFlagURL,
      this.noOfPatientsRate,
      this.orderNo,
      this.procedureName,
      this.projectName,
      this.qR,
      this.reportDataHTML,
      this.reportDataTextString,
      this.strAppointmentDate,
      this.strOrderDate,
      this.isCVI,
      this.isRadMedicalReport,
      this.vida3Id});

  PatientRadiologyResponseModel.fromJson(Map<String, dynamic> json) {
    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'];
    admissionDate = json['AdmissionDate'];
    admissionNumber = json['AdmissionNumber'];
    appointmentDate = json['AppointmentDate'];
    appointmentNumber = json['AppointmentNumber'];
    appointmentTime = json['AppointmentTime'];
    clinicDescription = json['ClinicDescription'];
    dIAPACSURL = json['DIA_PACS_URL'];
    decimalDoctorRate = json['DecimalDoctorRate'];
    description = json['Description'];
    doctorImageURL = json['DoctorImageURL'];
    doctorName = json['DoctorName'];
    doctorRate = json['DoctorRate'];
    doctorStarsRate = json['DoctorStarsRate'];
    doctorTitle = json['DoctorTitle'];
    examId = json['Exam_id'];
    gender = json['Gender'];
    genderDescription = json['GenderDescription'];
    invoiceNoVP = json['InvoiceNo_VP'];
    invoiceType = json['InvoiceType'];
    isActiveDoctorProfile = json['IsActiveDoctorProfile'];
    isExecludeDoctor = json['IsExecludeDoctor'];
    isInOutPatientDescription = json['IsInOutPatientDescription'];
    isInOutPatientDescriptionN = json['IsInOutPatientDescriptionN'];
    isLiveCareAppointment = json['IsLiveCareAppointment'];
    nationalityFlagURL = json['NationalityFlagURL'];
    noOfPatientsRate = json['NoOfPatientsRate'];
    orderNo = json['OrderNo'];
    procedureName = json['ProcedureName'];
    projectName = json['ProjectName'];
    qR = json['QR'];
    reportDataHTML = json['ReportDataHTML'];
    reportDataTextString = json['ReportDataTextString'];
    strAppointmentDate = json['StrAppointmentDate'];
    strOrderDate = json['StrOrderDate'];
    isCVI = json['isCVI'];
    isRadMedicalReport = json['isRadMedicalReport'];
    vida3Id = json['vida3Id'];
  }

  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['AdmissionDate'] = this.admissionDate;
    data['AdmissionNumber'] = this.admissionNumber;
    data['AppointmentDate'] = this.appointmentDate;
    data['AppointmentNumber'] = this.appointmentNumber;
    data['AppointmentTime'] = this.appointmentTime;
    data['ClinicDescription'] = this.clinicDescription;
    data['DIA_PACS_URL'] = this.dIAPACSURL;
    data['DecimalDoctorRate'] = this.decimalDoctorRate;
    data['Description'] = this.description;
    data['DoctorImageURL'] = this.doctorImageURL;
    data['DoctorName'] = this.doctorName;
    data['DoctorRate'] = this.doctorRate;
    data['DoctorStarsRate'] = this.doctorStarsRate;
    data['DoctorTitle'] = this.doctorTitle;
    data['Exam_id'] = this.examId;
    data['Gender'] = this.gender;
    data['GenderDescription'] = this.genderDescription;
    data['InvoiceNo_VP'] = this.invoiceNoVP;
    data['InvoiceType'] = this.invoiceType;
    data['IsActiveDoctorProfile'] = this.isActiveDoctorProfile;
    data['IsExecludeDoctor'] = this.isExecludeDoctor;
    data['IsInOutPatientDescription'] = this.isInOutPatientDescription;
    data['IsInOutPatientDescriptionN'] = this.isInOutPatientDescriptionN;
    data['IsLiveCareAppointment'] = this.isLiveCareAppointment;
    data['NationalityFlagURL'] = this.nationalityFlagURL;
    data['NoOfPatientsRate'] = this.noOfPatientsRate;
    data['OrderNo'] = this.orderNo;
    data['ProcedureName'] = this.procedureName;
    data['ProjectName'] = this.projectName;
    data['QR'] = this.qR;
    data['ReportDataHTML'] = this.reportDataHTML;
    data['ReportDataTextString'] = this.reportDataTextString;
    data['StrAppointmentDate'] = this.strAppointmentDate;
    data['StrOrderDate'] = this.strOrderDate;
    data['isCVI'] = this.isCVI;
    data['isRadMedicalReport'] = this.isRadMedicalReport;
    data['vida3Id'] = this.vida3Id;
    return data;
  }
}
