class PostPhysicalExamRequestModel {
  List<ListHisProgNotePhysicalExaminationVM>? listHisProgNotePhysicalExaminationVM;

  PostPhysicalExamRequestModel({this.listHisProgNotePhysicalExaminationVM});

  PostPhysicalExamRequestModel.fromJson(Map<String, dynamic> json) {
    if (json['listHisProgNotePhysicalExaminationVM'] != null) {
      listHisProgNotePhysicalExaminationVM = <ListHisProgNotePhysicalExaminationVM>[];
      json['listHisProgNotePhysicalExaminationVM'].forEach((v) {
        listHisProgNotePhysicalExaminationVM!.add(new ListHisProgNotePhysicalExaminationVM.fromJson(v));
      });
    }
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    if (this.listHisProgNotePhysicalExaminationVM != null) {
      data['listHisProgNotePhysicalExaminationVM'] = this.listHisProgNotePhysicalExaminationVM!.map((v) => v.toJson()).toList();
    }
    return data;
  }
}

class ListHisProgNotePhysicalExaminationVM {
  int? episodeId;
  int? appointmentNo;
  int? admissionNo;
  int? examType;
  int? examId;
  int? patientMRN;
  bool? isNormal;
  bool? isAbnormal;
  bool? notExamined;
  String? examName;
  String? examinationTypeName;
  int? examinationType;
  String? remarks;
  bool? isNew;
  int? createdBy;
  String? createdOn;
  String? createdByName;
  int? editedBy;
  String? editedOn;
  String? editedByName;

  ListHisProgNotePhysicalExaminationVM(
      {this.episodeId,
      this.appointmentNo,
      this.admissionNo,
      this.examType,
      this.examId,
      this.patientMRN,
      this.isNormal,
      this.isAbnormal,
      this.notExamined,
      this.examName,
      this.examinationTypeName,
      this.examinationType,
      this.remarks,
      this.isNew,
      this.createdBy,
      this.createdOn,
      this.createdByName,
      this.editedBy,
      this.editedOn,
      this.editedByName});

  ListHisProgNotePhysicalExaminationVM.fromJson(Map<String, dynamic> json) {
    episodeId = json['episodeId'];
    appointmentNo = json['appointmentNo'];
    admissionNo = json['AdmissionNo'];

    examType = json['examType'];
    examId = json['examId'];
    patientMRN = json['patientMRN'];
    isNormal = json['isNormal'];
    isAbnormal = json['isAbnormal'];
    notExamined = json['notExamined'];
    examName = json['examName'];
    examinationTypeName = json['examinationTypeName'];
    examinationType = json['examinationType'];
    remarks = json['remarks'];
    isNew = json['isNew'];
    createdBy = json['createdBy'];
    createdOn = json['createdOn'];
    createdByName = json['createdByName'];
    editedBy = json['editedBy'];
    editedOn = json['editedOn'];
    editedByName = json['editedByName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['episodeId'] = this.episodeId;
    data['appointmentNo'] = this.appointmentNo;
    data['admissionNo'] = this.admissionNo;
    data['examType'] = this.examType;
    data['examId'] = this.examId;
    data['patientMRN'] = this.patientMRN;
    data['isNormal'] = this.isNormal;
    data['isAbnormal'] = this.isAbnormal;
    data['notExamined'] = this.notExamined;
    data['examName'] = this.examName;
    data['examinationTypeName'] = this.examinationTypeName;
    data['examinationType'] = this.examinationType;
    data['remarks'] = this.remarks;
    data['isNew'] = this.isNew;
    data['createdBy'] = this.createdBy;
    data['createdOn'] = this.createdOn;
    data['createdByName'] = this.createdByName;
    data['editedBy'] = this.editedBy;
    data['editedOn'] = this.editedOn;
    data['editedByName'] = this.editedByName;
    return data;
  }
}
