class PatientPrescriptionsResponseModel {
  String? setupID;
  int? projectID;
  int? patientID;
  int? appointmentNo;
  String? appointmentDate;
  String? doctorName;
  String? clinicDescription;
  String? name;
  int? episodeID;
  num? actualDoctorRate;
  int? admission;
  int? clinicID;
  String? companyName;
  num? decimalDoctorRate;
  String? despensedStatus;
  String? dischargeDate;
  int? dischargeNo;
  int? doctorID;
  String? doctorImageURL;
  num? doctorRate;
  num? doctorStarsRate;
  String? doctorTitle;
  int? gender;
  String? genderDescription;
  bool? isActiveDoctorProfile;
  bool? isDoctorAllowVedioCall;
  bool? isExecludeDoctor;
  bool? isHomeMedicineDeliverySupported;
  bool? isInOutPatient;
  String? isInOutPatientDescription;
  String? isInOutPatientDescriptionN;
  bool? isInsurancePatient;
  bool? isLiveCareAppointment;
  String? nationalityFlagURL;
  int? noOfPatientsRate;
  String? qR;

  // List<String>? speciality;
  String? strAppointmentDate;

  PatientPrescriptionsResponseModel(
      {this.setupID,
      this.projectID,
      this.patientID,
      this.appointmentNo,
      this.appointmentDate,
      this.doctorName,
      this.clinicDescription,
      this.name,
      this.episodeID,
      this.actualDoctorRate,
      this.admission,
      this.clinicID,
      this.companyName,
      this.decimalDoctorRate,
      this.despensedStatus,
      this.dischargeDate,
      this.dischargeNo,
      this.doctorID,
      this.doctorImageURL,
      this.doctorRate,
      this.doctorStarsRate,
      this.doctorTitle,
      this.gender,
      this.genderDescription,
      this.isActiveDoctorProfile,
      this.isDoctorAllowVedioCall,
      this.isExecludeDoctor,
      this.isHomeMedicineDeliverySupported,
      this.isInOutPatient,
      this.isInOutPatientDescription,
      this.isInOutPatientDescriptionN,
      this.isInsurancePatient,
      this.isLiveCareAppointment,
      this.nationalityFlagURL,
      this.noOfPatientsRate,
      this.qR,
      // this.speciality,
      this.strAppointmentDate});

  PatientPrescriptionsResponseModel.fromJson(Map<String, dynamic> json) {
    setupID = json['SetupID'];
    projectID = json['ProjectID'];
    patientID = json['PatientID'];
    appointmentNo = json['AppointmentNo'];
    appointmentDate = json['AppointmentDate'];
    doctorName = json['DoctorName'];
    clinicDescription = json['ClinicDescription'];
    name = json['Name'];
    episodeID = json['EpisodeID'];
    actualDoctorRate = json['ActualDoctorRate'];
    admission = json['Admission'];
    clinicID = json['ClinicID'];
    companyName = json['CompanyName'];
    decimalDoctorRate = json['DecimalDoctorRate'];
    despensedStatus = json['Despensed_Status'];
    dischargeDate = json['DischargeDate'];
    dischargeNo = json['DischargeNo'];
    doctorID = json['DoctorID'];
    doctorImageURL = json['DoctorImageURL'];
    doctorRate = json['DoctorRate'];
    doctorStarsRate = json['DoctorStarsRate'];
    doctorTitle = json['DoctorTitle'];
    gender = json['Gender'];
    genderDescription = json['GenderDescription'];
    isActiveDoctorProfile = json['IsActiveDoctorProfile'];
    isDoctorAllowVedioCall = json['IsDoctorAllowVedioCall'];
    isExecludeDoctor = json['IsExecludeDoctor'];
    isHomeMedicineDeliverySupported = json['IsHomeMedicineDeliverySupported'];
    isInOutPatient = json['IsInOutPatient'];
    isInOutPatientDescription = json['IsInOutPatientDescription'];
    isInOutPatientDescriptionN = json['IsInOutPatientDescriptionN'];
    isInsurancePatient = json['IsInsurancePatient'];
    isLiveCareAppointment = json['IsLiveCareAppointment'];
    nationalityFlagURL = json['NationalityFlagURL'];
    noOfPatientsRate = json['NoOfPatientsRate'];
    qR = json['QR'];
    // speciality = json['Speciality'].cast<String>();
    strAppointmentDate = json['StrAppointmentDate'];
  }

  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['AppointmentNo'] = this.appointmentNo;
    data['AppointmentDate'] = this.appointmentDate;
    data['DoctorName'] = this.doctorName;
    data['ClinicDescription'] = this.clinicDescription;
    data['Name'] = this.name;
    data['EpisodeID'] = this.episodeID;
    data['ActualDoctorRate'] = this.actualDoctorRate;
    data['Admission'] = this.admission;
    data['ClinicID'] = this.clinicID;
    data['CompanyName'] = this.companyName;
    data['DecimalDoctorRate'] = this.decimalDoctorRate;
    data['Despensed_Status'] = this.despensedStatus;
    data['DischargeDate'] = this.dischargeDate;
    data['DischargeNo'] = this.dischargeNo;
    data['DoctorID'] = this.doctorID;
    data['DoctorImageURL'] = this.doctorImageURL;
    data['DoctorRate'] = this.doctorRate;
    data['DoctorStarsRate'] = this.doctorStarsRate;
    data['DoctorTitle'] = this.doctorTitle;
    data['Gender'] = this.gender;
    data['GenderDescription'] = this.genderDescription;
    data['IsActiveDoctorProfile'] = this.isActiveDoctorProfile;
    data['IsDoctorAllowVedioCall'] = this.isDoctorAllowVedioCall;
    data['IsExecludeDoctor'] = this.isExecludeDoctor;
    data['IsHomeMedicineDeliverySupported'] = this.isHomeMedicineDeliverySupported;
    data['IsInOutPatient'] = this.isInOutPatient;
    data['IsInOutPatientDescription'] = this.isInOutPatientDescription;
    data['IsInOutPatientDescriptionN'] = this.isInOutPatientDescriptionN;
    data['IsInsurancePatient'] = this.isInsurancePatient;
    data['IsLiveCareAppointment'] = this.isLiveCareAppointment;
    data['NationalityFlagURL'] = this.nationalityFlagURL;
    data['NoOfPatientsRate'] = this.noOfPatientsRate;
    data['QR'] = this.qR;
    // data['Speciality'] = this.speciality;
    data['StrAppointmentDate'] = this.strAppointmentDate;
    return data;
  }
}

class PrescriptionsList {
  String? filterName = "";
  List<PatientPrescriptionsResponseModel>? prescriptionsList = [];

  PrescriptionsList({this.filterName, PatientPrescriptionsResponseModel? prescriptions}) {
    prescriptionsList!.add(prescriptions!);
  }
}
