{
    "schema": "DDB_BRANCH_COMPARISON_R45_P11_2_LIVE_ACCEPTANCE_V1",
    "captured_at": "2026-07-19T06:26:52+03:00",
    "periods": {
        "current_from": "2026-01-01",
        "current_to": "2026-06-30",
        "compare_from": "2025-01-01",
        "compare_to": "2025-06-30"
    },
    "branches": [
        "njch",
        "mnh"
    ],
    "metrics_expected": [
        "outpatient",
        "admissions",
        "emergency",
        "operations",
        "laboratory",
        "radiology"
    ],
    "results": {
        "njch": {
            "status": "PASS",
            "current_totals": {
                "admissions": 2449,
                "emergency": 5515,
                "laboratory": 125361,
                "operations": 2173,
                "outpatient": 65484,
                "radiology": 17426
            },
            "compare_totals": {
                "admissions": 2583,
                "emergency": 5987,
                "laboratory": 124451,
                "operations": 2191,
                "outpatient": 66653,
                "radiology": 16940
            },
            "checks": {
                "current_row_count_72": true,
                "compare_row_count_72": true,
                "all_metrics_current": true,
                "all_metrics_compare": true,
                "six_visible_months_per_current_metric": true,
                "six_visible_months_per_compare_metric": true,
                "current_activity_present": true,
                "compare_activity_present": true
            }
        },
        "mnh": {
            "status": "PASS",
            "current_totals": {
                "admissions": 3624,
                "emergency": 14467,
                "laboratory": 185323,
                "operations": 1354,
                "outpatient": 76265,
                "radiology": 20282
            },
            "compare_totals": {
                "admissions": 3326,
                "emergency": 16220,
                "laboratory": 210933,
                "operations": 1269,
                "outpatient": 89819,
                "radiology": 22377
            },
            "checks": {
                "current_row_count_72": true,
                "compare_row_count_72": true,
                "all_metrics_current": true,
                "all_metrics_compare": true,
                "six_visible_months_per_current_metric": true,
                "six_visible_months_per_compare_metric": true,
                "current_activity_present": true,
                "compare_activity_present": true
            }
        }
    },
    "access_paths": {
        "njch": {
            "mode": "CONFIGURED_SID_DIRECT",
            "source": "USER_CONFIRMED_SQL_DEVELOPER_SUCCESS_SCREENSHOTS",
            "endpoint": {
                "host": "10.10.x.x",
                "port": "1521",
                "sid": "ORANJC"
            },
            "identity": {
                "global_name": "ORANJC",
                "db_name": "oranjc",
                "service_name": "SYS$USERS",
                "instance_name": "oranjc",
                "hospital_names": [
                    "New Jeddah Clinic Hospital",
                    "NJCH"
                ],
                "fingerprint": "ded88a26a791c46c0aa56a9d5ee00d1b9fd31aca"
            }
        },
        "mnh": {
            "mode": "CONFIGURED_SID_DIRECT",
            "source": "USER_CONFIRMED_SQL_DEVELOPER_SUCCESS_SCREENSHOTS",
            "endpoint": {
                "host": "10.20.x.x",
                "port": "1521",
                "sid": "oramnh"
            },
            "identity": {
                "global_name": "ORAMNH",
                "db_name": "oramnh",
                "service_name": "SYS$USERS",
                "instance_name": "oramnh",
                "hospital_names": [
                    "Madina National Hospital",
                    "MNH"
                ],
                "fingerprint": "44cc438627ad3a100edd896f2c501bde19d171db"
            }
        }
    },
    "connectivity": {
        "schema_version": "3.0",
        "policy": "STRICT_CONFIGURED_SID_DIRECT",
        "branches_expected": [
            "njch",
            "jckh",
            "mnh"
        ],
        "resolved": {
            "njch": {
                "mode": "CONFIGURED_SID_DIRECT",
                "source": "USER_CONFIRMED_SQL_DEVELOPER_SUCCESS_SCREENSHOTS",
                "endpoint": {
                    "host": "10.10.x.x",
                    "port": "1521",
                    "sid": "ORANJC"
                },
                "identity": {
                    "global_name": "ORANJC",
                    "db_name": "oranjc",
                    "service_name": "SYS$USERS",
                    "instance_name": "oranjc",
                    "hospital_names": [
                        "New Jeddah Clinic Hospital",
                        "NJCH"
                    ],
                    "fingerprint": "ded88a26a791c46c0aa56a9d5ee00d1b9fd31aca"
                }
            },
            "mnh": {
                "mode": "CONFIGURED_SID_DIRECT",
                "source": "USER_CONFIRMED_SQL_DEVELOPER_SUCCESS_SCREENSHOTS",
                "endpoint": {
                    "host": "10.20.x.x",
                    "port": "1521",
                    "sid": "oramnh"
                },
                "identity": {
                    "global_name": "ORAMNH",
                    "db_name": "oramnh",
                    "service_name": "SYS$USERS",
                    "instance_name": "oramnh",
                    "hospital_names": [
                        "Madina National Hospital",
                        "MNH"
                    ],
                    "fingerprint": "44cc438627ad3a100edd896f2c501bde19d171db"
                }
            }
        },
        "access_paths_used": {
            "njch": {
                "mode": "CONFIGURED_SID_DIRECT",
                "source": "USER_CONFIRMED_SQL_DEVELOPER_SUCCESS_SCREENSHOTS",
                "endpoint": {
                    "host": "10.10.x.x",
                    "port": "1521",
                    "sid": "ORANJC"
                },
                "identity": {
                    "global_name": "ORANJC",
                    "db_name": "oranjc",
                    "service_name": "SYS$USERS",
                    "instance_name": "oranjc",
                    "hospital_names": [
                        "New Jeddah Clinic Hospital",
                        "NJCH"
                    ],
                    "fingerprint": "ded88a26a791c46c0aa56a9d5ee00d1b9fd31aca"
                }
            },
            "mnh": {
                "mode": "CONFIGURED_SID_DIRECT",
                "source": "USER_CONFIRMED_SQL_DEVELOPER_SUCCESS_SCREENSHOTS",
                "endpoint": {
                    "host": "10.20.x.x",
                    "port": "1521",
                    "sid": "oramnh"
                },
                "identity": {
                    "global_name": "ORAMNH",
                    "db_name": "oramnh",
                    "service_name": "SYS$USERS",
                    "instance_name": "oramnh",
                    "hospital_names": [
                        "Madina National Hospital",
                        "MNH"
                    ],
                    "fingerprint": "44cc438627ad3a100edd896f2c501bde19d171db"
                }
            }
        },
        "attempts": {
            "njch": [
                {
                    "source": "AUTHORITATIVE_ENV_SID_CONTRACT",
                    "status": "PASS",
                    "configured": {
                        "connect_type": "sid",
                        "host": "10.10.x.x",
                        "port": "1521",
                        "sid": "ORANJC",
                        "username_present": true,
                        "password_present": true
                    },
                    "expected": {
                        "connect_type": "sid",
                        "host": "10.10.x.x",
                        "port": "1521",
                        "sid": "ORANJC"
                    }
                },
                {
                    "source": "DIRECT_SID_ORACLE_PROBE",
                    "status": "PASS",
                    "identity": {
                        "global_name": "ORANJC",
                        "db_name": "oranjc",
                        "service_name": "SYS$USERS",
                        "instance_name": "oranjc",
                        "hospital_names": [
                            "New Jeddah Clinic Hospital",
                            "NJCH"
                        ],
                        "fingerprint": "ded88a26a791c46c0aa56a9d5ee00d1b9fd31aca"
                    }
                }
            ],
            "mnh": [
                {
                    "source": "AUTHORITATIVE_ENV_SID_CONTRACT",
                    "status": "PASS",
                    "configured": {
                        "connect_type": "sid",
                        "host": "10.20.x.x",
                        "port": "1521",
                        "sid": "oramnh",
                        "username_present": true,
                        "password_present": true
                    },
                    "expected": {
                        "connect_type": "sid",
                        "host": "10.20.x.x",
                        "port": "1521",
                        "sid": "oramnh"
                    }
                },
                {
                    "source": "DIRECT_SID_ORACLE_PROBE",
                    "status": "PASS",
                    "identity": {
                        "global_name": "ORAMNH",
                        "db_name": "oramnh",
                        "service_name": "SYS$USERS",
                        "instance_name": "oramnh",
                        "hospital_names": [
                            "Madina National Hospital",
                            "MNH"
                        ],
                        "fingerprint": "44cc438627ad3a100edd896f2c501bde19d171db"
                    }
                }
            ]
        },
        "write_operations": "NONE"
    },
    "checks": {
        "ready_branches_exact": true,
        "fair_contract": true,
        "last_complete_month_is_6": true,
        "current_period_exact": true,
        "compare_period_exact": true,
        "njch_oracle_query": true,
        "njch_current_row_count_72": true,
        "njch_compare_row_count_72": true,
        "njch_all_metrics_current": true,
        "njch_all_metrics_compare": true,
        "njch_six_visible_months_per_current_metric": true,
        "njch_six_visible_months_per_compare_metric": true,
        "njch_current_activity_present": true,
        "njch_compare_activity_present": true,
        "mnh_oracle_query": true,
        "mnh_current_row_count_72": true,
        "mnh_compare_row_count_72": true,
        "mnh_all_metrics_current": true,
        "mnh_all_metrics_compare": true,
        "mnh_six_visible_months_per_current_metric": true,
        "mnh_six_visible_months_per_compare_metric": true,
        "mnh_current_activity_present": true,
        "mnh_compare_activity_present": true
    },
    "status": "PASS",
    "failed": [],
    "oracle_writes": "NONE"
}