{
    "schema_version":  "1.0",
    "project":  "Hospital Executive Dashboard",
    "patch_id":  "H11.0-P3",
    "action":  "APPLY_TEST",
    "status":  "PASS",
    "run_id":  "20260711_150152_APPLY_TEST",
    "generated_at":  "2026-07-11T12:05:07Z",
    "source_root":  "C:\\xampp\\htdocs\\ddb-new",
    "error":  "",
    "steps":  [
                  {
                      "status":  "PASS",
                      "phase":  "H11.0-P3",
                      "target_version":  "11.0.3",
                      "generated_at":  "2026-07-11T12:01:52Z",
                      "already_target":  false,
                      "backup_root":  "C:\\xampp\\htdocs\\ddb-new\\_ddb_patch_center_private\\backups\\H11_0-P3_20260711_150152",
                      "payload_files":  14,
                      "guard_policy":  "release_capability_guard_v11",
                      "checks":  [
                                     {
                                         "name":  "baseline_release_version",
                                         "status":  "PASS",
                                         "detail":  "11.0.2 allowed=11.0.2"
                                     },
                                     {
                                         "name":  "baseline_exists_DDB_VERSION.json",
                                         "status":  "PASS",
                                         "detail":  "DDB_VERSION.json"
                                     },
                                     {
                                         "name":  "baseline_exists_docs_legacy_H11_0_P2_LEGACY_GAP_BASELINE.json",
                                         "status":  "PASS",
                                         "detail":  "docs/legacy/H11_0_P2_LEGACY_GAP_BASELINE.json"
                                     },
                                     {
                                         "name":  "baseline_exists_docs_legacy_H11_0_P2_LEGACY_FUNCTIONAL_INVENTORY.csv",
                                         "status":  "PASS",
                                         "detail":  "docs/legacy/H11_0_P2_LEGACY_FUNCTIONAL_INVENTORY.csv"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Executive_Contracts_LegacyParityBaseline.json",
                                         "status":  "PASS",
                                         "detail":  "app/Executive/Contracts/LegacyParityBaseline.json"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Repositories_VisitsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "app/Repositories/VisitsRepository.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Repositories_LegacyPatientActivityRepository.php",
                                         "status":  "PASS",
                                         "detail":  "app/Repositories/LegacyPatientActivityRepository.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Controllers_OperationsController.php",
                                         "status":  "PASS",
                                         "detail":  "app/Controllers/OperationsController.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Views_operations_module.php",
                                         "status":  "PASS",
                                         "detail":  "app/Views/operations/module.php"
                                     },
                                     {
                                         "name":  "baseline_exists_config_i18n.php",
                                         "status":  "PASS",
                                         "detail":  "config/i18n.php"
                                     },
                                     {
                                         "name":  "baseline_capability_DDB_VERSION.json",
                                         "status":  "PASS",
                                         "detail":  "11.0.2"
                                     },
                                     {
                                         "name":  "baseline_capability_docs_legacy_H11_0_P2_LEGACY_GAP_BASELINE.json",
                                         "status":  "PASS",
                                         "detail":  "\"legacy_fn\": \"acty\""
                                     },
                                     {
                                         "name":  "baseline_capability_docs_legacy_H11_0_P2_LEGACY_FUNCTIONAL_INVENTORY.csv",
                                         "status":  "PASS",
                                         "detail":  "get_admission_category_type"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Repositories_VisitsRepository.php",
                                         "status":  "PASS",
                                         "detail":  "public function followupMix("
                                     },
                                     {
                                         "name":  "baseline_capability_app_Repositories_LegacyPatientActivityRepository.php",
                                         "status":  "PASS",
                                         "detail":  "Legacy vfr: New versus Follow-up"
                                     }
                                 ],
                      "diagnostic_checks":  [
                                                {
                                                    "name":  "baseline_diagnostic_docs_legacy_LEGACY_FUNCTION_MASTER_MATRIX.csv",
                                                    "status":  "PASS",
                                                    "detail":  "PARTIAL_BODY_AVAILABLE"
                                                }
                                            ],
                      "post_apply_checks":  [
                                                {
                                                    "name":  "post_apply_target_version",
                                                    "status":  "PASS",
                                                    "detail":  "11.0.3"
                                                },
                                                {
                                                    "name":  "post_apply_payload_DDB_VERSION.json",
                                                    "status":  "PASS",
                                                    "detail":  "95dcd7cebec768e38a9d3b4b67bad8932ffb490f9a53631110142be7c738e1c7"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Controllers_OperationsController.php",
                                                    "status":  "PASS",
                                                    "detail":  "7d24ead23d8de92ca77fdd67f11f75d4ff7d68d52f6e62dae7826c89c962343d"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Repositories_LegacyPatientActivityRepository.php",
                                                    "status":  "PASS",
                                                    "detail":  "c2f89a425be1717237c36098d5e6270e91cee44d1f584cd22c0cb23cc9ee3cea"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Repositories_VisitsRepository.php",
                                                    "status":  "PASS",
                                                    "detail":  "a2e704ad0703b3386a3cb2b8a86df7bc94461b4f5146f8c5a756d7b205b78dc2"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Services_AdmissionCategoryParityService.php",
                                                    "status":  "PASS",
                                                    "detail":  "5c0526b6b40a519f332d535cb574d4446434bf78615f60a07cff89f4867d48fd"
                                                },
                                                {
                                                    "name":  "post_apply_payload_app_Views_operations_module.php",
                                                    "status":  "PASS",
                                                    "detail":  "8a993f56a652c332c79a54e0be03069e95d621c04fd1ad7856e1466b7875df16"
                                                },
                                                {
                                                    "name":  "post_apply_payload_config_i18n.php",
                                                    "status":  "PASS",
                                                    "detail":  "d403af878a001a0bc8aed2cc73fb743e7ff4ec2ab2194d53046d96c3d1ef0ac3"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_H11_0_P3_ACTY_LEGACY_SOURCE_CONTRACT.md",
                                                    "status":  "PASS",
                                                    "detail":  "4e8f474d849a0764314ed2cdb33b7cdce9bad64228af5b9c12534f3aa3de856f"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_H11_0_P3_CURRENT_LEGACY_FUNCTIONAL_INVENTORY.csv",
                                                    "status":  "PASS",
                                                    "detail":  "d35b9a1701089fe9bdfbf7379a2bccbda2565157d7420c2767a50f41c40e7a23"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_H11_0_P3_LEGACY_PARITY_DELTA.json",
                                                    "status":  "PASS",
                                                    "detail":  "00d88d94124793c27f1fb69347e03850ee7d75fc4f93e00c71754a3896e8fd52"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_FUNCTION_MASTER_MATRIX.csv",
                                                    "status":  "PASS",
                                                    "detail":  "fc6e9bfb357fa1906043b1558e743d81310f42a432e85dac921cc2bb2fcebcd9"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_SOURCE_COVERAGE.md",
                                                    "status":  "PASS",
                                                    "detail":  "553fd75ba9dcf14631f5f3b1568a13bf369f1a104dd8259f388d100a98b53659"
                                                },
                                                {
                                                    "name":  "post_apply_payload_docs_legacy_LEGACY_SQL_SOURCE_MAP.csv",
                                                    "status":  "PASS",
                                                    "detail":  "b4379e0c62a9990ef6a8e863f0010200d60fd868cab1d20b279c57276a83ce16"
                                                },
                                                {
                                                    "name":  "post_apply_payload_public_phase11-0-p3-admission-category-parity-qa.php",
                                                    "status":  "PASS",
                                                    "detail":  "3fc68f68242972644a446d5463285d853566ce875e07fb48bc6b0ed99551d6b0"
                                                }
                                            ]
                  },
                  {
                      "status":  "PASS",
                      "phase":  "H11.0-P3",
                      "generated_at":  "2026-07-11T12:05:07Z",
                      "checks":  [
                                     {
                                         "name":  "target_version_installed",
                                         "status":  "PASS",
                                         "detail":  "11.0.3"
                                     },
                                     {
                                         "name":  "php_syntax_all_files",
                                         "status":  "PASS",
                                         "detail":  "111 checked; failures=0"
                                     },
                                     {
                                         "name":  "http_gate",
                                         "status":  "PASS",
                                         "detail":  "failures=0"
                                     },
                                     {
                                         "name":  "oracle_read_only_regression_gate",
                                         "status":  "PASS",
                                         "detail":  "failures=0"
                                     },
                                     {
                                         "name":  "revenue_regression_parity_10_of_10",
                                         "status":  "PASS",
                                         "detail":  "functions=10; failures=0"
                                     },
                                     {
                                         "name":  "revenue_regression_chart_structural_qa",
                                         "status":  "PASS",
                                         "detail":  "failures=0"
                                     },
                                     {
                                         "name":  "revenue_regression_browser_render_5_of_5",
                                         "status":  "PASS",
                                         "detail":  "rendered=5/5; failed=0"
                                     },
                                     {
                                         "name":  "patient_activity_legacy_runtime_parity_8_of_8",
                                         "status":  "PASS",
                                         "detail":  "functions=8; failures=0; max_diff=0"
                                     },
                                     {
                                         "name":  "patient_activity_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "patient_activity_actual_browser_render_3_of_3",
                                         "status":  "PASS",
                                         "detail":  "rendered=3/3; failed=0"
                                     },
                                     {
                                         "name":  "operations_legacy_runtime_parity_2_of_2",
                                         "status":  "PASS",
                                         "detail":  "functions=2; failures=0; max_diff=0"
                                     },
                                     {
                                         "name":  "operations_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "operations_actual_browser_render_3_of_3",
                                         "status":  "PASS",
                                         "detail":  "rendered=3/3; failed=0"
                                     },
                                     {
                                         "name":  "diagnostics_legacy_runtime_parity_4_of_4",
                                         "status":  "PASS",
                                         "detail":  "functions=4; failures=0; max_diff=0"
                                     },
                                     {
                                         "name":  "diagnostics_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "diagnostics_actual_browser_render_2_of_2",
                                         "status":  "PASS",
                                         "detail":  "rendered=2; empty=0; failed=0"
                                     },
                                     {
                                         "name":  "doctors_legacy_runtime_parity_6_of_6",
                                         "status":  "PASS",
                                         "detail":  "functions=6; failures=0; identity_mismatches=0; max_diff=0"
                                     },
                                     {
                                         "name":  "doctors_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "doctors_actual_browser_render_2_of_2",
                                         "status":  "PASS",
                                         "detail":  "rendered=2; empty=0; failed=0"
                                     },
                                     {
                                         "name":  "beds_units_legacy_runtime_parity_5_of_5",
                                         "status":  "PASS",
                                         "detail":  "functions=5; failures=0; identity_mismatches=0; max_diff=0"
                                     },
                                     {
                                         "name":  "beds_units_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "beds_units_actual_browser_render_2_of_2",
                                         "status":  "PASS",
                                         "detail":  "rendered=2; empty=0; failed=0"
                                     },
                                     {
                                         "name":  "specialty_finance_reconstructed_runtime_parity_6_of_6",
                                         "status":  "PASS",
                                         "detail":  "functions=6; failures=0; max_diff=0"
                                     },
                                     {
                                         "name":  "specialty_finance_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     },
                                     {
                                         "name":  "specialty_finance_source_evidence_boundary_preserved",
                                         "status":  "PASS",
                                         "detail":  "HISTORICAL_FUNCTION_BODIES_MISSING_RECONSTRUCTED_SOURCE_PARITY_ONLY"
                                     },
                                     {
                                         "name":  "specialty_finance_actual_browser_completion_3_of_3",
                                         "status":  "PASS",
                                         "detail":  "rendered=3; empty=0; failed=0"
                                     },
                                     {
                                         "name":  "executive_ui_foundation_shared_components",
                                         "status":  "PASS",
                                         "detail":  "PASS"
                                     },
                                     {
                                         "name":  "executive_ui_foundation_browser_render",
                                         "status":  "PASS",
                                         "detail":  "rendered=3"
                                     },
                                     {
                                         "name":  "architecture_readiness",
                                         "status":  "PASS",
                                         "detail":  "blocking=0; legacy_debt=1"
                                     },
                                     {
                                         "name":  "legacy_functional_inventory_gap_baseline",
                                         "status":  "PASS",
                                         "detail":  "total=31; matched=18; partial=9; missing=4; next=acty"
                                     },
                                     {
                                         "name":  "admission_category_legacy_runtime_parity_2_of_2",
                                         "status":  "PASS",
                                         "detail":  "functions=2; failures=0; max_diff=0"
                                     },
                                     {
                                         "name":  "admission_category_full_historical_source_recovered",
                                         "status":  "PASS",
                                         "detail":  "FULL_HISTORICAL_FUNCTION_BODY_RECOVERED"
                                     },
                                     {
                                         "name":  "admission_category_parity_is_read_only",
                                         "status":  "PASS",
                                         "detail":  "NONE"
                                     }
                                 ],
                      "php_files_checked":  111,
                      "php_failures":  0,
                      "http_gate":  "PASS",
                      "oracle_gate":  "PASS",
                      "revenue_parity_gate":  "PASS",
                      "revenue_functions_checked":  10,
                      "revenue_browser_gate":  "PASS",
                      "revenue_browser_rendered":  5,
                      "patient_activity_parity_gate":  "PASS",
                      "patient_activity_functions_checked":  8,
                      "patient_activity_max_difference":  0,
                      "patient_activity_browser_gate":  "PASS",
                      "patient_activity_browser_rendered":  3,
                      "patient_activity_browser_failed":  0,
                      "operations_parity_gate":  "PASS",
                      "operations_functions_checked":  2,
                      "operations_max_difference":  0,
                      "operations_browser_gate":  "PASS",
                      "operations_browser_rendered":  3,
                      "operations_browser_failed":  0,
                      "diagnostics_parity_gate":  "PASS",
                      "diagnostics_functions_checked":  4,
                      "diagnostics_max_difference":  0,
                      "diagnostics_browser_gate":  "PASS",
                      "diagnostics_browser_rendered":  2,
                      "diagnostics_browser_empty":  0,
                      "diagnostics_browser_failed":  0,
                      "doctors_parity_gate":  "PASS",
                      "doctors_functions_checked":  6,
                      "doctors_max_difference":  0,
                      "doctors_ranking_identity_mismatches":  0,
                      "doctors_browser_gate":  "PASS",
                      "doctors_browser_rendered":  2,
                      "doctors_browser_empty":  0,
                      "doctors_browser_failed":  0,
                      "beds_units_parity_gate":  "PASS",
                      "beds_units_functions_checked":  5,
                      "beds_units_identity_mismatches":  0,
                      "beds_units_max_difference":  0,
                      "beds_units_browser_gate":  "PASS",
                      "beds_units_browser_rendered":  2,
                      "beds_units_browser_empty":  0,
                      "beds_units_browser_failed":  0,
                      "specialty_finance_parity_gate":  "PASS",
                      "specialty_finance_functions_checked":  6,
                      "specialty_finance_max_difference":  0,
                      "specialty_finance_browser_gate":  "PASS",
                      "specialty_finance_browser_rendered":  3,
                      "specialty_finance_browser_empty":  0,
                      "specialty_finance_browser_failed":  0,
                      "specialty_finance_source_evidence_boundary":  "HISTORICAL_FUNCTION_BODIES_MISSING_RECONSTRUCTED_SOURCE_PARITY_ONLY",
                      "legacy_inventory_gate":  "PASS",
                      "legacy_known_functions_total":  31,
                      "legacy_matched":  18,
                      "legacy_partial":  9,
                      "legacy_missing":  4,
                      "legacy_matched_pct":  58.1,
                      "next_legacy_migration_item":  "acty",
                      "admission_category_parity_gate":  "PASS",
                      "admission_category_functions_checked":  2,
                      "admission_category_max_difference":  0,
                      "admission_category_source_boundary":  "FULL_HISTORICAL_FUNCTION_BODY_RECOVERED",
                      "legacy_matched_after_p3_pass":  19,
                      "legacy_missing_after_p3_pass":  3,
                      "legacy_matched_pct_after_p3_pass":  61.3,
                      "write_operations":  "NONE"
                  }
              ]
}