class PatientPhysicalExamination {
  int? patientPhysicalExaminationRevisionID;
  int? patientPhysicalExaminationID;
  int? patientID;
  int? physicalExaminationSystemID;
  String? physicalExaminationDescription;
  int? physicalExaminationCondition;
  String? remark;
  int? assessmentId;
  String? userType;
  int? specialtyID;
  String? specialityDescription;
  String? loginUserId;
  bool? isMandatory;
  String? examinationType;
  dynamic additionalParams; // Use dynamic for null or varied types
  int? hospitalGroupID;
  int? hospitalID;
  int? dbCRUDOperation;
  bool? isActive;
  int? createdBy;
  String? createdOn;
  int? modifiedBy;
  String? modifiedOn;
  int? approvedBy;
  String? approvedOn;
  String? rowVersion;
  String? pomrid;

  // Default constructor
  PatientPhysicalExamination();

  // fromJson constructor
  PatientPhysicalExamination.fromJson(Map<String, dynamic> json) {
    patientPhysicalExaminationRevisionID =
        json['patientPhysicalExaminationRevisionID'];
    patientPhysicalExaminationID = json['patientPhysicalExaminationID'];
    patientID = json['patientID'];
    physicalExaminationSystemID = json['physicalExaminationSystemID'];
    physicalExaminationDescription = json['physicalExaminationDescription'];
    physicalExaminationCondition = json['physicalExaminationCondition'];
    remark = json['remark'];
    assessmentId = json['assessmentId'];
    userType = json['userType'];
    specialtyID = json['specialtyID'];
    specialityDescription = json['specialityDescription'];
    loginUserId = json['loginUserId'];
    isMandatory = json['isMandatory'];
    examinationType = json['examinationType'];
    additionalParams = json['additionalParams'];
    hospitalGroupID = json['hospitalGroupID'];
    hospitalID = json['hospitalID'];
    dbCRUDOperation = json['dbCRUDOperation'];
    isActive = json['isActive'];
    createdBy = json['createdBy'];
    createdOn = json['createdOn'];
    modifiedBy = json['modifiedBy'];
    modifiedOn = json['modifiedOn'];
    approvedBy = json['approvedBy'];
    approvedOn = json['approvedOn'];
    rowVersion = json['rowVersion'];
    pomrid = json['pomrid'];
  }

  // toJson method
  Map<String, dynamic> toJson() {
    return {
      'patientPhysicalExaminationRevisionID': patientPhysicalExaminationRevisionID,
      'patientPhysicalExaminationID': patientPhysicalExaminationID,
      'patientID': patientID,
      'physicalExaminationSystemID': physicalExaminationSystemID,
      'physicalExaminationDescription': physicalExaminationDescription,
      'physicalExaminationCondition': physicalExaminationCondition,
      'remark': remark,
      'assessmentId': assessmentId,
      'userType': userType,
      'specialtyID': specialtyID,
      'specialityDescription': specialityDescription,
      'loginUserId': loginUserId,
      'isMandatory': isMandatory,
      'examinationType': examinationType,
      'additionalParams': additionalParams,
      'hospitalGroupID': hospitalGroupID,
      'hospitalID': hospitalID,
      'dbCRUDOperation': dbCRUDOperation,
      'isActive': isActive,
      'createdBy': createdBy,
      'createdOn': createdOn,
      'modifiedBy': modifiedBy,
      'modifiedOn': modifiedOn,
      'approvedBy': approvedBy,
      'approvedOn': approvedOn,
      'rowVersion': rowVersion,
      'pomrid': pomrid,
    };
  }
}
