class GetHopiDetails {
  int? clinicId;
  int? doctorId;
  int? hospitalGroupId;
  int? hospitalId;
  String? hpi;
  int? hpiId;
  bool? isHpiTakenFamily;
  bool? isHpiTakenOther;
  bool? isHpiTakenPatient;
  String? hpiTakenFamilyText;
  String? hpiTakenOtherText;
  String? loginUserId;
  int? patientId;
  int? patientPomrId;

  GetHopiDetails(
      {this.clinicId,
        this.doctorId,
        this.hospitalGroupId,
        this.hospitalId,
        this.hpi,
        this.hpiId,
        this.isHpiTakenFamily,
        this.isHpiTakenOther,
        this.isHpiTakenPatient,
        this.loginUserId,
        this.patientId,
        this.patientPomrId});

  GetHopiDetails.fromJson(Map<String, dynamic> json) {
    clinicId = json['clinicId'];
    doctorId = json['doctorId'];
    hospitalGroupId = json['hospitalGroupId'];
    hospitalId = json['hospitalId'];
    hpi = json['hpi'];
    hpiId = json['hpiId'];
    isHpiTakenFamily = json['isHpiTakenFamily'];
    isHpiTakenOther = json['isHpiTakenOther'];
    isHpiTakenPatient = json['isHpiTakenPatient'];
    loginUserId = json['loginUserId'];
    patientId = json['patientId'];
    patientPomrId = json['patientPomrId'];
    hpiTakenFamilyText = json['hpiTakenFamilyText'];
    hpiTakenOtherText = json['hpiTakenOtherText'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['clinicId'] = this.clinicId;
    data['doctorId'] = this.doctorId;
    data['hospitalGroupId'] = this.hospitalGroupId;
    data['hospitalId'] = this.hospitalId;
    data['hpi'] = this.hpi;
    data['hpiId'] = this.hpiId;
    data['isHpiTakenFamily'] = this.isHpiTakenFamily;
    data['isHpiTakenOther'] = this.isHpiTakenOther;
    data['isHpiTakenPatient'] = this.isHpiTakenPatient;
    data['loginUserId'] = this.loginUserId;
    data['patientId'] = this.patientId;
    data['patientPomrId'] = this.patientPomrId;
    data['hpiTakenFamilyText'] = this.hpiTakenFamilyText;
    data['hpiTakenOtherText'] = this.hpiTakenOtherText;
    return data;
  }
}
