{
    "schema_version":  "1.0",
    "project":  "Hospital Executive Dashboard",
    "patch_id":  "H11.0-P4.4",
    "action":  "APPLY",
    "status":  "FAIL",
    "run_id":  "20260711_185328_APPLY",
    "generated_at":  "2026-07-11T15:53:29Z",
    "source_root":  "C:\\xampp\\htdocs\\ddb-new",
    "error":  "Apply failed: BLOCKED_BASELINE_MISMATCH",
    "steps":  [
                  {
                      "schema_version":  "1.3",
                      "status":  "PASS",
                      "generated_at":  "2026-07-11T15:53:29Z",
                      "parser":  "System.Management.Automation.Language.Parser",
                      "powershell_edition":  "Desktop",
                      "powershell_version":  "5.1.17763.8880",
                      "package_root_source":  "PSScriptRoot",
                      "files_checked":  36,
                      "parser_errors":  0,
                      "reserved_variable_collisions":  0,
                      "total_failures":  0,
                      "rows":  [
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\engine\\BootstrapSyntaxPreflight.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\engine\\Common.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\engine\\Diagnostics.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\engine\\PatchCenter.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\engine\\PowerShellSyntaxPreflight.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\engine\\PublishEvidence.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\engine\\RunAction.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\engine\\Status.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\APPLY.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\ROLLBACK.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_ADMISSION_CATEGORY_PARITY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_ARCHITECTURE_READINESS_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_BEDS_BROWSER_RENDER_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_BEDS_PARITY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_BRANCH_SID_CONFIG_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_DIAGNOSTICS_BROWSER_RENDER_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_DIAGNOSTICS_PARITY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_DOCTORS_BROWSER_RENDER_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_DOCTORS_PARITY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_EXECUTIVE_UI_BROWSER_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_EXECUTIVE_UI_FOUNDATION_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_FULL_QA.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_HTTP_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_JCKH_NETWORK_ISOLATION_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_LEGACY_INVENTORY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_MULTI_BRANCH_OUTPATIENT_PARITY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_OPERATIONS_BROWSER_RENDER_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_OPERATIONS_PARITY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_ORACLE_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_PATIENT_ACTIVITY_BROWSER_RENDER_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_PATIENT_ACTIVITY_PARITY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_REVENUE_BROWSER_RENDER_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_REVENUE_CHART_QA.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_REVENUE_PARITY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_SPECIALTY_FINANCE_BROWSER_RENDER_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   },
                                   {
                                       "file":  "C:\\xampp\\htdocs\\work\\DDB_H11_0_P4_4_JCKH\\current_patch\\tests\\RUN_SPECIALTY_FINANCE_PARITY_GATE.ps1",
                                       "status":  "PASS",
                                       "error_type":  "",
                                       "line":  0,
                                       "column":  0,
                                       "error":  ""
                                   }
                               ]
                  },
                  {
                      "status":  "BLOCKED_BASELINE_MISMATCH",
                      "phase":  "H11.0-P4.4",
                      "generated_at":  "2026-07-11T15:53:29Z",
                      "guard_policy":  "release_capability_guard_v11",
                      "current_release":  "11.0.4.3",
                      "allowed_base_versions":  [
                                                    "11.0.4.3"
                                                ],
                      "already_target":  false,
                      "blocking_failed_check_count":  1,
                      "blocking_failed_checks":  [
                                                     {
                                                         "name":  "baseline_capability_app_Core_Database.php",
                                                         "status":  "FAIL",
                                                         "detail":  "fetchAllUsingDatabaseConfig"
                                                     }
                                                 ],
                      "checks":  [
                                     {
                                         "name":  "baseline_release_version",
                                         "status":  "PASS",
                                         "detail":  "11.0.4.3 allowed=11.0.4.3"
                                     },
                                     {
                                         "name":  "baseline_exists_DDB_VERSION.json",
                                         "status":  "PASS",
                                         "detail":  "DDB_VERSION.json"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Core_Database.php",
                                         "status":  "PASS",
                                         "detail":  "app/Core/Database.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Services_BranchOracleAccessResolver.php",
                                         "status":  "PASS",
                                         "detail":  "app/Services/BranchOracleAccessResolver.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Services_MultiBranchPatientActivityService.php",
                                         "status":  "PASS",
                                         "detail":  "app/Services/MultiBranchPatientActivityService.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Repositories_LegacyMultiBranchPatientActivityRepository.php",
                                         "status":  "PASS",
                                         "detail":  "app/Repositories/LegacyMultiBranchPatientActivityRepository.php"
                                     },
                                     {
                                         "name":  "baseline_exists_app_Services_MultiBranchOutpatientParityService.php",
                                         "status":  "PASS",
                                         "detail":  "app/Services/MultiBranchOutpatientParityService.php"
                                     },
                                     {
                                         "name":  "baseline_exists_public_phase11-0-p4-multi-branch-outpatient-parity-qa.php",
                                         "status":  "PASS",
                                         "detail":  "public/phase11-0-p4-multi-branch-outpatient-parity-qa.php"
                                     },
                                     {
                                         "name":  "baseline_capability_DDB_VERSION.json",
                                         "status":  "PASS",
                                         "detail":  "11.0.4.3"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Core_Database.php",
                                         "status":  "FAIL",
                                         "detail":  "fetchAllUsingDatabaseConfig"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Services_BranchOracleAccessResolver.php",
                                         "status":  "PASS",
                                         "detail":  "STRICT_CONFIGURED_SID_DIRECT"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Services_MultiBranchOutpatientParityService.php",
                                         "status":  "PASS",
                                         "detail":  "STRICT_CONFIGURED_SID_DIRECT"
                                     },
                                     {
                                         "name":  "baseline_capability_app_Views_operations_module.php",
                                         "status":  "PASS",
                                         "detail":  "data-legacy-function=\"gmov\""
                                     }
                                 ],
                      "diagnostic_checks":  [
                                                {
                                                    "name":  "baseline_diagnostic_docs_legacy_H11_0_P4_2_BRANCH_ORACLE_CONNECTIVITY_ROOT_RECOVERY.md",
                                                    "status":  "PASS",
                                                    "detail":  "ORA-12514"
                                                }
                                            ]
                  }
              ]
}