{
  "page_ir": {
    "page_id": "patient_management",
    "page_goal": "Comprehensive patient registration, search, profile management with medical records, appointment history, billing history, and clinical data viewing",
    "style": {
      "tone": "professional",
      "theme": "light",
      "density": "comfortable",
      "color_intent": "clinical healthcare blue"
    },
    "accessibility": {
      "required_labels": [
        "search_input",
        "patient_table",
        "register_form",
        "profile_drawer",
        "edit_modal"
      ],
      "skip_navigation": true,
      "focus_management": true,
      "announce_changes": []
    },
    "responsive": {
      "breakpoints": {
        "xs": 480,
        "sm": 576,
        "md": 768,
        "lg": 992,
        "xl": 1200
      },
      "collapse_rules": [
        "filters_row collapses to vertical on sm",
        "table horizontal scrolls on md"
      ],
      "hidden_on_small": [
        "export_button"
      ],
      "stack_on_small": []
    },
    "constraints": [
      "Patient ID auto-generated on save",
      "Date of birth cannot be in the future",
      "Mobile number is mandatory",
      "Emergency contact phone is mandatory",
      "Inactive patients cannot be scheduled for new appointments"
    ],
    "seo_title": null,
    "seo_description": null
  },
  "data_ir": {
    "types": {},
    "state": {
      "patients": {
        "type": "array",
        "initial": [],
        "required": true,
        "constraints": {},
        "item_type": null
      },
      "patientsTotal": {
        "type": "number",
        "initial": 0,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "patientsOffset": {
        "type": "number",
        "initial": 0,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "patientsLimit": {
        "type": "number",
        "initial": 20,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "searchText": {
        "type": "string",
        "initial": "",
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "filterInsuranceProvider": {
        "type": "string",
        "initial": "",
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "loading": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "registerDrawerVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "editModalVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "profileDrawerVisible": {
        "type": "boolean",
        "initial": false,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "selectedPatientId": {
        "type": "string",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "patientDetail": {
        "type": "object",
        "initial": null,
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "insuranceProviders": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "departments": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "doctors": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "patientVitalSigns": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "patientLabTests": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "patientConsultations": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "patientPrescriptions": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "patientInvoices": {
        "type": "array",
        "initial": [],
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "sortField": {
        "type": "string",
        "initial": "created_at",
        "required": false,
        "constraints": {},
        "item_type": null
      },
      "sortOrder": {
        "type": "string",
        "initial": "descend",
        "required": false,
        "constraints": {},
        "item_type": null
      }
    },
    "derived": {
      "currentPage": {
        "type": "number",
        "expr": "Math.floor(state.patientsOffset / state.patientsLimit) + 1",
        "deps": []
      }
    }
  },
  "data_fetch_ir": {
    "endpoints": {
      "1cd27488ad18416fbb830449664be445": {
        "endpoint_id": "1cd27488ad18416fbb830449664be445",
        "module": "Patients",
        "endpoint": "/patients/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": "$state.patientsLimit",
          "offset": "$state.patientsOffset",
          "search": "$state.searchText"
        },
        "body": null,
        "fields": [
          "id",
          "patient_number",
          "first_name",
          "last_name",
          "date_of_birth",
          "gender",
          "phone",
          "email",
          "insurance_provider_id",
          "insurance_policy_number",
          "created_at",
          "updated_at"
        ],
        "response_target": "patients",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "69bb0aa3f7d8419c8924f9deae78c167": {
        "endpoint_id": "69bb0aa3f7d8419c8924f9deae78c167",
        "module": "Patients",
        "endpoint": "/patients/{patient_id}/details",
        "method": "GET",
        "path_params": {
          "patient_id": "$state.selectedPatientId"
        },
        "query_params": {},
        "body": null,
        "fields": [
          "id",
          "patient_number",
          "first_name",
          "last_name",
          "date_of_birth",
          "gender",
          "phone",
          "email",
          "address",
          "city",
          "state",
          "postal_code",
          "country",
          "emergency_contact_name",
          "emergency_contact_phone",
          "emergency_contact_relationship",
          "insurance_provider_id",
          "insurance_policy_number",
          "insurance_provider",
          "medical_record",
          "appointments",
          "created_at",
          "updated_at"
        ],
        "response_target": "patientDetail",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "d8d0fdf65052455fb9f4b3b05228ede8": {
        "endpoint_id": "d8d0fdf65052455fb9f4b3b05228ede8",
        "module": "Insurance Providers",
        "endpoint": "/insurance-providers/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": 100,
          "offset": 0
        },
        "body": null,
        "fields": [
          "id",
          "name",
          "contact_person",
          "phone",
          "email"
        ],
        "response_target": "insuranceProviders",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "d051955314014403b5664a17712e721f": {
        "endpoint_id": "d051955314014403b5664a17712e721f",
        "module": "Departments",
        "endpoint": "/departments/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": 100,
          "offset": 0
        },
        "body": null,
        "fields": [
          "id",
          "name"
        ],
        "response_target": "departments",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "953a21b8f4e84fe88008b46395bd4acb": {
        "endpoint_id": "953a21b8f4e84fe88008b46395bd4acb",
        "module": "Users",
        "endpoint": "/users/",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "limit": 100,
          "offset": 0,
          "role": "DOCTOR",
          "is_active": true
        },
        "body": null,
        "fields": [
          "id",
          "first_name",
          "last_name",
          "department_id"
        ],
        "response_target": "doctors",
        "response_transform": null,
        "trigger": "on_mount",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "4ae8be6cb8cd47afa71bc1b7f4d05fb1": {
        "endpoint_id": "4ae8be6cb8cd47afa71bc1b7f4d05fb1",
        "module": "Patients",
        "endpoint": "/patients/",
        "method": "POST",
        "path_params": {},
        "query_params": {},
        "body": {},
        "fields": [
          "id",
          "patient_number",
          "first_name",
          "last_name",
          "date_of_birth",
          "gender",
          "phone",
          "email",
          "address",
          "city",
          "state",
          "postal_code",
          "country",
          "emergency_contact_name",
          "emergency_contact_phone",
          "emergency_contact_relationship",
          "insurance_provider_id",
          "insurance_policy_number"
        ],
        "response_target": "createPatient_data",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "dfde16e008764c109a78bf50a30dfbc1": {
        "endpoint_id": "dfde16e008764c109a78bf50a30dfbc1",
        "module": "Patients",
        "endpoint": "/patients/{patient_id}",
        "method": "PUT",
        "path_params": {
          "patient_id": "$state.selectedPatientId"
        },
        "query_params": {},
        "body": {},
        "fields": [
          "id",
          "patient_number",
          "first_name",
          "last_name",
          "date_of_birth",
          "gender",
          "phone",
          "email",
          "address",
          "city",
          "state",
          "postal_code",
          "country",
          "emergency_contact_name",
          "emergency_contact_phone",
          "emergency_contact_relationship",
          "insurance_provider_id",
          "insurance_policy_number"
        ],
        "response_target": "dfde16e008764c109a78bf50a30dfbc1_data",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "da75775a11c8456eb334dba137c0e049": {
        "endpoint_id": "da75775a11c8456eb334dba137c0e049",
        "module": "Patients",
        "endpoint": "/patients/{patient_id}",
        "method": "DELETE",
        "path_params": {
          "patient_id": "$state.selectedPatientId"
        },
        "query_params": {},
        "body": null,
        "fields": [],
        "response_target": "da75775a11c8456eb334dba137c0e049_data",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "60a05fa8ac4242c086e47d2e03b8a59d": {
        "endpoint_id": "60a05fa8ac4242c086e47d2e03b8a59d",
        "module": "Clinical",
        "endpoint": "/clinical/vital-signs",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "patient_id": "$state.selectedPatientId",
          "limit": 20
        },
        "body": null,
        "fields": [
          "id",
          "recorded_at",
          "systolic_bp",
          "diastolic_bp",
          "pulse_rate",
          "temperature_celsius",
          "respiratory_rate",
          "weight_kg",
          "height_cm",
          "oxygen_saturation"
        ],
        "response_target": "patientVitalSigns",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "4e6dc618aede46c09159eed4dcf3ad91": {
        "endpoint_id": "4e6dc618aede46c09159eed4dcf3ad91",
        "module": "Clinical",
        "endpoint": "/clinical/consultations",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "patient_id": "$state.selectedPatientId",
          "limit": 20
        },
        "body": null,
        "fields": [
          "id",
          "consultation_date",
          "doctor_id",
          "chief_complaint",
          "diagnosis",
          "treatment_plan"
        ],
        "response_target": "patientConsultations",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "cb49f7b6ac4b4dc88aa679668ea0d1aa": {
        "endpoint_id": "cb49f7b6ac4b4dc88aa679668ea0d1aa",
        "module": "Clinical",
        "endpoint": "/clinical/prescriptions",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "patient_id": "$state.selectedPatientId",
          "limit": 50
        },
        "body": null,
        "fields": [
          "id",
          "medication_name",
          "dosage",
          "frequency",
          "duration",
          "prescribed_date",
          "is_active"
        ],
        "response_target": "patientPrescriptions",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "355f44b27eee41908ea948c1469b0095": {
        "endpoint_id": "355f44b27eee41908ea948c1469b0095",
        "module": "Clinical",
        "endpoint": "/clinical/lab-tests",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "patient_id": "$state.selectedPatientId",
          "limit": 50
        },
        "body": null,
        "fields": [
          "id",
          "test_name",
          "test_type",
          "ordered_date",
          "result_date",
          "result_value",
          "result_unit",
          "reference_range",
          "status"
        ],
        "response_target": "patientLabTests",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "a32b79ba597244cc834ec78d12f66a15": {
        "endpoint_id": "a32b79ba597244cc834ec78d12f66a15",
        "module": "Billing",
        "endpoint": "/billing/invoices",
        "method": "GET",
        "path_params": {},
        "query_params": {
          "patient_id": "$state.selectedPatientId",
          "limit": 50
        },
        "body": null,
        "fields": [
          "id",
          "invoice_number",
          "invoice_date",
          "total_amount",
          "amount_paid",
          "balance_due",
          "status"
        ],
        "response_target": "patientInvoices",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      },
      "2820a7106a0a422eabdce582e7058422": {
        "endpoint_id": "2820a7106a0a422eabdce582e7058422",
        "module": "Patients",
        "endpoint": "/patients/medical-records",
        "method": "POST",
        "path_params": {},
        "query_params": {},
        "body": {},
        "fields": [
          "id",
          "patient_id",
          "blood_type",
          "allergies",
          "chronic_conditions"
        ],
        "response_target": "createMedicalRecord_data",
        "response_transform": null,
        "trigger": "manual",
        "depends_on": [],
        "debounce_ms": null,
        "loading_field": null,
        "error_field": null
      }
    }
  },
  "data_model_ir": {
    "entities": {
      "patient": {
        "name": "Patient",
        "backend_module": "Patients",
        "fields": [
          "id",
          "patient_number",
          "first_name",
          "last_name",
          "date_of_birth",
          "gender",
          "phone",
          "email",
          "address",
          "city",
          "state",
          "postal_code",
          "country",
          "emergency_contact_name",
          "emergency_contact_phone",
          "emergency_contact_relationship",
          "insurance_provider_id",
          "insurance_policy_number",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "patient_number",
          "first_name",
          "last_name",
          "date_of_birth",
          "gender",
          "phone",
          "email",
          "insurance_provider_id"
        ],
        "search_fields": [
          "first_name",
          "last_name",
          "patient_number",
          "phone",
          "email"
        ],
        "filters": [
          "insurance_provider_id"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "patientDetail": {
        "name": "PatientDetail",
        "backend_module": "Patients",
        "fields": [
          "id",
          "patient_number",
          "first_name",
          "last_name",
          "date_of_birth",
          "gender",
          "phone",
          "email",
          "address",
          "city",
          "state",
          "postal_code",
          "country",
          "emergency_contact_name",
          "emergency_contact_phone",
          "emergency_contact_relationship",
          "insurance_provider_id",
          "insurance_policy_number",
          "created_at",
          "updated_at",
          "insurance_provider",
          "medical_record",
          "appointments"
        ],
        "computed": [],
        "display_fields": [
          "patient_number",
          "first_name",
          "last_name",
          "date_of_birth",
          "gender",
          "phone",
          "email"
        ],
        "search_fields": [],
        "filters": [],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "insuranceProvider": {
        "name": "InsuranceProvider",
        "backend_module": "Insurance Providers",
        "fields": [
          "id",
          "name",
          "contact_person",
          "phone",
          "email",
          "address",
          "coverage_policy",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "name"
        ],
        "search_fields": [],
        "filters": [],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "medicalRecord": {
        "name": "MedicalRecord",
        "backend_module": "Patients",
        "fields": [
          "id",
          "patient_id",
          "blood_type",
          "allergies",
          "chronic_conditions",
          "family_medical_history",
          "surgical_history",
          "immunization_history",
          "notes",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "blood_type",
          "allergies",
          "chronic_conditions"
        ],
        "search_fields": [],
        "filters": [],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "vitalSign": {
        "name": "VitalSign",
        "backend_module": "Clinical",
        "fields": [
          "id",
          "patient_id",
          "recorded_by_user_id",
          "recorded_at",
          "systolic_bp",
          "diastolic_bp",
          "pulse_rate",
          "temperature_celsius",
          "respiratory_rate",
          "weight_kg",
          "height_cm",
          "oxygen_saturation",
          "notes",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "recorded_at",
          "systolic_bp",
          "diastolic_bp",
          "pulse_rate",
          "temperature_celsius"
        ],
        "search_fields": [],
        "filters": [
          "patient_id"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "consultation": {
        "name": "Consultation",
        "backend_module": "Clinical",
        "fields": [
          "id",
          "appointment_id",
          "patient_id",
          "doctor_id",
          "consultation_date",
          "chief_complaint",
          "present_illness",
          "examination_findings",
          "diagnosis",
          "treatment_plan",
          "notes",
          "follow_up_required",
          "follow_up_date",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "consultation_date",
          "diagnosis",
          "treatment_plan"
        ],
        "search_fields": [],
        "filters": [
          "patient_id"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "prescription": {
        "name": "Prescription",
        "backend_module": "Clinical",
        "fields": [
          "id",
          "consultation_id",
          "patient_id",
          "doctor_id",
          "medication_name",
          "dosage",
          "frequency",
          "duration",
          "quantity",
          "route",
          "special_instructions",
          "is_active",
          "prescribed_date",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "medication_name",
          "dosage",
          "frequency",
          "prescribed_date"
        ],
        "search_fields": [],
        "filters": [
          "patient_id"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "labTest": {
        "name": "LabTest",
        "backend_module": "Clinical",
        "fields": [
          "id",
          "patient_id",
          "consultation_id",
          "ordered_by_doctor_id",
          "test_name",
          "test_type",
          "ordered_date",
          "sample_collected_date",
          "result_date",
          "result_value",
          "result_unit",
          "reference_range",
          "status",
          "notes",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "test_name",
          "status",
          "ordered_date",
          "result_value"
        ],
        "search_fields": [],
        "filters": [
          "patient_id",
          "status"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "invoice": {
        "name": "Invoice",
        "backend_module": "Billing",
        "fields": [
          "id",
          "invoice_number",
          "patient_id",
          "appointment_id",
          "invoice_date",
          "due_date",
          "subtotal",
          "tax_amount",
          "discount_amount",
          "total_amount",
          "amount_paid",
          "balance_due",
          "status",
          "notes",
          "created_by_user_id",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "invoice_number",
          "invoice_date",
          "total_amount",
          "balance_due",
          "status"
        ],
        "search_fields": [],
        "filters": [
          "patient_id",
          "status"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "department": {
        "name": "Department",
        "backend_module": "Departments",
        "fields": [
          "id",
          "name",
          "description",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "name"
        ],
        "search_fields": [],
        "filters": [],
        "default_sort": null,
        "default_sort_dir": "asc"
      },
      "doctor": {
        "name": "Doctor",
        "backend_module": "Users",
        "fields": [
          "id",
          "email",
          "first_name",
          "last_name",
          "role",
          "phone",
          "department_id",
          "is_active",
          "created_at",
          "updated_at"
        ],
        "computed": [],
        "display_fields": [
          "first_name",
          "last_name"
        ],
        "search_fields": [],
        "filters": [
          "role"
        ],
        "default_sort": null,
        "default_sort_dir": "asc"
      }
    },
    "relationships": []
  },
  "behaviour_ir": {
    "events": {
      "onSearchChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.searchText",
            "expr": "event.target.value"
          },
          {
            "target": "state.patientsOffset",
            "expr": "0"
          }
        ],
        "description": ""
      },
      "onPageChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.patientsOffset",
            "expr": "(event.page - 1) * state.patientsLimit"
          }
        ],
        "description": ""
      },
      "onFilterInsuranceChange": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.filterInsuranceProvider",
            "expr": "event"
          },
          {
            "target": "state.patientsOffset",
            "expr": "0"
          }
        ],
        "description": ""
      },
      "openRegisterDrawer": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.registerDrawerVisible",
            "expr": "true"
          }
        ],
        "description": ""
      },
      "closeRegisterDrawer": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.registerDrawerVisible",
            "expr": "false"
          }
        ],
        "description": ""
      },
      "openEditModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.editModalVisible",
            "expr": "true"
          },
          {
            "target": "state.selectedPatientId",
            "expr": "event.record.id"
          }
        ],
        "description": ""
      },
      "closeEditModal": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.editModalVisible",
            "expr": "false"
          }
        ],
        "description": ""
      },
      "openProfileDrawer": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.profileDrawerVisible",
            "expr": "true"
          },
          {
            "target": "state.selectedPatientId",
            "expr": "event.record.id"
          }
        ],
        "description": ""
      },
      "closeProfileDrawer": {
        "type": "mutation",
        "updates": [
          {
            "target": "state.profileDrawerVisible",
            "expr": "false"
          },
          {
            "target": "state.patientDetail",
            "expr": "null"
          },
          {
            "target": "state.patientVitalSigns",
            "expr": "[]"
          },
          {
            "target": "state.patientLabTests",
            "expr": "[]"
          },
          {
            "target": "state.patientConsultations",
            "expr": "[]"
          },
          {
            "target": "state.patientPrescriptions",
            "expr": "[]"
          },
          {
            "target": "state.patientInvoices",
            "expr": "[]"
          }
        ],
        "description": ""
      }
    },
    "actions": {
      "7f906326869142078136e142c5029bce": {
        "action_id": "7f906326869142078136e142c5029bce",
        "trigger": "button_click",
        "target_component_id": "patient_table",
        "operation": "read",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.loading",
            "expr": "true"
          }
        ],
        "api_endpoint": "1cd27488ad18416fbb830449664be445",
        "api_body": null,
        "side_effects": [
          {
            "type": "refresh",
            "config": {
              "target": "patient_table"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "737a7f14f38c4af6a9c6d47ebfda3725": {
        "action_id": "737a7f14f38c4af6a9c6d47ebfda3725",
        "trigger": "form_submit",
        "target_component_id": "register_form",
        "operation": "create",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [
          {
            "rule_id": "val_0",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"first_name\", \"message\": \"First name is required\", \"rule_id\": \"val_first_name\", \"type\": \"required\"}",
            "message": "{\"field\": \"first_name\", \"message\": \"First name is required\", \"rule_id\": \"val_first_name\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_1",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"last_name\", \"message\": \"Last name is required\", \"rule_id\": \"val_last_name\", \"type\": \"required\"}",
            "message": "{\"field\": \"last_name\", \"message\": \"Last name is required\", \"rule_id\": \"val_last_name\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_2",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"date_of_birth\", \"message\": \"Date of birth is required\", \"rule_id\": \"val_dob\", \"type\": \"required\"}",
            "message": "{\"field\": \"date_of_birth\", \"message\": \"Date of birth is required\", \"rule_id\": \"val_dob\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_3",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"gender\", \"message\": \"Gender is required\", \"rule_id\": \"val_gender\", \"type\": \"required\"}",
            "message": "{\"field\": \"gender\", \"message\": \"Gender is required\", \"rule_id\": \"val_gender\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_4",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"phone\", \"message\": \"Mobile number is required\", \"rule_id\": \"val_phone\", \"type\": \"required\"}",
            "message": "{\"field\": \"phone\", \"message\": \"Mobile number is required\", \"rule_id\": \"val_phone\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_5",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"emergency_contact_phone\", \"message\": \"Emergency contact phone is required\", \"rule_id\": \"val_emergency_phone\", \"type\": \"required\"}",
            "message": "{\"field\": \"emergency_contact_phone\", \"message\": \"Emergency contact phone is required\", \"rule_id\": \"val_emergency_phone\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_6",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"email\", \"message\": \"Please enter a valid email address\", \"rule_id\": \"val_email_format\", \"type\": \"email\"}",
            "message": "{\"field\": \"email\", \"message\": \"Please enter a valid email address\", \"rule_id\": \"val_email_format\", \"type\": \"email\"}"
          }
        ],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.loading",
            "expr": "true"
          }
        ],
        "api_endpoint": "4ae8be6cb8cd47afa71bc1b7f4d05fb1",
        "api_body": "{ patient_number: formValues.patient_number, first_name: formValues.first_name, last_name: formValues.last_name, date_of_birth: formValues.date_of_birth, gender: formValues.gender, phone: formValues.phone, email: formValues.email, address: formValues.address, city: formValues.city, state: formValues.state, postal_code: formValues.postal_code, country: formValues.country, emergency_contact_name: formValues.emergency_contact_name, emergency_contact_phone: formValues.emergency_contact_phone, emergency_contact_relationship: formValues.emergency_contact_relationship, insurance_provider_id: formValues.insurance_provider_id, insurance_policy_number: formValues.insurance_policy_number }",
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Patient registered successfully!",
              "type": "success"
            }
          },
          {
            "type": "modal_close",
            "config": {
              "target": "register_drawer"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "patient_table"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "dfde16e008764c109a78bf50a30dfbc1": {
        "action_id": "dfde16e008764c109a78bf50a30dfbc1",
        "trigger": "form_submit",
        "target_component_id": "edit_form",
        "operation": "update",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [
          {
            "rule_id": "val_0",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"first_name\", \"message\": \"First name is required\", \"rule_id\": \"val_edit_first_name\", \"type\": \"required\"}",
            "message": "{\"field\": \"first_name\", \"message\": \"First name is required\", \"rule_id\": \"val_edit_first_name\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_1",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"last_name\", \"message\": \"Last name is required\", \"rule_id\": \"val_edit_last_name\", \"type\": \"required\"}",
            "message": "{\"field\": \"last_name\", \"message\": \"Last name is required\", \"rule_id\": \"val_edit_last_name\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_2",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"phone\", \"message\": \"Mobile number is required\", \"rule_id\": \"val_edit_phone\", \"type\": \"required\"}",
            "message": "{\"field\": \"phone\", \"message\": \"Mobile number is required\", \"rule_id\": \"val_edit_phone\", \"type\": \"required\"}"
          },
          {
            "rule_id": "val_3",
            "field": null,
            "type": "custom",
            "value": null,
            "expression": "{\"field\": \"email\", \"message\": \"Please enter a valid email address\", \"rule_id\": \"val_edit_email_format\", \"type\": \"email\"}",
            "message": "{\"field\": \"email\", \"message\": \"Please enter a valid email address\", \"rule_id\": \"val_edit_email_format\", \"type\": \"email\"}"
          }
        ],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.loading",
            "expr": "true"
          }
        ],
        "api_endpoint": "dfde16e008764c109a78bf50a30dfbc1",
        "api_body": "{ first_name: formValues.first_name, last_name: formValues.last_name, date_of_birth: formValues.date_of_birth, gender: formValues.gender, phone: formValues.phone, email: formValues.email, address: formValues.address, city: formValues.city, state: formValues.state, postal_code: formValues.postal_code, country: formValues.country, emergency_contact_name: formValues.emergency_contact_name, emergency_contact_phone: formValues.emergency_contact_phone, emergency_contact_relationship: formValues.emergency_contact_relationship, insurance_provider_id: formValues.insurance_provider_id, insurance_policy_number: formValues.insurance_policy_number }",
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Patient updated successfully!",
              "type": "success"
            }
          },
          {
            "type": "modal_close",
            "config": {
              "target": "edit_modal"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "patient_table"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "da75775a11c8456eb334dba137c0e049": {
        "action_id": "da75775a11c8456eb334dba137c0e049",
        "trigger": "button_click",
        "target_component_id": "patient_table",
        "operation": "delete",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": true,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": "da75775a11c8456eb334dba137c0e049",
        "api_body": null,
        "side_effects": [
          {
            "type": "toast",
            "config": {
              "message": "Patient deleted successfully",
              "type": "success"
            }
          },
          {
            "type": "refresh",
            "config": {
              "target": "patient_table"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "4e4b81d0d5024f15b369c587228a0fbb": {
        "action_id": "4e4b81d0d5024f15b369c587228a0fbb",
        "trigger": "button_click",
        "target_component_id": "profile_drawer",
        "operation": "read",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [
          {
            "target": "state.profileDrawerVisible",
            "expr": "true"
          }
        ],
        "api_endpoint": "69bb0aa3f7d8419c8924f9deae78c167",
        "api_body": null,
        "side_effects": [
          {
            "type": "drawer_open",
            "config": {
              "target": "profile_drawer"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "977517921f174835925736de7a2762bc": {
        "action_id": "977517921f174835925736de7a2762bc",
        "trigger": "button_click",
        "target_component_id": "profile_vitals_section",
        "operation": "read",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": "60a05fa8ac4242c086e47d2e03b8a59d",
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "b9a076230b8a4a459b565ecf56813827": {
        "action_id": "b9a076230b8a4a459b565ecf56813827",
        "trigger": "button_click",
        "target_component_id": "profile_consultations_section",
        "operation": "read",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": "4e6dc618aede46c09159eed4dcf3ad91",
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "3585fe6cf36f4db49aa5f806abfc1cf8": {
        "action_id": "3585fe6cf36f4db49aa5f806abfc1cf8",
        "trigger": "button_click",
        "target_component_id": "profile_prescriptions_section",
        "operation": "read",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": "cb49f7b6ac4b4dc88aa679668ea0d1aa",
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "6d413bf8949040aba06e773c82833906": {
        "action_id": "6d413bf8949040aba06e773c82833906",
        "trigger": "button_click",
        "target_component_id": "profile_lab_section",
        "operation": "read",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": "355f44b27eee41908ea948c1469b0095",
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "e1fbd5f523864a9685329e4ca5c261dd": {
        "action_id": "e1fbd5f523864a9685329e4ca5c261dd",
        "trigger": "button_click",
        "target_component_id": "profile_billing_section",
        "operation": "read",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": "a32b79ba597244cc834ec78d12f66a15",
        "api_body": null,
        "side_effects": [],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "73a437e3f1df47f1bc27264a5426e037": {
        "action_id": "73a437e3f1df47f1bc27264a5426e037",
        "trigger": "button_click",
        "target_component_id": "export_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "download",
            "config": {
              "format": "csv",
              "filename": "patient_list.csv"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "df30c4ecd00d456196b3d59439282767": {
        "action_id": "df30c4ecd00d456196b3d59439282767",
        "trigger": "button_click",
        "target_component_id": "schedule_appointment_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "navigate",
            "config": {
              "path": "/appointments"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      },
      "a07a0458f0dc447ea7cd853d2680eb92": {
        "action_id": "a07a0458f0dc447ea7cd853d2680eb92",
        "trigger": "button_click",
        "target_component_id": "print_summary_button",
        "operation": "custom",
        "description": "",
        "payload": {},
        "guard": null,
        "requires_confirmation": false,
        "confirmation_message": null,
        "validation_rules": [],
        "validation_messages": {},
        "updates": [],
        "api_endpoint": null,
        "api_body": null,
        "side_effects": [
          {
            "type": "custom",
            "config": {
              "action": "window.print()"
            }
          }
        ],
        "then": null,
        "catch": null,
        "data_action": null
      }
    },
    "feedback": {
      "7f906326869142078136e142c5029bce": {
        "action_id": "7f906326869142078136e142c5029bce",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": null,
        "error_message": "Failed to load patients",
        "ui_updates": []
      },
      "737a7f14f38c4af6a9c6d47ebfda3725": {
        "action_id": "737a7f14f38c4af6a9c6d47ebfda3725",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Patient registered successfully!",
        "error_message": "Failed to register patient. Please check the form and try again.",
        "ui_updates": []
      },
      "dfde16e008764c109a78bf50a30dfbc1": {
        "action_id": "dfde16e008764c109a78bf50a30dfbc1",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Patient updated successfully!",
        "error_message": "Failed to update patient.",
        "ui_updates": []
      },
      "da75775a11c8456eb334dba137c0e049": {
        "action_id": "da75775a11c8456eb334dba137c0e049",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Patient deleted successfully",
        "error_message": "Failed to delete patient.",
        "ui_updates": []
      },
      "4e4b81d0d5024f15b369c587228a0fbb": {
        "action_id": "4e4b81d0d5024f15b369c587228a0fbb",
        "loading_indicator": "skeleton",
        "loading_text": null,
        "success_message": null,
        "error_message": "Failed to load patient profile.",
        "ui_updates": []
      },
      "977517921f174835925736de7a2762bc": {
        "action_id": "977517921f174835925736de7a2762bc",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": null,
        "error_message": "Failed to load vital signs.",
        "ui_updates": []
      },
      "b9a076230b8a4a459b565ecf56813827": {
        "action_id": "b9a076230b8a4a459b565ecf56813827",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": null,
        "error_message": "Failed to load consultations.",
        "ui_updates": []
      },
      "3585fe6cf36f4db49aa5f806abfc1cf8": {
        "action_id": "3585fe6cf36f4db49aa5f806abfc1cf8",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": null,
        "error_message": "Failed to load prescriptions.",
        "ui_updates": []
      },
      "6d413bf8949040aba06e773c82833906": {
        "action_id": "6d413bf8949040aba06e773c82833906",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": null,
        "error_message": "Failed to load lab tests.",
        "ui_updates": []
      },
      "e1fbd5f523864a9685329e4ca5c261dd": {
        "action_id": "e1fbd5f523864a9685329e4ca5c261dd",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": null,
        "error_message": "Failed to load billing history.",
        "ui_updates": []
      },
      "73a437e3f1df47f1bc27264a5426e037": {
        "action_id": "73a437e3f1df47f1bc27264a5426e037",
        "loading_indicator": "spinner",
        "loading_text": null,
        "success_message": "Patient list exported successfully",
        "error_message": "Failed to export patient list.",
        "ui_updates": []
      },
      "df30c4ecd00d456196b3d59439282767": {
        "action_id": "df30c4ecd00d456196b3d59439282767",
        "loading_indicator": null,
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      },
      "a07a0458f0dc447ea7cd853d2680eb92": {
        "action_id": "a07a0458f0dc447ea7cd853d2680eb92",
        "loading_indicator": null,
        "loading_text": null,
        "success_message": null,
        "error_message": null,
        "ui_updates": []
      }
    }
  },
  "component_ir": {
    "library": "antd",
    "theme": {
      "primaryColor": "#1677ff",
      "secondaryColor": "#52c41a",
      "successColor": null,
      "warningColor": null,
      "errorColor": null,
      "fontFamily": "sans-serif",
      "fontSize": null,
      "borderRadius": 6
    },
    "components": {
      "main_container": {
        "type": "Layout",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "minHeight": "100vh",
          "width": "100%",
          "background": "#f5f5f5"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "page_header": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "padding": "24px 24px 0 24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "page_title": {
        "type": "Typography.Title",
        "label": "Patient Management",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "level": 2
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "0"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "page_subtitle": {
        "type": "Typography.Text",
        "label": "Register, search, and manage patient profiles and medical records",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "secondary"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "breadcrumb_nav": {
        "type": "Breadcrumb",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "items": [
            {
              "title": "Dashboard",
              "href": "/"
            },
            {
              "title": "Patient Management"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "16px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "toolbar_section": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "bordered": false
        },
        "dynamic_props": {},
        "styles": {
          "margin": "16px 24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "toolbar_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": [
            16,
            16
          ],
          "align": "middle",
          "justify": "space-between"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "search_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "sm": 24,
          "md": 8,
          "lg": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "search_input": {
        "type": "Input.Search",
        "label": "Search Patients",
        "description": null,
        "bind": "state.searchText",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Search by name, patient ID, phone, email...",
          "allowClear": true,
          "enterButton": true,
          "size": "middle"
        },
        "dynamic_props": {},
        "styles": {
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "filter_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "sm": 12,
          "md": 6,
          "lg": 5
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "insurance_filter": {
        "type": "Select",
        "label": "Insurance Provider",
        "description": null,
        "bind": "state.filterInsuranceProvider",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Filter by Insurance",
          "allowClear": true,
          "showSearch": true,
          "optionFilterProp": "label",
          "options_bind": "state.insuranceProviders",
          "fieldNames": {
            "label": "name",
            "value": "id"
          },
          "size": "middle"
        },
        "dynamic_props": {},
        "styles": {
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "actions_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "xs": 24,
          "sm": 12,
          "md": 10,
          "lg": 11
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "actions_row": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "wrap": true
        },
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "flex-end",
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "register_button": {
        "type": "Button",
        "label": "Register New Patient",
        "description": null,
        "bind": null,
        "onClick": "openRegisterDrawer",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "icon": "PlusOutlined",
          "size": "middle"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "export_button": {
        "type": "Button",
        "label": "Export",
        "description": null,
        "bind": null,
        "onClick": "exportPatientList",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "icon": "DownloadOutlined",
          "size": "middle"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "table_section": {
        "type": "Card",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "bordered": false
        },
        "dynamic_props": {},
        "styles": {
          "margin": "0 24px 24px 24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "patient_table": {
        "type": "Table",
        "label": "Patient List",
        "description": null,
        "bind": "state.patients",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "rowKey": "id",
          "loading_bind": "state.loading",
          "pagination": {
            "current_bind": "derived.currentPage",
            "pageSize_bind": "state.patientsLimit",
            "total_bind": "state.patientsTotal",
            "showSizeChanger": true,
            "showTotal": true
          },
          "scroll": {
            "x": 1200
          },
          "size": "middle",
          "columns": [
            {
              "title": "Patient ID",
              "dataIndex": "patient_number",
              "key": "patient_number",
              "width": 120,
              "sorter": true,
              "fixed": "left"
            },
            {
              "title": "Name",
              "key": "name",
              "width": 180,
              "sorter": true,
              "render": "record.first_name + ' ' + record.last_name"
            },
            {
              "title": "Age",
              "key": "age",
              "width": 70,
              "render": "calculateAge(record.date_of_birth)"
            },
            {
              "title": "Gender",
              "dataIndex": "gender",
              "key": "gender",
              "width": 90,
              "render": "tag"
            },
            {
              "title": "Contact",
              "dataIndex": "phone",
              "key": "phone",
              "width": 140
            },
            {
              "title": "Email",
              "dataIndex": "email",
              "key": "email",
              "width": 200,
              "ellipsis": true
            },
            {
              "title": "Insurance",
              "dataIndex": "insurance_provider_id",
              "key": "insurance_provider_id",
              "width": 160,
              "render": "lookupInsuranceProvider"
            },
            {
              "title": "Registered",
              "dataIndex": "created_at",
              "key": "created_at",
              "width": 120,
              "sorter": true,
              "render": "date"
            },
            {
              "title": "Actions",
              "key": "actions",
              "width": 250,
              "fixed": "right",
              "render": "action_buttons"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "view_profile_action": {
        "type": "Button",
        "label": "View",
        "description": null,
        "bind": null,
        "onClick": "viewProfile",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "size": "small",
          "icon": "EyeOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_action": {
        "type": "Button",
        "label": "Edit",
        "description": null,
        "bind": null,
        "onClick": "openEditModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "size": "small",
          "icon": "EditOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "delete_action": {
        "type": "Button",
        "label": "Delete",
        "description": null,
        "bind": null,
        "onClick": "deletePatient",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "link",
          "danger": true,
          "size": "small",
          "icon": "DeleteOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "register_drawer": {
        "type": "Drawer",
        "label": "Register New Patient",
        "description": null,
        "bind": "state.registerDrawerVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "width": 720,
          "placement": "right",
          "destroyOnClose": true,
          "maskClosable": false
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "register_form": {
        "type": "Form",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "layout": "vertical",
          "requiredMark": true
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_personal_divider": {
        "type": "Divider",
        "label": "Personal Information",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "orientation": "left"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_name_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_first_name_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_first_name": {
        "type": "Form.Item",
        "label": "First Name",
        "description": null,
        "bind": "first_name",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "first_name",
          "rules": [
            {
              "required": true,
              "message": "First name is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_first_name_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter first name"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_last_name_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_last_name": {
        "type": "Form.Item",
        "label": "Last Name",
        "description": null,
        "bind": "last_name",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "last_name",
          "rules": [
            {
              "required": true,
              "message": "Last name is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_last_name_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter last name"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_dob_gender_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_dob_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_dob": {
        "type": "Form.Item",
        "label": "Date of Birth",
        "description": null,
        "bind": "date_of_birth",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "date_of_birth",
          "rules": [
            {
              "required": true,
              "message": "Date of birth is required"
            }
          ],
          "extra": "Age will be auto-calculated"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_dob_input": {
        "type": "DatePicker",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "format": "YYYY-MM-DD",
          "disabledDate": "current && current > dayjs()",
          "style": {
            "width": "100%"
          }
        },
        "dynamic_props": {},
        "styles": {
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_gender_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_gender": {
        "type": "Form.Item",
        "label": "Gender",
        "description": null,
        "bind": "gender",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "gender",
          "rules": [
            {
              "required": true,
              "message": "Gender is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_gender_input": {
        "type": "Radio.Group",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "options": [
            {
              "label": "Male",
              "value": "MALE"
            },
            {
              "label": "Female",
              "value": "FEMALE"
            },
            {
              "label": "Other",
              "value": "OTHER"
            }
          ],
          "optionType": "button",
          "buttonStyle": "solid"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_contact_divider": {
        "type": "Divider",
        "label": "Contact Information",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "orientation": "left"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_contact_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_phone_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_phone": {
        "type": "Form.Item",
        "label": "Mobile Number",
        "description": null,
        "bind": "phone",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "phone",
          "rules": [
            {
              "required": true,
              "message": "Mobile number is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_phone_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter mobile number"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_email_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_email": {
        "type": "Form.Item",
        "label": "Email",
        "description": null,
        "bind": "email",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "email",
          "rules": [
            {
              "type": "email",
              "message": "Please enter a valid email"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_email_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter email address"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_address_divider": {
        "type": "Divider",
        "label": "Address",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "orientation": "left"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_address_row1": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_address_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 24
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_address": {
        "type": "Form.Item",
        "label": "Street Address",
        "description": null,
        "bind": "address",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "address"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_address_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter street address"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_address_row2": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_city_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_city": {
        "type": "Form.Item",
        "label": "City",
        "description": null,
        "bind": "city",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "city"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_city_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "City"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_state_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_state": {
        "type": "Form.Item",
        "label": "State",
        "description": null,
        "bind": "state",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "state"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_state_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "State"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_postal_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 4
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_postal": {
        "type": "Form.Item",
        "label": "Postal Code",
        "description": null,
        "bind": "postal_code",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "postal_code"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_postal_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Zip"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_country_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 4
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_country": {
        "type": "Form.Item",
        "label": "Country",
        "description": null,
        "bind": "country",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "country"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_country_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Country"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_emergency_divider": {
        "type": "Divider",
        "label": "Emergency Contact",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "orientation": "left"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_emergency_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_ec_name_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_ec_name": {
        "type": "Form.Item",
        "label": "Contact Name",
        "description": null,
        "bind": "emergency_contact_name",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "emergency_contact_name"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_ec_name_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Emergency contact name"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_ec_rel_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_ec_relationship": {
        "type": "Form.Item",
        "label": "Relationship",
        "description": null,
        "bind": "emergency_contact_relationship",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "emergency_contact_relationship"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_ec_relationship_input": {
        "type": "Select",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Select relationship",
          "options": [
            {
              "label": "Spouse",
              "value": "Spouse"
            },
            {
              "label": "Parent",
              "value": "Parent"
            },
            {
              "label": "Sibling",
              "value": "Sibling"
            },
            {
              "label": "Child",
              "value": "Child"
            },
            {
              "label": "Friend",
              "value": "Friend"
            },
            {
              "label": "Other",
              "value": "Other"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_ec_phone_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_ec_phone": {
        "type": "Form.Item",
        "label": "Contact Phone",
        "description": null,
        "bind": "emergency_contact_phone",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "emergency_contact_phone",
          "rules": [
            {
              "required": true,
              "message": "Emergency contact phone is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_ec_phone_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Emergency contact phone"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_insurance_divider": {
        "type": "Divider",
        "label": "Insurance Information",
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "orientation": "left"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_insurance_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_insurance_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_insurance_provider": {
        "type": "Form.Item",
        "label": "Insurance Provider",
        "description": null,
        "bind": "insurance_provider_id",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "insurance_provider_id"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_insurance_provider_input": {
        "type": "Select",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Select insurance provider",
          "allowClear": true,
          "showSearch": true,
          "optionFilterProp": "label",
          "options_bind": "state.insuranceProviders",
          "fieldNames": {
            "label": "name",
            "value": "id"
          }
        },
        "dynamic_props": {},
        "styles": {
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_policy_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_policy_number": {
        "type": "Form.Item",
        "label": "Policy Number",
        "description": null,
        "bind": "insurance_policy_number",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "insurance_policy_number"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_policy_number_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter policy number"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_submit_row": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "flex-end",
          "marginTop": "24px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_cancel_button": {
        "type": "Button",
        "label": "Cancel",
        "description": null,
        "bind": null,
        "onClick": "closeRegisterDrawer",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "size": "middle"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "reg_submit_button": {
        "type": "Button",
        "label": "Register Patient",
        "description": null,
        "bind": null,
        "onClick": "registerPatient",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "htmlType": "submit",
          "size": "middle",
          "icon": "SaveOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_modal": {
        "type": "Modal",
        "label": "Edit Patient",
        "description": null,
        "bind": "state.editModalVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "width": 720,
          "destroyOnClose": true,
          "maskClosable": false,
          "footer": null
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_form": {
        "type": "Form",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "layout": "vertical",
          "requiredMark": true
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_name_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_first_name_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_first_name": {
        "type": "Form.Item",
        "label": "First Name",
        "description": null,
        "bind": "first_name",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "first_name",
          "rules": [
            {
              "required": true,
              "message": "First name is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_first_name_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter first name"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_last_name_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_last_name": {
        "type": "Form.Item",
        "label": "Last Name",
        "description": null,
        "bind": "last_name",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "last_name",
          "rules": [
            {
              "required": true,
              "message": "Last name is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_last_name_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter last name"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_dob_gender_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_dob_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_dob": {
        "type": "Form.Item",
        "label": "Date of Birth",
        "description": null,
        "bind": "date_of_birth",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "date_of_birth",
          "rules": [
            {
              "required": true,
              "message": "Date of birth is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_dob_input": {
        "type": "DatePicker",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "format": "YYYY-MM-DD",
          "style": {
            "width": "100%"
          }
        },
        "dynamic_props": {},
        "styles": {
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_gender_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_gender": {
        "type": "Form.Item",
        "label": "Gender",
        "description": null,
        "bind": "gender",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "gender",
          "rules": [
            {
              "required": true,
              "message": "Gender is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_gender_input": {
        "type": "Radio.Group",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "options": [
            {
              "label": "Male",
              "value": "MALE"
            },
            {
              "label": "Female",
              "value": "FEMALE"
            },
            {
              "label": "Other",
              "value": "OTHER"
            }
          ],
          "optionType": "button",
          "buttonStyle": "solid"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_contact_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_phone_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_phone": {
        "type": "Form.Item",
        "label": "Mobile Number",
        "description": null,
        "bind": "phone",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "phone",
          "rules": [
            {
              "required": true,
              "message": "Mobile number is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_phone_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter mobile number"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_email_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_email": {
        "type": "Form.Item",
        "label": "Email",
        "description": null,
        "bind": "email",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "email",
          "rules": [
            {
              "type": "email",
              "message": "Please enter a valid email"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_email_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter email address"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_address_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_address_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 24
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_address": {
        "type": "Form.Item",
        "label": "Street Address",
        "description": null,
        "bind": "address",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "address"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_address_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter street address"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_city_state_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_city_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_city": {
        "type": "Form.Item",
        "label": "City",
        "description": null,
        "bind": "city",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "city"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_city_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "City"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_state_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_state": {
        "type": "Form.Item",
        "label": "State",
        "description": null,
        "bind": "state",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "state"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_state_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "State"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_postal_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 4
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_postal": {
        "type": "Form.Item",
        "label": "Postal Code",
        "description": null,
        "bind": "postal_code",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "postal_code"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_postal_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Zip"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_country_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 4
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_country": {
        "type": "Form.Item",
        "label": "Country",
        "description": null,
        "bind": "country",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "country"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_country_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Country"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_emergency_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_ec_name_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_ec_name": {
        "type": "Form.Item",
        "label": "Emergency Contact Name",
        "description": null,
        "bind": "emergency_contact_name",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "emergency_contact_name"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_ec_name_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Contact name"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_ec_rel_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_ec_relationship": {
        "type": "Form.Item",
        "label": "Relationship",
        "description": null,
        "bind": "emergency_contact_relationship",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "emergency_contact_relationship"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_ec_relationship_input": {
        "type": "Select",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Select relationship",
          "options": [
            {
              "label": "Spouse",
              "value": "Spouse"
            },
            {
              "label": "Parent",
              "value": "Parent"
            },
            {
              "label": "Sibling",
              "value": "Sibling"
            },
            {
              "label": "Child",
              "value": "Child"
            },
            {
              "label": "Friend",
              "value": "Friend"
            },
            {
              "label": "Other",
              "value": "Other"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_ec_phone_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_ec_phone": {
        "type": "Form.Item",
        "label": "Emergency Phone",
        "description": null,
        "bind": "emergency_contact_phone",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "emergency_contact_phone",
          "rules": [
            {
              "required": true,
              "message": "Emergency contact phone is required"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_ec_phone_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Emergency phone"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_insurance_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_insurance_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_insurance_provider": {
        "type": "Form.Item",
        "label": "Insurance Provider",
        "description": null,
        "bind": "insurance_provider_id",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "insurance_provider_id"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_insurance_provider_input": {
        "type": "Select",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Select insurance provider",
          "allowClear": true,
          "showSearch": true,
          "optionFilterProp": "label",
          "options_bind": "state.insuranceProviders",
          "fieldNames": {
            "label": "name",
            "value": "id"
          }
        },
        "dynamic_props": {},
        "styles": {
          "width": "100%"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_policy_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 12
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_policy_number": {
        "type": "Form.Item",
        "label": "Policy Number",
        "description": null,
        "bind": "insurance_policy_number",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "name": "insurance_policy_number"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_policy_number_input": {
        "type": "Input",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "placeholder": "Enter policy number"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_submit_row": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "flex-end",
          "marginTop": "16px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_cancel_button": {
        "type": "Button",
        "label": "Cancel",
        "description": null,
        "bind": null,
        "onClick": "closeEditModal",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "edit_submit_button": {
        "type": "Button",
        "label": "Update Patient",
        "description": null,
        "bind": null,
        "onClick": "updatePatient",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "htmlType": "submit",
          "icon": "SaveOutlined"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_drawer": {
        "type": "Drawer",
        "label": "Patient Profile",
        "description": null,
        "bind": "state.profileDrawerVisible",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "width": 900,
          "placement": "right",
          "destroyOnClose": true
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_content": {
        "type": "div",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {},
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_header_row": {
        "type": "Row",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "gutter": [
            16,
            16
          ],
          "align": "middle",
          "justify": "space-between"
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "16px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_info_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 16
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_patient_name": {
        "type": "Typography.Title",
        "label": null,
        "description": null,
        "bind": "state.patientDetail ? state.patientDetail.first_name + ' ' + state.patientDetail.last_name : ''",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "level": 3
        },
        "dynamic_props": {},
        "styles": {
          "marginBottom": "4px"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_patient_id_text": {
        "type": "Typography.Text",
        "label": null,
        "description": null,
        "bind": "state.patientDetail ? 'ID: ' + state.patientDetail.patient_number : ''",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "secondary"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_actions_col": {
        "type": "Col",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "span": 8
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_actions_space": {
        "type": "Space",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "wrap": true
        },
        "dynamic_props": {},
        "styles": {
          "display": "flex",
          "justifyContent": "flex-end"
        },
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "schedule_appointment_button": {
        "type": "Button",
        "label": "Schedule Appointment",
        "description": null,
        "bind": null,
        "onClick": "scheduleAppointmentFromProfile",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "primary",
          "icon": "CalendarOutlined",
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "print_summary_button": {
        "type": "Button",
        "label": "Print Summary",
        "description": null,
        "bind": null,
        "onClick": "printPatientSummary",
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "icon": "PrinterOutlined",
          "size": "small"
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_tabs": {
        "type": "Tabs",
        "label": null,
        "description": null,
        "bind": null,
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "type": "card",
          "items": [
            {
              "key": "demographics",
              "label": "Demographics"
            },
            {
              "key": "medical_record",
              "label": "Medical Record"
            },
            {
              "key": "appointments",
              "label": "Appointments"
            },
            {
              "key": "consultations",
              "label": "Consultations"
            },
            {
              "key": "prescriptions",
              "label": "Prescriptions"
            },
            {
              "key": "vitals",
              "label": "Vital Signs"
            },
            {
              "key": "lab_tests",
              "label": "Lab Tests"
            },
            {
              "key": "billing",
              "label": "Billing"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_demographics_tab": {
        "type": "Descriptions",
        "label": "Patient Demographics",
        "description": null,
        "bind": "state.patientDetail",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "bordered": true,
          "column": 2,
          "size": "small",
          "items": [
            {
              "label": "Full Name",
              "field": "first_name + ' ' + last_name"
            },
            {
              "label": "Patient ID",
              "field": "patient_number"
            },
            {
              "label": "Date of Birth",
              "field": "date_of_birth"
            },
            {
              "label": "Gender",
              "field": "gender"
            },
            {
              "label": "Phone",
              "field": "phone"
            },
            {
              "label": "Email",
              "field": "email"
            },
            {
              "label": "Address",
              "field": "address"
            },
            {
              "label": "City",
              "field": "city"
            },
            {
              "label": "State",
              "field": "state"
            },
            {
              "label": "Postal Code",
              "field": "postal_code"
            },
            {
              "label": "Country",
              "field": "country"
            },
            {
              "label": "Emergency Contact",
              "field": "emergency_contact_name"
            },
            {
              "label": "Emergency Phone",
              "field": "emergency_contact_phone"
            },
            {
              "label": "Relationship",
              "field": "emergency_contact_relationship"
            },
            {
              "label": "Insurance Provider",
              "field": "insurance_provider.name"
            },
            {
              "label": "Policy Number",
              "field": "insurance_policy_number"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_medical_record_tab": {
        "type": "Descriptions",
        "label": "Medical Record",
        "description": null,
        "bind": "state.patientDetail ? state.patientDetail.medical_record : null",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "bordered": true,
          "column": 1,
          "size": "small",
          "items": [
            {
              "label": "Blood Type",
              "field": "blood_type"
            },
            {
              "label": "Allergies",
              "field": "allergies"
            },
            {
              "label": "Chronic Conditions",
              "field": "chronic_conditions"
            },
            {
              "label": "Family Medical History",
              "field": "family_medical_history"
            },
            {
              "label": "Surgical History",
              "field": "surgical_history"
            },
            {
              "label": "Immunization History",
              "field": "immunization_history"
            },
            {
              "label": "Notes",
              "field": "notes"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_appointments_tab": {
        "type": "Table",
        "label": "Appointment History",
        "description": null,
        "bind": "state.patientDetail ? state.patientDetail.appointments : []",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "rowKey": "id",
          "size": "small",
          "pagination": {
            "pageSize": 5
          },
          "columns": [
            {
              "title": "Date",
              "dataIndex": "appointment_date",
              "key": "appointment_date",
              "render": "date"
            },
            {
              "title": "Time",
              "dataIndex": "appointment_time",
              "key": "appointment_time"
            },
            {
              "title": "Type",
              "dataIndex": "appointment_type",
              "key": "appointment_type",
              "render": "tag"
            },
            {
              "title": "Status",
              "dataIndex": "status",
              "key": "status",
              "render": "status_tag"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_consultations_section": {
        "type": "Table",
        "label": "Consultation History",
        "description": null,
        "bind": "state.patientConsultations",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "rowKey": "id",
          "size": "small",
          "pagination": {
            "pageSize": 5
          },
          "columns": [
            {
              "title": "Date",
              "dataIndex": "consultation_date",
              "key": "consultation_date",
              "render": "date"
            },
            {
              "title": "Chief Complaint",
              "dataIndex": "chief_complaint",
              "key": "chief_complaint",
              "ellipsis": true
            },
            {
              "title": "Diagnosis",
              "dataIndex": "diagnosis",
              "key": "diagnosis",
              "ellipsis": true
            },
            {
              "title": "Treatment Plan",
              "dataIndex": "treatment_plan",
              "key": "treatment_plan",
              "ellipsis": true
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_prescriptions_section": {
        "type": "Table",
        "label": "Prescriptions",
        "description": null,
        "bind": "state.patientPrescriptions",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "rowKey": "id",
          "size": "small",
          "pagination": {
            "pageSize": 5
          },
          "columns": [
            {
              "title": "Medication",
              "dataIndex": "medication_name",
              "key": "medication_name"
            },
            {
              "title": "Dosage",
              "dataIndex": "dosage",
              "key": "dosage"
            },
            {
              "title": "Frequency",
              "dataIndex": "frequency",
              "key": "frequency"
            },
            {
              "title": "Duration",
              "dataIndex": "duration",
              "key": "duration"
            },
            {
              "title": "Prescribed Date",
              "dataIndex": "prescribed_date",
              "key": "prescribed_date",
              "render": "date"
            },
            {
              "title": "Active",
              "dataIndex": "is_active",
              "key": "is_active",
              "render": "boolean_tag"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_vitals_section": {
        "type": "Table",
        "label": "Vital Signs History",
        "description": null,
        "bind": "state.patientVitalSigns",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "rowKey": "id",
          "size": "small",
          "pagination": {
            "pageSize": 5
          },
          "columns": [
            {
              "title": "Recorded At",
              "dataIndex": "recorded_at",
              "key": "recorded_at",
              "render": "datetime"
            },
            {
              "title": "BP (Sys/Dia)",
              "key": "bp",
              "render": "systolic_bp + '/' + diastolic_bp"
            },
            {
              "title": "Pulse",
              "dataIndex": "pulse_rate",
              "key": "pulse_rate"
            },
            {
              "title": "Temp (°C)",
              "dataIndex": "temperature_celsius",
              "key": "temperature_celsius"
            },
            {
              "title": "SpO2 (%)",
              "dataIndex": "oxygen_saturation",
              "key": "oxygen_saturation"
            },
            {
              "title": "Weight (kg)",
              "dataIndex": "weight_kg",
              "key": "weight_kg"
            },
            {
              "title": "Height (cm)",
              "dataIndex": "height_cm",
              "key": "height_cm"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_lab_section": {
        "type": "Table",
        "label": "Lab Test Results",
        "description": null,
        "bind": "state.patientLabTests",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "rowKey": "id",
          "size": "small",
          "pagination": {
            "pageSize": 5
          },
          "columns": [
            {
              "title": "Test Name",
              "dataIndex": "test_name",
              "key": "test_name"
            },
            {
              "title": "Type",
              "dataIndex": "test_type",
              "key": "test_type"
            },
            {
              "title": "Ordered",
              "dataIndex": "ordered_date",
              "key": "ordered_date",
              "render": "date"
            },
            {
              "title": "Result",
              "dataIndex": "result_value",
              "key": "result_value"
            },
            {
              "title": "Unit",
              "dataIndex": "result_unit",
              "key": "result_unit"
            },
            {
              "title": "Reference",
              "dataIndex": "reference_range",
              "key": "reference_range"
            },
            {
              "title": "Status",
              "dataIndex": "status",
              "key": "status",
              "render": "status_tag"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      },
      "profile_billing_section": {
        "type": "Table",
        "label": "Billing History",
        "description": null,
        "bind": "state.patientInvoices",
        "onClick": null,
        "onChange": null,
        "onSubmit": null,
        "onHover": null,
        "onKeyPress": null,
        "props": {
          "rowKey": "id",
          "size": "small",
          "pagination": {
            "pageSize": 5
          },
          "columns": [
            {
              "title": "Invoice #",
              "dataIndex": "invoice_number",
              "key": "invoice_number"
            },
            {
              "title": "Date",
              "dataIndex": "invoice_date",
              "key": "invoice_date",
              "render": "date"
            },
            {
              "title": "Total",
              "dataIndex": "total_amount",
              "key": "total_amount",
              "render": "currency"
            },
            {
              "title": "Paid",
              "dataIndex": "amount_paid",
              "key": "amount_paid",
              "render": "currency"
            },
            {
              "title": "Balance",
              "dataIndex": "balance_due",
              "key": "balance_due",
              "render": "currency"
            },
            {
              "title": "Status",
              "dataIndex": "status",
              "key": "status",
              "render": "status_tag"
            }
          ]
        },
        "dynamic_props": {},
        "styles": {},
        "dynamic_styles": {},
        "class_name": null,
        "dynamic_class": null,
        "transitions": [],
        "visible_when": null,
        "disabled_when": null,
        "repeat": null,
        "slots": {},
        "a11y_role": null,
        "a11y_label": null
      }
    }
  },
  "layout_ir": {
    "root": "main_container",
    "children": {
      "main_container": [
        "page_header",
        "toolbar_section",
        "table_section",
        "register_drawer",
        "edit_modal",
        "profile_drawer"
      ],
      "page_header": [
        "breadcrumb_nav",
        "page_title",
        "page_subtitle"
      ],
      "toolbar_section": [
        "toolbar_row"
      ],
      "toolbar_row": [
        "search_col",
        "filter_col",
        "actions_col"
      ],
      "search_col": [
        "search_input"
      ],
      "filter_col": [
        "insurance_filter"
      ],
      "actions_col": [
        "actions_row"
      ],
      "actions_row": [
        "register_button",
        "export_button"
      ],
      "table_section": [
        "patient_table"
      ],
      "register_drawer": [
        "register_form"
      ],
      "register_form": [
        "reg_personal_divider",
        "reg_name_row",
        "reg_dob_gender_row",
        "reg_contact_divider",
        "reg_contact_row",
        "reg_address_divider",
        "reg_address_row1",
        "reg_address_row2",
        "reg_emergency_divider",
        "reg_emergency_row",
        "reg_insurance_divider",
        "reg_insurance_row",
        "reg_submit_row"
      ],
      "reg_name_row": [
        "reg_first_name_col",
        "reg_last_name_col"
      ],
      "reg_first_name_col": [
        "reg_first_name"
      ],
      "reg_first_name": [
        "reg_first_name_input"
      ],
      "reg_last_name_col": [
        "reg_last_name"
      ],
      "reg_last_name": [
        "reg_last_name_input"
      ],
      "reg_dob_gender_row": [
        "reg_dob_col",
        "reg_gender_col"
      ],
      "reg_dob_col": [
        "reg_dob"
      ],
      "reg_dob": [
        "reg_dob_input"
      ],
      "reg_gender_col": [
        "reg_gender"
      ],
      "reg_gender": [
        "reg_gender_input"
      ],
      "reg_contact_row": [
        "reg_phone_col",
        "reg_email_col"
      ],
      "reg_phone_col": [
        "reg_phone"
      ],
      "reg_phone": [
        "reg_phone_input"
      ],
      "reg_email_col": [
        "reg_email"
      ],
      "reg_email": [
        "reg_email_input"
      ],
      "reg_address_row1": [
        "reg_address_col"
      ],
      "reg_address_col": [
        "reg_address"
      ],
      "reg_address": [
        "reg_address_input"
      ],
      "reg_address_row2": [
        "reg_city_col",
        "reg_state_col",
        "reg_postal_col",
        "reg_country_col"
      ],
      "reg_city_col": [
        "reg_city"
      ],
      "reg_city": [
        "reg_city_input"
      ],
      "reg_state_col": [
        "reg_state"
      ],
      "reg_state": [
        "reg_state_input"
      ],
      "reg_postal_col": [
        "reg_postal"
      ],
      "reg_postal": [
        "reg_postal_input"
      ],
      "reg_country_col": [
        "reg_country"
      ],
      "reg_country": [
        "reg_country_input"
      ],
      "reg_emergency_row": [
        "reg_ec_name_col",
        "reg_ec_rel_col",
        "reg_ec_phone_col"
      ],
      "reg_ec_name_col": [
        "reg_ec_name"
      ],
      "reg_ec_name": [
        "reg_ec_name_input"
      ],
      "reg_ec_rel_col": [
        "reg_ec_relationship"
      ],
      "reg_ec_relationship": [
        "reg_ec_relationship_input"
      ],
      "reg_ec_phone_col": [
        "reg_ec_phone"
      ],
      "reg_ec_phone": [
        "reg_ec_phone_input"
      ],
      "reg_insurance_row": [
        "reg_insurance_col",
        "reg_policy_col"
      ],
      "reg_insurance_col": [
        "reg_insurance_provider"
      ],
      "reg_insurance_provider": [
        "reg_insurance_provider_input"
      ],
      "reg_policy_col": [
        "reg_policy_number"
      ],
      "reg_policy_number": [
        "reg_policy_number_input"
      ],
      "reg_submit_row": [
        "reg_cancel_button",
        "reg_submit_button"
      ],
      "edit_modal": [
        "edit_form"
      ],
      "edit_form": [
        "edit_name_row",
        "edit_dob_gender_row",
        "edit_contact_row",
        "edit_address_row",
        "edit_city_state_row",
        "edit_emergency_row",
        "edit_insurance_row",
        "edit_submit_row"
      ],
      "edit_name_row": [
        "edit_first_name_col",
        "edit_last_name_col"
      ],
      "edit_first_name_col": [
        "edit_first_name"
      ],
      "edit_first_name": [
        "edit_first_name_input"
      ],
      "edit_last_name_col": [
        "edit_last_name"
      ],
      "edit_last_name": [
        "edit_last_name_input"
      ],
      "edit_dob_gender_row": [
        "edit_dob_col",
        "edit_gender_col"
      ],
      "edit_dob_col": [
        "edit_dob"
      ],
      "edit_dob": [
        "edit_dob_input"
      ],
      "edit_gender_col": [
        "edit_gender"
      ],
      "edit_gender": [
        "edit_gender_input"
      ],
      "edit_contact_row": [
        "edit_phone_col",
        "edit_email_col"
      ],
      "edit_phone_col": [
        "edit_phone"
      ],
      "edit_phone": [
        "edit_phone_input"
      ],
      "edit_email_col": [
        "edit_email"
      ],
      "edit_email": [
        "edit_email_input"
      ],
      "edit_address_row": [
        "edit_address_col"
      ],
      "edit_address_col": [
        "edit_address"
      ],
      "edit_address": [
        "edit_address_input"
      ],
      "edit_city_state_row": [
        "edit_city_col",
        "edit_state_col",
        "edit_postal_col",
        "edit_country_col"
      ],
      "edit_city_col": [
        "edit_city"
      ],
      "edit_city": [
        "edit_city_input"
      ],
      "edit_state_col": [
        "edit_state"
      ],
      "edit_state": [
        "edit_state_input"
      ],
      "edit_postal_col": [
        "edit_postal"
      ],
      "edit_postal": [
        "edit_postal_input"
      ],
      "edit_country_col": [
        "edit_country"
      ],
      "edit_country": [
        "edit_country_input"
      ],
      "edit_emergency_row": [
        "edit_ec_name_col",
        "edit_ec_rel_col",
        "edit_ec_phone_col"
      ],
      "edit_ec_name_col": [
        "edit_ec_name"
      ],
      "edit_ec_name": [
        "edit_ec_name_input"
      ],
      "edit_ec_rel_col": [
        "edit_ec_relationship"
      ],
      "edit_ec_relationship": [
        "edit_ec_relationship_input"
      ],
      "edit_ec_phone_col": [
        "edit_ec_phone"
      ],
      "edit_ec_phone": [
        "edit_ec_phone_input"
      ],
      "edit_insurance_row": [
        "edit_insurance_col",
        "edit_policy_col"
      ],
      "edit_insurance_col": [
        "edit_insurance_provider"
      ],
      "edit_insurance_provider": [
        "edit_insurance_provider_input"
      ],
      "edit_policy_col": [
        "edit_policy_number"
      ],
      "edit_policy_number": [
        "edit_policy_number_input"
      ],
      "edit_submit_row": [
        "edit_cancel_button",
        "edit_submit_button"
      ],
      "profile_drawer": [
        "profile_content"
      ],
      "profile_content": [
        "profile_header_row",
        "profile_tabs"
      ],
      "profile_header_row": [
        "profile_info_col",
        "profile_actions_col"
      ],
      "profile_info_col": [
        "profile_patient_name",
        "profile_patient_id_text"
      ],
      "profile_actions_col": [
        "profile_actions_space"
      ],
      "profile_actions_space": [
        "schedule_appointment_button",
        "print_summary_button"
      ],
      "profile_tabs": [
        "profile_demographics_tab",
        "profile_medical_record_tab",
        "profile_appointments_tab",
        "profile_consultations_section",
        "profile_prescriptions_section",
        "profile_vitals_section",
        "profile_lab_section",
        "profile_billing_section"
      ]
    },
    "layout": {
      "main_container": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "page_header": {
        "type": "vertical",
        "gap": 4,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "toolbar_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "actions_row": {
        "type": "horizontal",
        "gap": 8,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "table_section": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "register_form": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "reg_name_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "reg_dob_gender_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "reg_contact_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "reg_address_row1": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "reg_address_row2": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "reg_emergency_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "reg_insurance_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "reg_submit_row": {
        "type": "horizontal",
        "gap": 8,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_form": {
        "type": "vertical",
        "gap": 0,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_name_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_dob_gender_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_contact_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_address_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_city_state_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_emergency_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_insurance_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "edit_submit_row": {
        "type": "horizontal",
        "gap": 8,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "profile_content": {
        "type": "vertical",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "profile_header_row": {
        "type": "horizontal",
        "gap": 16,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "profile_info_col": {
        "type": "vertical",
        "gap": 4,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      },
      "profile_actions_space": {
        "type": "horizontal",
        "gap": 8,
        "padding": null,
        "columns": null,
        "column_template": null,
        "row_template": null,
        "align_items": null,
        "justify_content": null,
        "wrap": false,
        "min_height": null,
        "overflow": null
      }
    },
    "layout_zones": [
      {
        "zone_id": "main_zone",
        "component": "main_container",
        "anchor": "top-left",
        "size_hint": "full-width",
        "z_layer": "base",
        "notes": "Root page container"
      },
      {
        "zone_id": "register_overlay",
        "component": "register_drawer",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "overlay",
        "notes": "Patient registration drawer"
      },
      {
        "zone_id": "edit_overlay",
        "component": "edit_modal",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "overlay",
        "notes": "Patient edit modal"
      },
      {
        "zone_id": "profile_overlay",
        "component": "profile_drawer",
        "anchor": "center",
        "size_hint": "auto",
        "z_layer": "overlay",
        "notes": "Patient profile drawer"
      }
    ],
    "responsive_overrides": []
  },
  "navigation_ir": {
    "tabs": [],
    "modals": {},
    "drawers": {},
    "routes": [],
    "breadcrumb": null,
    "default_tab": null
  },
  "realtime_ir": {
    "timers": {},
    "polling": {}
  },
  "metadata": {
    "ir_version": "3.5",
    "generated_at": "",
    "source_prompt": null,
    "schema_session_id": null,
    "warnings": []
  },
  "page_data_contract": null,
  "schema_ir": null
}
