Implementation plan / Stage gates / Outside the four flows
Slice Gates: Outside the four flows¶
Gate criteria and test scenarios for the slices of this flow. Slice content is in slices/XF.md; stage gates and the rules for evidence and waivers are in stage-gates.md.
| Slice | Title | Stage | Tests |
|---|---|---|---|
| XF-1 | Data portability and exit export | 3 | 1 |
| XF-2 | Governed AI, research extracts and maturity scorecard | 6 | 16 |
XF-1 Data portability and exit export¶
Stage 3 (Core clinical). Tier: Cross-cutting. Slice definition: XF-1. 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 | All 1 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 3 | Every Must requirement of the slice (1) 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-ISE-007 | Interface conformance and outage test results | ACC-005 |
| 5 | A complete export of data and configuration in documented formats is produced and independently validated | Independent export validation | ACC-008 |
| 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-ISE-035 | FR-ISE-BCR-004 | Produce a complete export; independent parse; count reconciliation; restore sample | Operational readiness | Independent validation succeeds |
XF-2 Governed AI, research extracts and maturity scorecard¶
Stage 6 (Analytics and optimization). Tier: 4. Slice definition: XF-2. Comes after: BC-8.
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-004 Research and Quality-Improvement Extract with De-identification; WF-ANL-005 AI Use-Case Approval and Model Release; WF-ANL-006 AI-Assisted Output with Human Review | Workflow test results | Section 4.2 of the specifications |
| 3 | All 16 test scenarios below pass | Test results per PRS 17.3 | Section 15.2 of the specifications |
| 4 | Every Must requirement of the slice (0) 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-005, IF-ANL-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-ANL-025 | FR-ANL-RDX-001 | Attempt preparation without approval | Security | Job does not run |
| TEST-ANL-026 | FR-ANL-RDX-001 | Access after expiry; refresh after secondary-use restriction | Security / Privacy | Access denied; records excluded |
| TEST-ANL-027 | FR-ANL-RDX-002 | Prepare extract with approved profile; compare pseudonyms across unrelated extracts | Privacy | Identifiers treated per profile; pseudonyms differ |
| TEST-ANL-028 | FR-ANL-RDX-002 | Data set with cell below minimum size | Privacy | Release blocked |
| TEST-ANL-029 | FR-ANL-AIG-001 | Propose use case with autonomous order change | Functional / Safety | Rejected |
| TEST-ANL-030 | FR-ANL-AIG-001 | Clinical use case without safety assessment; suspend approved use case | Functional / Safety | Approval blocked; gateway refuses after suspension |
| TEST-ANL-031 | FR-ANL-AIG-002 | AI request for a patient the user may not access | Security | No data retrieved; denial logged |
| TEST-ANL-032 | FR-ANL-AIG-002 | Use expired or out-of-scope credential; AI attempts write or database connection | Security | Refused |
| TEST-ANL-033 | FR-ANL-AIG-003 | Display AI draft; end session without disposition | Safety | Labelled; nothing committed |
| TEST-ANL-034 | FR-ANL-AIG-003 | Accept draft and inspect owning-domain record | Integration / Safety | Human is author of record; AI-assisted provenance present |
| TEST-ANL-035 | FR-ANL-AIG-004 | Change prompt template; deploy unapproved version | Functional | New version created; deployment refused |
| TEST-ANL-036 | FR-ANL-AIG-004 | Drive monitored measure over suspension threshold | Safety | Version Suspended; gateway stops serving |
| TEST-ANL-037 | FR-ANL-AIG-005 | Stop AI service and policy service in turn during host workflows | Resilience / Safety | Workflows complete without AI; no data retrieved |
| TEST-ANL-038 | FR-ANL-AIG-005 | Malformed model output; global switch off | Safety | Output withheld; AI unavailable; core workflows normal |
| TEST-ANL-043 | FR-ANL-MGT-002 | Compute scorecard; unapproved denominator | Functional | Ten metrics with components; target withheld; notice present |
| TEST-ANL-050 | FR-ANL-MGT-002 | Load helpdesk and feedback extracts; a role group with 20 System Usability Scale responses | Functional / Privacy | Helpdesk trends and ratings shown; no ticket text, comment or name in the platform; the 20-response score is not shown |