class PostChiefComplaintRequestModel {
  int? appointmentNo;
  int? episodeID;
  String? pomrId;
  int? patientMRN;
  int? admissionNo;
  String? chiefComplaint;
  String? hopi;
  String? currentMedication;
  bool? ispregnant;
  bool? isLactation;
  int? numberOfWeeks;
  dynamic doctorID;
  dynamic editedBy;
  bool? isVidaPlusProject;

  PostChiefComplaintRequestModel(
      {this.appointmentNo,
      this.episodeID,
      this.patientMRN,
      this.chiefComplaint,
      this.hopi,
      this.currentMedication,
      this.ispregnant,
      this.isLactation,
      this.doctorID,
      this.editedBy,
      this.numberOfWeeks,
      this.admissionNo});

  PostChiefComplaintRequestModel.fromJson(Map<String, dynamic> json) {
    appointmentNo = json['AppointmentNo'];
    episodeID = json['EpisodeID'];
    patientMRN = json['PatientMRN'];
    chiefComplaint = json['chiefComplaint'];
    hopi = json['Hopi'];
    currentMedication = json['CurrentMedication'];
    ispregnant = json['ispregnant'];
    isLactation = json['isLactation'];
    numberOfWeeks = json['numberOfWeeks'];
    doctorID = json['DoctorID'];
    editedBy = json['EditedBy'];
    admissionNo = json['AdmissionNo'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (appointmentNo != null) {
      data['AppointmentNo'] = this.appointmentNo;
    }

    if (episodeID != null) {
      data['EpisodeID'] = this.episodeID;
    }
    data['PatientMRN'] = this.patientMRN;
    data['chiefComplaint'] = this.chiefComplaint;
    data['Hopi'] = this.hopi;
    data['CurrentMedication'] = this.currentMedication;
    data['ispregnant'] = this.ispregnant;
    data['isLactation'] = this.isLactation;
    data['numberOfWeeks'] = this.numberOfWeeks;
    data['DoctorID'] = this.doctorID;

    if (editedBy != null) {
      data['EditedBy'] = this.editedBy;
    }
    if (admissionNo != null) {
      data['AdmissionNo'] = this.admissionNo;
    }

    return data;
  }
}
