Daily Inpatient Revenue — Power BI Master Report
R40 Trust Gate: DDB_POWERBI_PBIX_TRUST_GATE_V1

Expected real Power BI Desktop report:

  resources/powerbi/Daily_Inpatient_Revenue_Master.pbix

Legacy fallback supported for transition only:

  resources/powerbi/NJCH_Daily_Revenue.pbix

R40 fail-closed policy
----------------------
The Power BI button and the user-facing Power BI package are enabled only when the exact PBIX file passes both layers below:

1) Structural admission gate
   - readable .pbix file
   - non-empty ZIP container
   - required Power BI-like internal parts are present
   - ordinary ZIP files renamed to .pbix are rejected

2) Power BI Desktop acceptance receipt
   A JSON receipt must exist beside the exact PBIX file:

     Daily_Inpatient_Revenue_Master.pbix.acceptance.json

   The receipt is valid only when:
   - schema = DDB_POWERBI_DESKTOP_ACCEPTANCE_V1
   - pbix_sha256 exactly matches the current PBIX bytes
   - power_bi_desktop_open = PASS
   - refresh_from_datapack = PASS
   - njch_reconciliation = PASS
   - mnh_reconciliation = PASS
   - accepted_at contains a valid timestamp
   - accepted_by identifies the acceptance actor and is not a template placeholder
   - evidence_reference points to the acceptance evidence and is not a template placeholder

Use this template as a starting point:

  resources/powerbi/Daily_Inpatient_Revenue_Master.pbix.acceptance.example.json

Important truth boundary
------------------------
- The application does not create or fake PBIX files.
- A structural gate does not prove that Power BI Desktop can open or refresh a report.
- A changed PBIX invalidates an old receipt automatically because the SHA-256 no longer matches.
- Missing evidence is not PASS.
- The current R40 candidate does not include a real PBIX file and therefore remains Power BI Desktop acceptance PENDING.
