Implementation plan / Stage gates / Billing and coding
Slice Gates: Billing and coding¶
Gate criteria and test scenarios for the slices of this flow. Slice content is in slices/BC.md; stage gates and the rules for evidence and waivers are in stage-gates.md.
| Slice | Title | Stage | Tests |
|---|---|---|---|
| BC-1 | Eligibility and coverage at registration | 5 | 3 |
| BC-2 | Clinical event to priced charge | 5 | 7 |
| BC-3 | Patient account, invoice and payment | 5 | 10 |
| BC-4 | Record assembly, document stewardship and chart completion | 3 | 12 |
| BC-10 | Encounter coding to billing readiness | 5 | 6 |
| BC-5 | Claim to remittance and finance posting | 5 | 6 |
| BC-6 | Stock ledger, procurement and departmental consumption | 4 | 10 |
| BC-7 | Disclosure, retention and legal hold | 5 | 14 |
| BC-8 | Governed data platform fed by flow events | 5 | 15 |
| BC-9 | Operational, revenue-cycle and management reporting | 5 | 13 |
BC-1 Eligibility and coverage at registration¶
Stage 5 (Revenue and enterprise operations). Tier: 2. Slice definition: BC-1. Comes after: RC-2.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | These specification workflows pass end to end: WF-FIN-002 Eligibility and coverage verification | Workflow test results | Section 4.2 of the specifications |
| 3 | All 3 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (2) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 5 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-FIN-003 | Interface conformance and outage test results | ACC-005 |
| 6 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-FIN-014 | FR-FIN-PAY-001 | Real-time eligibility, payer timeout, batch run, manual verification | Integration / Resilience | Result linked to encounter; pending on timeout; registration unaffected |
| TEST-FIN-015 | FR-FIN-PAY-002 | Primary and secondary coverage; historical reorder; duplicate layer | Functional | Order applied by service date; duplicate rejected |
| TEST-FIN-016 | FR-FIN-PAY-003 | Service requiring authorization ordered without one; approved authorization on claim | Functional | Order unaffected; task created; claim validation uses authorization |
BC-2 Clinical event to priced charge¶
Stage 5 (Revenue and enterprise operations). Tier: 2. Slice definition: BC-2. Comes after: OR-1, RC-3, BC-1, BC-6.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | These specification workflows pass end to end: WF-FIN-001 Clinical event to charge item | Workflow test results | Section 4.2 of the specifications |
| 3 | All 7 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (5) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 5 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-FIN-001, IF-FIN-002, IF-FIN-010 | Interface conformance and outage test results | ACC-005 |
| 6 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-FIN-001 | FR-FIN-CHG-001 | Chargeable medication, procedure, laboratory and accommodation events for an open encounter | Functional / Integration | One traceable charge per chargeable service; ChargeCaptured published |
| TEST-FIN-002 | FR-FIN-CHG-001 | FIN domain stopped while the clinical scenario pack runs; then restarted | Resilience (failure injection) | All clinical transactions succeed; all events charged or exceptioned after restart |
| TEST-FIN-003 | FR-FIN-CHG-001 | Duplicate delivery and replay of charged events; source cancellation | Integration | No duplicate charge; single linked reversal |
| TEST-FIN-004 | FR-FIN-CHG-002 | Charge against cancelled encounter; emergency unidentified patient; merge and unmerge; EncounterCorrected "Reattributed after unmerge" on an encounter with an issued invoice; a deposit with no encounter |
Functional | Held for review; emergency charges retained; histories intact; full trace available; invoice credited and reissued under the attributed identity, never edited; deposit in the billing supervisor's review queue |
| TEST-FIN-005 | FR-FIN-TAR-001 | Service dates either side of a tariff change; recomputation; draft not used; rollback | Functional | Correct version by service date; recomputed equals posted |
| TEST-FIN-006 | FR-FIN-TAR-002 | Bundle, exclusion, package, co-payment, discount over limit, tax change | Functional | Rule outcomes correct and recorded; over-limit discount awaits approval |
| TEST-FIN-031 | FR-FIN-EXC-001 | Unmapped event to exception to reprocess; reconciliation with unaccounted event; escalation; daily and period-close FinancialControlTotalsReported and a corrected day |
Functional | Exception lifecycle correct; completeness computed; unaccounted listed; control totals published by 01:00 local with counts and amounts matching the published events, a correction re-sent with a higher version |
BC-3 Patient account, invoice and payment¶
Stage 5 (Revenue and enterprise operations). Tier: 2. Slice definition: BC-3. Comes after: BC-2.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | These specification workflows pass end to end: WF-FIN-003 Billing, invoice and payment; WF-FIN-005 Financial correction | Workflow test results | Section 4.2 of the specifications |
| 3 | All 10 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (6) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 5 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-FIN-002, IF-FIN-006, IF-FIN-012 | Interface conformance and outage test results | ACC-005 |
| 6 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-FIN-007 | FR-FIN-BIL-001 | Account with charges, deposit, payments, adjustments, two coverage layers | Functional | Balance equals independent sum; receivables by party; closure blocked with balance |
| TEST-FIN-008 | FR-FIN-BIL-002 | Invoice run, interim and supplementary invoice, credit note, concurrent numbering; year change; invoice mixing VAT-exempt care and a VAT-able outpatient pharmacy sale for a PKP entity | Functional | Totals correct; no double billing; unique numbers in the INV/[facility]/[YYYY]/[number] format restarting on 1 January; mandatory content present; VAT shown only on the VAT-able lines and the invoice listed for e-Faktur export; issued invoice unchanged |
| TEST-FIN-009 | FR-FIN-BIL-003 | Correct a posted charge and payment; attempt update or delete via UI and API | Functional / Security | Original, reversal and adjustment linked; edits refused and audited |
| TEST-FIN-017 | FR-FIN-CSH-001 | Full, partial and split payments; deposit allocation; repeated submission; online payment start, verified provider result, failure, expiry, late success and settlement reconciliation | Functional / Security | Correct posting and receipt; one payment for repeated submission; an online payment posted only on a verified result; no card data in the HIS |
| TEST-FIN-018 | FR-FIN-CSH-002 | Refund request, approval by different user, over-refund, double pay-out | Functional / Security | Linked refund; over-refund and self-approval rejected; single pay-out |
| TEST-FIN-019 | FR-FIN-CSH-003 | Session open, transactions, close with and without variance | Functional | Totals equal ledger; variance recorded and accepted by supervisor |
| TEST-FIN-039 | FR-FIN-BIL-004 | Estimate for a planned admission with package and coverage; link to the encounter; compare at discharge | Functional | Shares and deposit proposal shown; no ledger entry; estimate and actual shown together |
| TEST-FIN-040 | FR-FIN-BIL-005 | Guarantor on an account; payment plan proposed, self-approval attempted, approved, instalments paid and one overdue | Functional / Security | Invoice addressed to guarantor; self-approval refused; plan states and receivable correct |
| TEST-PEX-027 | FR-PEX-BIL-001 | Invoice with part payment and credit note; unissued charges; feature disabled; representative with excluded category. | Functional | Values equal Domain 5; adjustments shown separately; unissued hidden; API refuses; generic line label. |
| TEST-PEX-035 | FR-PEX-BIL-002 | Pay a statement by QRIS, virtual account and card on the provider's test page; return before the result; failed and expired payments; repeated "Pay online"; inspect PEX logs and storage. | Functional / Security | Payment posted by Domain 5 only; "Payment being confirmed" until the result; no double start; no card data in PEX. |
BC-4 Record assembly, document stewardship and chart completion¶
Stage 3 (Core clinical). Tier: 3. Slice definition: BC-4. Comes after: RC-5.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | These specification workflows pass end to end: WF-HIM-001 Chart Completion and Deficiency Resolution; WF-HIM-006 Paper and Downtime Document Capture | Workflow test results | Section 4.2 of the specifications |
| 3 | All 12 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (11) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 5 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-HIM-002, IF-HIM-003, IF-HIM-004, IF-HIM-005, IF-HIM-006 | Interface conformance and outage test results | ACC-005 |
| 6 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-HIM-001 | FR-HIM-WBN-001 | Work item created, taken, passes due time, closed | Functional | Item escalates with owner unchanged; closure reports age and reason |
| TEST-HIM-002 | FR-HIM-WBN-001 | Two users take the same item | Functional | Second take rejected, holder shown |
| TEST-HIM-003 | FR-HIM-WBN-002 | Merge then unmerge of two identities with HIM records, an active hold and a restriction | Integration | Records follow links, originals kept, hold persists, restriction flagged, post-merge records listed |
| TEST-HIM-010 | FR-HIM-CDT-001 | Missing and unsigned discharge summary; re-evaluation; rule with future effective date; lost event then reconciliation | Functional / Integration | Correct deficiency type; no duplicate; correct rule version; gap detected |
| TEST-HIM-011 | FR-HIM-CDT-002 | Assign, notify, escalate, close on signature, inactive owner, waive | Functional / Integration | States and notifications as specified; fallback queue used; waiver needs manager and reason |
| TEST-HIM-012 | FR-HIM-RAC-001 | Components from Domains 3 and 4 and a scan; corrected report; duplicate event; reconciliation | Integration | List complete with versions; no duplicates; differences reported |
| TEST-HIM-013 | FR-HIM-RAC-002 | Completion blocked by open mandatory deficiency; completion and lock; order on another encounter | Functional / Integration | Refused; ChartCompleted and RecordLocked emitted; care not blocked |
| TEST-HIM-014 | FR-HIM-RAC-003 | Addendum on locked record; coding review; patient correction request; partial outcome; withdrawal in the portal | Integration | Original intact; Reopened; work items created; no change before clinician amendment; Partly Amended shown as Partly Accepted; Withdrawn with review task closed and EVT-HIM-016 published |
| TEST-HIM-015 | FR-HIM-DOC-001 | Search by patient, encounter, type, author, date; encounter of another patient; reclassification | Functional | Found by each attribute; mismatch rejected; history kept |
| TEST-HIM-016 | FR-HIM-DOC-002 | Version chain; delete attempt; entered in error; hash mismatch | Functional / Security | Versions retrievable; delete refused and audited; integrity alert |
| TEST-HIM-017 | FR-HIM-DOC-003 | Downtime form batch; duplicate form number; failed quality check; mis-indexing correction | Functional | Forms linked to downtime event; duplicate flagged; failed scan excluded; correction with history and exposure list |
| TEST-HIM-036 | FR-HIM-ROI-005 | Encounter and Condition triggered together; correction of a sent Condition; profile rejection; SATUSEHAT unavailable for a day; patient without IHS number | Integration / Conformance | Encounter accepted first and referenced; update, no duplicate; work item to owner; queue drains in order with clinical work unaffected; resources held with a Domain 1 work item |
BC-10 Encounter coding to billing readiness¶
Stage 5 (Revenue and enterprise operations). Tier: 3. Slice definition: BC-10. Comes after: BC-4.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | These specification workflows pass end to end: WF-HIM-002 Encounter Coding to Billing Readiness | Workflow test results | Section 4.2 of the specifications |
| 3 | All 6 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (4) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 5 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-HIM-001 | Interface conformance and outage test results | ACC-005 |
| 6 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-HIM-004 | FR-HIM-COD-001 | Discharge event creates coding record; coder assigns codes; on hold raises deficiency | Functional / Integration | Pending record created; codes stored with role, sequence, version; deficiency raised |
| TEST-HIM-005 | FR-HIM-COD-002 | Candidates from crosswalk; undecided candidate at finalisation; unmapped concept | Functional / Integration | Candidates show source, confidence, version; finalisation refused; stewardship item raised |
| TEST-HIM-006 | FR-HIM-COD-003 | Retired code; historical encounter; terminology outage with and without valid cache | Functional / Integration | Invalid code blocked; effective version used; cache used or finalisation blocked |
| TEST-HIM-007 | FR-HIM-COD-003 | Problem list inspected after coding | Integration | Clinical concepts unchanged |
| TEST-HIM-008 | FR-HIM-COD-004 | Finalise, revise, read status through IF-HIM-001; coding-related rejection received | Integration | Events emitted; versions retrievable; recode work item created |
| TEST-HIM-009 | FR-HIM-COD-004 | HIM coding service stopped during clinical documentation and ordering | Resilience | No clinical transaction fails |
BC-5 Claim to remittance and finance posting¶
Stage 5 (Revenue and enterprise operations). Tier: 3. Slice definition: BC-5. Comes after: BC-1, BC-3, BC-10.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | These specification workflows pass end to end: WF-FIN-004 Claim to remittance | Workflow test results | Section 4.2 of the specifications |
| 3 | All 6 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (3) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 5 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-FIN-003, IF-FIN-004, IF-FIN-005, IF-FIN-007, IF-FIN-008 | Interface conformance and outage test results | ACC-005 |
| 6 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-FIN-010 | FR-FIN-CLM-001 | Generate and validate claim; missing code, missing authorization, coding incomplete; CodingRevised and RecordReopened before and after submission | Functional / Integration | Ready only when valid; failures listed; codes taken from coding record with its version; Ready claim back to Draft on revision; submitted claim gets the task "Coding revised after submission" |
| TEST-FIN-011 | FR-FIN-CLM-002 | Submit, acknowledge, reject, deny, resubmit; payer outage; stale claim; denial with a coding-related reason code | Integration / Resilience | Correct states and queues; single transmission; queued during outage; ClaimReturnedForRecoding published once |
| TEST-FIN-012 | FR-FIN-CLM-003 | Remittance in full, partial with adjustment, unknown claim, duplicate remittance | Functional / Integration | Correct postings; exceptions for unmatched; no duplicate payment |
| TEST-FIN-013 | FR-FIN-CLM-004 | Add a new payer adapter; run conformance pack; deployment without X12; with JKN in scope, BPJS referral from a Domain 3 external referral, with VClaim available and unavailable | Integration / Conformance | No core change; regression passes; adapter gated by conformance; BPJS referral number returned to the referral, or a JKN work item on failure |
| TEST-FIN-020 | FR-FIN-GLP-001 | Daily posting batch, redelivery, finance outage, reconciliation | Integration / Resilience | Balanced batch; single posting; no blocking; reconciliation agrees |
| TEST-FIN-021 | FR-FIN-GLP-002 | FHIR financial resource conformance and access control | API / Conformance / Security | Profiles pass; cross-patient access denied and audited |
BC-6 Stock ledger, procurement and departmental consumption¶
Stage 4 (Ancillary and medication). Tier: 2. Slice definition: BC-6. Comes after: RC-1.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | These specification workflows pass end to end: WF-FIN-006 Requisition to receipt; WF-FIN-007 Stock issue, consumption and replenishment; WF-FIN-008 Stocktake; WF-FIN-009 Downtime reconciliation | Workflow test results | Section 4.2 of the specifications |
| 3 | All 10 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (8) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 5 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-FIN-001, IF-FIN-009, IF-FIN-010, IF-FIN-011 | Interface conformance and outage test results | ACC-005 |
| 6 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-FIN-022 | FR-FIN-INV-001 | Create, approve and retire items and locations; medication link | Functional | Governed lifecycle; retirement blocked with stock |
| TEST-FIN-023 | FR-FIN-INV-002 | Receipt, transfer, issue, return, reversal; edit attempt; balance-as-at; controlled item movement without a second person; transfer In transit confirmed at the destination | Functional / Security | Balances equal movement sums; edits refused; controlled movement refused without a witness |
| TEST-FIN-024 | FR-FIN-INV-003 | GS1 scan at receipt; issue of an expired lot, a lot On hold and a recalled lot; release from hold; lot trace; picking order | Functional | Lot data captured; unusable lots blocked with the shared scan messages; trace complete |
| TEST-FIN-025 | FR-FIN-INV-004 | Stocktake with variance, intervening movement, tolerance breach; blind count; recount; cancellation | Functional | Adjustment after approval only; balance equals count; blind count hides expected quantity and variance value |
| TEST-FIN-026 | FR-FIN-INV-005 | Dispense, return, ADC release and restock events; controlled-substance discrepancy; ledger outage; custody difference for a blood unit; SIPNAP monthly report with an open discrepancy | Integration / Resilience | One movement per event; one discrepancy per item, location and period; dispensing not blocked; custody difference listed; SIPNAP patient issues match Domain 3 transactions and sign-off waits for the discrepancy |
| TEST-FIN-027 | FR-FIN-PRC-001 | Requisition, approval, transfer fulfilment, partial fulfilment, short-close, cancellation, purchase order approval before issue, self-approval | Functional | Status visible; segregation enforced |
| TEST-FIN-028 | FR-FIN-PRC-002 | Partial receipt with lot and expiry; duplicate delivery; external system outage | Functional / Integration | Stock by lot; order status updated; message delivered once after recovery |
| TEST-FIN-029 | FR-FIN-REP-001 | Ward issue; chargeable implant consumption from theatre; department-level use; patient use at zero recorded balance; reversal within and after 24 hours | Integration | Movements posted; one supply charge; negative balance raised as a stock exception; reversal restores stock and charge |
| TEST-FIN-030 | FR-FIN-REP-002 | Reorder point reached; open order exists; availability query; critical stock-out | Functional | Single trigger; no duplicate proposal; availability with "as at"; alert sent |
| TEST-FIN-032 | FR-FIN-EXC-002 | Downtime receipts, charges and stock issues entered after restoration alongside replayed events | Operational readiness | Provenance kept; no duplicates; missing forms reported |
BC-7 Disclosure, retention and legal hold¶
Stage 5 (Revenue and enterprise operations). Tier: 3. Slice definition: BC-7. Comes after: BC-4.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | These specification workflows pass end to end: WF-HIM-003 Release of Information; WF-HIM-004 Retention Review and Disposal; WF-HIM-005 Legal Hold Application and Release | Workflow test results | Section 4.2 of the specifications |
| 3 | All 14 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (14) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 5 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-ESS-003, IF-ESS-010, IF-HIM-003, IF-HIM-004 | Interface conformance and outage test results | ACC-005 |
| 6 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-HIM-018 | FR-HIM-RET-001 | Draft rule; rule of another jurisdiction; overlap; class without rule; period below 25 years; co-approval; rollback | Functional | Not applied; not applied; rejected; listed; warning, submitted only with a reason; In review until both approve; earlier version Active, nothing archived changed |
| TEST-HIM-019 | FR-HIM-RET-002 | Eligible record archived; held record; restore | Functional / Integration | Archived and retrievable; held record excluded; restore audited |
| TEST-HIM-020 | FR-HIM-RET-003 | Disposal with all approvals; missing approval; preparer approves; hold applied after approval; delete outside workflow | Functional / Security | Disposed with tombstone and disposal record; refused; refused; skipped; refused and audited |
| TEST-HIM-021 | FR-HIM-LHD-001 | Hold by patient; new document after hold; two holds, one released; history | Functional / Integration | Records held; new document held; still held; history complete |
| TEST-HIM-022 | FR-HIM-LHD-002 | Disposal of held record through every path; addendum on held record; hold register unavailable; hold across merged identity | Security / Resilience | Refused and notified; addendum accepted and held; nothing disposed; refused |
| TEST-HIM-023 | FR-HIM-ROI-001 | Register complete request; missing recipient; portal-submitted request; overdue request | Functional / Integration | Number and due date assigned; refused; visible with channel; escalated |
| TEST-HIM-024 | FR-HIM-ROI-002 | Release without verification; authorization limited to one encounter; expired authorization | Security | Blocked; other content not selectable; cannot be Verified |
| TEST-HIM-025 | FR-HIM-ROI-003 | Labelled content with restrictive consent; masking; change after approval; preparer approves | Security / Functional | Excluded by default; source unchanged and masked text absent; returns to In Preparation; rejected |
| TEST-HIM-026 | FR-HIM-ROI-004 | Release with valid consent; consent withdrawn after approval; consent service down; access expiry; retry | Integration / Security | Entry with four attributes; blocked, no entry; blocked; access ends; one entry only |
| TEST-HIM-027 | FR-HIM-CEV-001 | Scan consent form with directive link; withdrawn directive; directive without evidence | Integration | Evidence resolvable per version; original retrievable; gap listed |
| TEST-HIM-028 | FR-HIM-CEV-002 | Deny decision with and without Privacy Officer exception; withdrawal event on approved request; restriction request at HIM | Integration / Security | Blocked unless exception with legal basis; request returns to review; directive in Domain 10 with evidence link |
| TEST-HIM-029 | FR-HIM-AUD-001 | Accounting for a period; update or delete of entry; recordable external exchange; search without reason; patient version; SATUSEHAT per-patient lines | Functional / Security | Lists disclosures; refused; entry with correlation ID; refused; staff by role, withheld law-enforcement entry left out; lines from the submission record |
| TEST-HIM-030 | FR-HIM-AUD-002 | Access report with reason; emergency access marked; user without role; report run audited; merged identifier; change to a Closed review | Security | Events listed; marked; refused; run recorded; access under the merged identifier listed; refused, new review references it |
| TEST-ESS-014 | FR-ESS-CNS-003 | Masking by role; data subject request across two domains; overdue request; erasure of medical record data in retention; response time | Privacy | Mask obligation applied; tasks per domain; escalation; Refused with retention basis; response within 3 x 24 hours |
BC-8 Governed data platform fed by flow events¶
Stage 5 (Revenue and enterprise operations). Tier: 3. Slice definition: BC-8. Comes after: RC-3.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | These specification workflows pass end to end: WF-ANL-001 Source Feed Onboarding and Ingestion to Curated Data Product; WF-ANL-002 Metric Definition Lifecycle; WF-ANL-003 Data Quality Exception, Reconciliation Variance and Metric Incident Handling | Workflow test results | Section 4.2 of the specifications |
| 3 | All 15 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (12) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 5 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-ANL-001, IF-ANL-002, IF-ANL-003, IF-ANL-004, IF-ESS-013, IF-ESS-014 | Interface conformance and outage test results | ACC-005 |
| 6 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Open decisions cited by this slice's Must requirements are listed in the slice definition; a criterion that depends on an undecided value cannot be signed until the value is approved.
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-ANL-016 | FR-ANL-DWH-001 | Peak clinical load plus maximum analytical workload | Performance | Clinical response objectives held |
| TEST-ANL-017 | FR-ANL-DWH-001 | Analytical identity attempts OLTP connection; analytics platform stopped | Security / Resilience | Connection refused and logged; clinical workflows unaffected |
| TEST-ANL-018 | FR-ANL-DWH-002 | Duplicate delivery; consumer outage; approved replay after mapping change | Integration | One analytical effect; no loss; curated rebuilt, prior versions kept |
| TEST-ANL-019 | FR-ANL-DWH-003 | Batch with valid, invalid and duplicate records | Functional | Counts balance; invalid quarantined with actionable reason |
| TEST-ANL-020 | FR-ANL-DWH-003 | Corrected result; patient merge then unmerge | Integration | New version current, prior kept; attribution correct after each event |
| TEST-ANL-021 | FR-ANL-DWH-004 | Dashboard on uncertified product; source change after snapshot | Functional | Publication refused; snapshot unchanged |
| TEST-ANL-022 | FR-ANL-DQL-001 | Trace sample metric to source; impact analysis of mapping change | Functional | Trace reaches source events with versions; dependents listed |
| TEST-ANL-023 | FR-ANL-DQL-002 | Product refresh with rule failures | Functional | Score published; breach raises item; dashboard shows six Appendix B indicators |
| TEST-ANL-024 | FR-ANL-DQL-003 | Drop records before reconciliation; close item without reason | Functional | Reconciliation fails and item created; closure refused |
| TEST-ANL-039 | FR-ANL-SEM-001 | Overlapping effective period; self-approval; version selection by period | Functional | Rejected; rejected; correct version used |
| TEST-ANL-040 | FR-ANL-SEM-002 | Two scopes run same report; restricted column; policy service down; patient-level export | Security | Rows filtered; column masked; fail closed; export audited |
| TEST-ANL-048 | FR-ANL-DQL-003 | FinancialControlTotalsReported one ChargeCaptured higher than received; no ClinicalControlTotalsReported by 03:00 local; corrected total later | Reconciliation | ReconciliationVarianceDetected and a stewardship item for the financial day; clinical products show "Not reconciled" and the administrator is alerted; corrected total re-runs the comparison |
| TEST-ESS-034 | FR-ESS-DGV-001 | Ownership lookup; steward deactivated; item routing | Functional | Owner and steward returned; reassignment task; routed correctly |
| TEST-ESS-035 | FR-ESS-DGV-002 | Rule violation rejection detail; item lifecycle; report by category; overdue item; Critical item past 24 hours | Functional | Field, rule and reason given; assigned, resolved, measured; five categories shown; escalated; escalated to data owner and Clinical governance committee |
| TEST-ESS-036 | FR-ESS-DGV-003 | Trace dashboard value to versions; clinical datum provenance; non-conforming contract | Analysis / Inspection | Versions resolve; provenance present; reported non-conforming |
BC-9 Operational, revenue-cycle and management reporting¶
Stage 5 (Revenue and enterprise operations). Tier: 3. Slice definition: BC-9. Comes after: BC-8, BC-2.
Gate criteria
| No. | Criterion | Evidence | Source |
|---|---|---|---|
| 1 | The end-to-end scenario of the slice passes in an integrated environment with no manual repair between domains | Signed scenario run by the business owner | Slice definition |
| 2 | All 13 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 3 | Every Must requirement of the slice (8) meets its acceptance criteria or has an approved, time-bound waiver | Signed traceability matrix for the slice | ACC-001 |
| 4 | Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-ANL-001, IF-ANL-002, IF-ANL-003, IF-ANL-004 | Interface conformance and outage test results | ACC-005 |
| 5 | The scenarios of the slices this one comes after still pass on the same build | Regression run | Slice sequence |
Test scenarios
| Test | Requirement | Scenario | Type | Expected result |
|---|---|---|---|---|
| TEST-ANL-001 | FR-ANL-OPS-001 | Run completeness report against Appendix B | Functional | All nine dashboards and listed indicators published and bound to Active metrics |
| TEST-ANL-002 | FR-ANL-OPS-001 | Facility-scoped user opens dashboards; draft with non-Active metric submitted | Security / Functional | Only authorized scope returned; publication rejected |
| TEST-ANL-003 | FR-ANL-OPS-002 | Compute clinical operations indicators from a known event set | Reconciliation | Values equal independent computation from source transactions |
| TEST-ANL-004 | FR-ANL-OPS-002 | Late discharge event; feed stopped | Functional | Period restated and marked; stale marker shown, not zero |
| TEST-ANL-005 | FR-ANL-OPS-003 | Diagnostic turnaround from known orders and results; unacknowledged critical result in source | Reconciliation | Values reconcile; item remains counted until closed in source |
| TEST-ANL-006 | FR-ANL-OPS-003 | CDS log events with review outcomes; rule above review threshold | Functional | Frequency and appropriateness separate; rule listed for Domain 3; rule unchanged |
| TEST-ANL-007 | FR-ANL-OPS-004 | Render and export dashboards; age a product beyond threshold | Functional | Cutoff, watermark, quality and reconciliation shown; stale marker displayed |
| TEST-ANL-008 | FR-ANL-OPS-004 | Refresh with variance above suspension threshold | Functional | Last good version kept with warning; stewardship item created |
| TEST-ANL-013 | FR-ANL-FRR-001 | Reproduce an issued report after definition change | Functional | Identical values; restated view marked |
| TEST-ANL-014 | FR-ANL-FRR-001 | Reversed and re-posted charge | Reconciliation | Net revenue equals ledger |
| TEST-ANL-015 | FR-ANL-FRR-002 | Billable events with charges, exceptions and one missing charge | Functional | Accounted-for rate correct; missing charge listed and referred |
| TEST-ANL-041 | FR-ANL-RUC-001 | Occupancy from known bed events; capacity change next month | Reconciliation | Reconciles to source; history uses capacity effective at the time |
| TEST-ANL-042 | FR-ANL-MGT-001 | Issue, reproduce and distribute a monthly report; definition change mid-series | Functional / Security | Immutable issue; identical reproduction; trend break marked; unauthorized recipient excluded |