Skip to content

Implementation plan / Stage gates / Registration to care delivery

Slice Gates: Registration to care delivery

Gate criteria and test scenarios for the slices of this flow. Slice content is in slices/RC.md; stage gates and the rules for evidence and waivers are in stage-gates.md.

Slice Title Stage Tests
RC-1 Register a patient and open an encounter on the platform 1 49
RC-2 Outpatient visit: book, arrive, queue and be seen 2 12
RC-3 Inpatient stay: admit, allocate a bed, transfer and discharge 2 30
RC-4 Emergency arrival: unidentified patient, triage and emergency access 2 8
RC-5 Document care in the clinical record 3 22
RC-6 Patient digital access: enrol, appointments, messages and forms 5 25

RC-1 Register a patient and open an encounter on the platform

Stage 1 (Platform foundation). Tier: 1. Slice definition: RC-1. Comes after: none.

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 clinical owner ACC-002
2 These specification workflows pass end to end: WF-ADM-001 Patient search, registration and encounter creation; WF-ESS-001 Workforce Joiner, Mover and Leaver; WF-ESS-005 Master-Data Change Approval and Publication; WF-ESS-006 Configuration Change, Promotion and Rollback; WF-ESS-007 Notification Delivery, Acknowledgement and Escalation; WF-ESS-008 Access Recertification; WF-ISE-002 Release Build, Promotion and Deployment; WF-ISE-007 Certificate, Key and Secret Rotation Workflow test results Section 4.2 of the specifications
3 All 49 test scenarios below pass Test results per PRS 17.3 Section 15.2 of the specifications
4 Every Must requirement of the slice (39) meets its acceptance criteria or has an approved, time-bound waiver Signed traceability matrix for the slice ACC-001
5 The identity safety scenarios in this slice's scope pass (duplicate, twin, newborn, unknown patient, merge and unmerge as applicable) Identity test report and steward workflow evidence ACC-004
6 Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-ADM-001, IF-ADM-003, IF-ESS-001, IF-ESS-002, IF-ESS-003, IF-ESS-006, IF-ESS-007, IF-ESS-008, IF-ESS-010, IF-ESS-012, IF-ESS-014, IF-ISE-001, IF-ISE-002, IF-ISE-006, IF-ISE-007 Interface conformance and outage test results ACC-005
7 The downtime procedure and restoration reconciliation for this workflow are rehearsed by the departments that use it Exercise report and corrective action closure ACC-007
8 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-ADM-001 FR-ADM-MPI-001 Search by a facility A identifier from facility B; search by alias; unqualified identifier Functional One person with both identifiers; alias found; unqualified search rejected
TEST-ADM-002 FR-ADM-MPI-002 Deterministic and probabilistic matching on a reference data set; benchmark a candidate configuration Functional / Analysis Scores with evidence and version; performance report; production unchanged
TEST-ADM-003 FR-ADM-MPI-003 Pairs in each band; exclusion flags; automatic merge disabled Functional / Safety Correct routing; no merge without policy; decisions explained
TEST-ADM-006 FR-ADM-REG-001 Register emergency and planned inpatient encounters under different field sets and a jurisdiction profile Functional Mandatory fields enforced per configuration
TEST-ADM-007 FR-ADM-REG-002 Change demographics; conflicting interface update; concurrent edit; as-at view Functional Provenance stored; conflict queued; version conflict rejected; history reconstructs
TEST-ADM-008 FR-ADM-REG-003 Duplicate prompt; high-risk ambiguity blocks routine registration; emergency path proceeds Functional / Safety Prompt mandatory; block enforced; emergency path available
TEST-ADM-010 FR-ADM-XRF-001 Identifier assignment, concurrent PIN generation, reuse attempt, correction Functional Unique values; no reuse; correction retained in history
TEST-ADM-012 FR-ADM-ENC-001 Encounter creation, CIN uniqueness, idempotent repeat, resolution from CIN Functional One encounter; unique CIN; patient and facility traceable
TEST-ADM-031 FR-ADM-MPI-003, FR-ADM-MPI-002 Identity safety set: twins, aliases, changed demographics, shared contact data (ACC-004, PAT-005) Safety No unsafe silent merge
TEST-ADM-035 FR-ADM-REG-001, FR-ADM-ENC-001, FR-ADM-ADT-001, FR-ADM-TRF-001, FR-ADM-ADT-003 End-to-end registration, admission, transfer and discharge UAT (PRS 16.1 phase 2) User acceptance Journey completes with consistent state in all consumers
TEST-ISE-001 FR-ISE-PLT-001 Run core workflows in an isolated environment with no commercial HIS licences or services, internet and external control planes disconnected Operational readiness Core and Tier 1 workflows run locally
TEST-ISE-002 FR-ISE-PLT-001 Attempt to load unmasked PHI into development; inspect credentials and network paths across environments Security Load refused; nothing shared between environments
TEST-ISE-003 FR-ISE-PLT-002 Remove one failure domain under a Tier 1 service Resilience Service continues; RTO/RPO met
TEST-ISE-004 FR-ISE-PLT-002 Request production admission for a service with an incomplete catalogue entry Functional Admission refused
TEST-ISE-006 FR-ISE-PLT-004 Induce clock drift beyond threshold on a node Functional Alert raised; Tier 1 node removed from routing
TEST-ISE-007 FR-ISE-GWY-001 Send requests with revoked credential, over limit, to a retired version and directly to a service bypassing the gateway Security All refused and logged; correlation ID present on accepted calls
TEST-ISE-018 FR-ISE-EVT-001 Inject failure of billing, analytics and registry consumers during bedside transactions; measure propagation latency Resilience / Performance Clinical transactions unaffected; backlog delivered on recovery; latency within target
TEST-ISE-019 FR-ISE-EVT-001 Replace the broker implementation in a test environment Operational readiness Event semantics unchanged; retained events preserved
TEST-ISE-020 FR-ISE-EVT-002 Publish events with missing envelope fields; run replay, duplicate, schema evolution, out-of-order and poison-event tests Integration Invalid events rejected; controlled outcomes; other keys unaffected
TEST-ISE-023 FR-ISE-REL-001 Attempt direct push; submit changes with a secret, an invalid FHIR profile and a critical finding Security Push refused; pipeline fails; merge and promotion blocked
TEST-ISE-024 FR-ISE-REL-002 Rebuild a release from its tag; deploy an unsigned artifact; inspect the release manifest; the developer of a change approves its production promotion Operational readiness / Security Rebuild reproduces release; unsigned artifact refused; manifest complete; self-approval refused and audited
TEST-ISE-026 FR-ISE-KEY-001 Scan repositories and configuration for secrets; rotate a credential and certificate; request a secret without a grant Security No secrets found; rotation without interruption; access denied
TEST-ISE-027 FR-ISE-KEY-002 Review encryption configuration; penetration test of channels and stores; provision an unencrypted store Security Full coverage; provisioning refused
TEST-ISE-029 FR-ISE-NET-001 Attempt non-allowlisted flows between zones; administer production outside the management path; isolate a compromised endpoint Security Flows blocked; access refused; endpoint contained
TEST-ISE-030 FR-ISE-OBS-001 Trace a transaction across all hops; induce dead-letter and silent telemetry source; review dashboards against PRS Appendix B Operational readiness Full trace; alerts raised; indicators present
TEST-ISE-036 FR-ISE-SUP-001 Inspect release archive for SBOM; build with an unregistered dependency; inspect register evidence and replacement ADRs Inspection / Functional SBOM present; build fails; evidence complete
TEST-ISE-038 FR-ISE-SUP-003 Inspect Domain 2 decisions in the Domain 10 architecture decision register and the supported-version report; open a dependency with an ADR reference on UI-ISE-011; deploy a component without a support owner Inspection Records complete; number, title and state shown read-only; non-compliance flagged
TEST-ISE-039 FR-ISE-GWY-001 Stop the Domain 10 policy service; send an external patient-data request, an internal Tier 1 chart read with a cached Permit younger and older than the maximum age, a read of restricted content, an internal write and a Break-the-Glass request; keep the outage for 15 minutes Resilience External request returns no data; fresh cached read served and audited; stale cache and restricted content denied; write rejected with "not saved" message; Break-the-Glass works; circuit opens per CFG-ISE-031; Tier 1 alert and ServiceStateChanged raised; downtime prompt at 15 minutes (GAP-ISE-009)
TEST-ESS-001 FR-ESS-IAM-001 Joiner, duplicate identity, leaver with open session, clinical role on unlinked account Functional One account per person; duplicate refused; session denied after leaver; role refused
TEST-ESS-002 FR-ESS-IAM-002 Each protected path without second factor; step-up; failed full sign-ins to threshold; inactivity on desktop and handheld; maximum lifetime; three failed PINs; PIN without badge or remote; second person equal to requester; suspended account token Security Access refused without MFA; step-up enforced; account Blocked and unblocked after the block period; screen locked with session and drafts kept; warning then session end; badge path closed, account not Blocked; PIN refused; authorization refused; token denied
TEST-ESS-003 FR-ESS-IAM-003 Service identity out-of-scope call, interactive sign-on attempt, overdue rotation, on-behalf-of audit; wall display reading an unconfigured board or writing Security Denied and audited; alert; overdue flagged; both identities in audit; display request denied and audited
TEST-ESS-004 FR-ESS-IAM-004 Scoped assignment used out of scope; revocation in campaign; segregation-of-duties conflict; prescriber verifies own order; privileged item unreviewed at due date Functional / Security No permit out of scope; revoked permission stops working; conflict refused; Deny with segregation-of-duties reason; privileged assignment suspended
TEST-ESS-005 FR-ESS-AUZ-001 Policy test pack by role, specialty, unit, assignment, shift, network or device posture and action; no applicable policy; service-level enforcement behind hidden control Security All cases as expected; default deny; service denies
TEST-ESS-015 FR-ESS-TRM-001 Publish release; release inactivating a code in use; as-of expansion; safety-relevant value set with one reviewer Functional Pinned lookups unaffected; publication blocked; historical membership returned; approval blocked until a second steward reviews
TEST-ESS-016 FR-ESS-TRM-002 Inactive code, unknown code, invalid unit; service down with local copy; invalid binding in pipeline Functional / Resilience Explicit results, no substitution; validation from copy with version; pipeline fails
TEST-ESS-019 FR-ESS-MDM-001 Unapproved change; retired entity resolution; register completeness Functional Prior version served; retired entity resolves; every domain has owner and workflow
TEST-ESS-020 FR-ESS-MDM-002 Multi-facility hierarchy; retire ward with active rooms; as-of query Functional Hierarchy resolves; retirement blocked; historical structure returned
TEST-ESS-021 FR-ESS-MDM-003 Licence expiry; departed practitioner authorship; external practitioner; performer without a current privilege; SPK expiry Functional Credential lapsed and access affected; historical name resolves; no account created; refused with the missing privilege named, emergency override audited and reviewed; privileges Expired and event published
TEST-ESS-022 FR-ESS-AUD-001 Each SEC-006 and SEC-019 action type per domain; duplicate; malformed; denied attempt; count reconciliation; event of an unregistered type; category fields Security Conforming event for each; one record; quarantine; denied event; mismatch raised; quarantined; mandatory fields of its category present
TEST-ESS-023 FR-ESS-AUD-002 Attempt to alter or delete; out-of-band tamper; audited query; application administrator access; export Security No function permits change; tamper detected; query audited; access denied; export parses
TEST-ESS-028 FR-ESS-WFL-001 Restart mid-instance; duplicate step delivery; permanent failure with compensation; new version during run Resilience Resumes; one business effect; Compensated; original version retained
TEST-ESS-029 FR-ESS-WFL-002 Assignee suspended; overdue task; queue without eligible users; manual reassignment Functional Returned to queue; escalated; stuck alert; audit with reason
TEST-ESS-030 FR-ESS-CFG-001 Promote approved change; rollback; scoped override; as-of resolution; hash mismatch; export Functional Promotion audited; prior behaviour restored; correct scope; historical version; refused; export parses
TEST-ESS-031 FR-ESS-CFG-002 Extension via registered point with core regression; feature-flag change; plug-in without review Functional Core unaffected; audited; refused
TEST-ESS-033 FR-ESS-REG-001 Legacy code resolution; identifier without authority; unknown practitioner identifier Integration Entity returned; rejected; stewardship item and "unknown"
TEST-ESS-037 FR-ESS-CFG-003 Catalogue search; deprecation notice; retirement with consumers; ADR completeness; retirement date inside the notice period Inspection / Functional Schema, scopes, versions, lifecycle shown; consumers notified; refused; fields present; refused without an approved exception
TEST-ESS-041 FR-ESS-AUZ-001 Decision service outage during Tier 1 read Resilience / Clinical safety Cached decision or emergency access available; use audited
TEST-ESS-043 FR-ESS-WFL-001 Recovery after outage with medication or billing step pending Clinical safety No blind replay; owning domain reconciliation applied
TEST-ESS-044 FR-ESS-AUD-001 Audit service outage during clinical activity Resilience Events buffered and delivered; reconciliation clean; failure policy applied if buffering unavailable

RC-2 Outpatient visit: book, arrive, queue and be seen

Stage 2 (Patient administration). Tier: 2. Slice definition: RC-2. 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-ADM-007 Appointment booking to check-in; WF-ADM-008 Arrival, queueing and patient flow 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-ADM-003, IF-ADM-006, IF-ADM-007, IF-ESS-005, IF-ESS-009 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-ADM-013 FR-ADM-ENC-002 Every valid and invalid transition; correction; concurrent transitions Functional Invalid rejected with reason; valid audited; history preserved
TEST-ADM-020 FR-ADM-SCH-001 Templates and calendars for clinic, diagnostic and procedure resources; exception over bookings Functional Slots derived; affected appointments listed
TEST-ADM-021 FR-ADM-SCH-002 Book, reschedule, remind, cancel, check in, no-show; duplicate request Functional Full lifecycle; history kept; one appointment
TEST-ADM-022 FR-ADM-SCH-003 Multi-resource slot search and conflicting booking Functional Only fully available slots; conflict rejected; unmet dependency shown
TEST-ADM-023 FR-ADM-SCH-004 Waitlist ordering, priority change, unauthorized override, offer on release Functional Policy order; change traceable; override rejected
TEST-ADM-024 FR-ADM-FLW-001 Five arrival types; triage-based ordering; override Functional Correct queues and order; override audited
TEST-ADM-025 FR-ADM-FLW-002 Board update latency; feed interruption; count reconciliation Functional / Performance Within objective; stale indicator; counts reconcile
TEST-ADM-029 FR-ADM-REF-001 Payer capture with Domain 5 available and unavailable Integration Reference and status stored; registration not blocked
TEST-ADM-030 FR-ADM-REF-002 Consent prompt, existing directive, consent service unavailable, emergency Integration Reference stored; no repeat capture; pending listed; emergency unblocked
TEST-ESS-012 FR-ESS-CNS-001 Record, supersede, withdraw, expire; as-of query; patient merge Functional Versions retained; events emitted; correct as-of result; conflicts flagged
TEST-ESS-025 FR-ESS-NTF-001 On-call recipient resolution; duplicate request; critical without policy Functional Current holder notified; one notification; rejected
TEST-ESS-026 FR-ESS-NTF-001 All channels fail Clinical safety Delivery Failed; requester informed; operations worklist item; escalation proceeds

RC-3 Inpatient stay: admit, allocate a bed, transfer and discharge

Stage 2 (Patient administration). Tier: 1. Slice definition: RC-3. 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 clinical owner ACC-002
2 These specification workflows pass end to end: WF-ADM-002 Identity match review, merge and unmerge; WF-ADM-004 Inpatient admission and bed allocation; WF-ADM-005 Transfer and operational handover; WF-ADM-006 Discharge and encounter closure; WF-ISE-001 Interface and Partner Onboarding; WF-ISE-003 Delivery Exception Handling and Replay; WF-ISE-004 Backup and Restore Testing; WF-ISE-005 Disaster Recovery Failover and Failback; WF-ISE-006 Platform Incident, Downtime Enablement and Restoration; WF-ISE-008 Vulnerability and Dependency Handling Workflow test results Section 4.2 of the specifications
3 All 30 test scenarios below pass Test results per PRS 17.3 Section 15.2 of the specifications
4 Every Must requirement of the slice (25) meets its acceptance criteria or has an approved, time-bound waiver Signed traceability matrix for the slice ACC-001
5 The identity safety scenarios in this slice's scope pass (duplicate, twin, newborn, unknown patient, merge and unmerge as applicable) Identity test report and steward workflow evidence ACC-004
6 Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-ADM-002, IF-ADM-003, IF-ADM-004, IF-ADM-005, IF-ESS-008, IF-ISE-003, IF-ISE-004, IF-ISE-005, IF-ISE-006, IF-ISE-007 Interface conformance and outage test results ACC-005
7 The downtime procedure and restoration reconciliation for this workflow are rehearsed by the departments that use it Exercise report and corrective action closure ACC-007
8 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-ADM-004 FR-ADM-MPI-004 Work item creation, assignment, resolution, aging report, duplicate item prevention Functional Items managed; reason mandatory; metrics reported
TEST-ADM-005 FR-ADM-MPI-005 Merge two records with encounters, then unmerge Functional / Safety Identifiers, encounters and authorship intact after both operations
TEST-ADM-011 FR-ADM-XRF-002 Cross-reference and demographics query conformance; unauthorized consumer; merged identifier Integration / Security Conformance passes; access denied and audited; survivor returned
TEST-ADM-014 FR-ADM-ENC-003 Validation for cancelled, unconfirmed, admitted and mismatched encounters; emergency exception; timeout Functional / Safety Correct decisions; no default "valid"
TEST-ADM-015 FR-ADM-ADT-001 Admission with reserved bed; leave with bed-hold; return Functional States, bed and responsibility consistent
TEST-ADM-016 FR-ADM-ADT-002 Admit, transfer, discharge, update and merge events and HL7 v2 messages end-to-end Integration Unique ordered events; messages validated and acknowledged
TEST-ADM-017 FR-ADM-ADT-003 Discharge, closure with met and unmet criteria, waiver, discharge reversal Functional Bed to Cleaning; closure governed; reversal compensates
TEST-ADM-018 FR-ADM-BED-001 Bed state transitions, turnover, blocking, census Functional Only modelled transitions; timestamps and responsible unit recorded
TEST-ADM-019 FR-ADM-BED-002 Allocate blocked, occupied and cleaning beds; concurrent reservation; isolation constraint; expiry Functional / Safety Refused; one reservation; constraint respected; expiry releases
TEST-ADM-027 FR-ADM-TRF-001 Transfer completion; failure of one condition; correction Functional / Safety All-or-nothing; all views agree; compensation works
TEST-ADM-028 FR-ADM-TRF-002 Responsibility at any time across two transfers; handover acknowledgement and escalation Functional Exactly one ward and team; acknowledgement recorded; escalation raised
TEST-ADM-032 FR-ADM-MPI-005 Unmerge with records created after the merge, across consuming domains, following the procedure of FR-ADM-MPI-005 part 6 item 9: post-merge encounters with and without records in Domains 3 to 7, one issued invoice and one administered medication End-to-end / Safety Records held for attribution; each attributed encounter publishes EncounterCorrected and its records move with it in every consumer; records without encounter appear on the owning domain's review; the invoice is credited and reissued; the unmerge item stays open until every domain's items are closed
TEST-ADM-034 FR-ADM-ADT-002 Consumer outage, duplicate and delayed delivery, replay Resilience No loss; no duplicate effect; order preserved; gaps visible
TEST-ISE-005 FR-ISE-PLT-003 Run heavy analytical and bulk load alongside peak clinical transactions Performance Clinical latency within target; analytics throttled
TEST-ISE-008 FR-ISE-GWY-002 Publish a breaking change as a minor version; retire a version with active consumers Functional Both refused; deprecation notice issued for valid deprecation
TEST-ISE-010 FR-ISE-INT-001 Exercise a synchronous and an asynchronous interface under normal, retry and outage conditions; send an invalid and an unroutable message Integration Behaviour as specified; invalid and unroutable messages quarantined
TEST-ISE-011 FR-ISE-INT-002 Onboard a new partner on a certified interface type; attempt activation with missing attributes; send traffic on a suspended registration Integration No unrelated service modified; activation refused; traffic refused
TEST-ISE-012 FR-ISE-INT-003 Run the automated HL7 v2 and FHIR conformance suite; send messages with invalid MSH-9/10/12 and identifiers without assigning authority Integration Suite passes; invalid messages NACKed and quarantined
TEST-ISE-013 FR-ISE-INT-003 Deploy the core without a jurisdiction pack, then enable a pack Integration Core operates; pack tests pass without core change
TEST-ISE-015 FR-ISE-INT-005 Inject duplicate and delayed deliveries, target outage and engine restart Resilience No duplicate clinical action; no acknowledged message lost
TEST-ISE-016 FR-ISE-INT-005 Replay dead-lettered items into a medication workflow with and without second authorization Functional Refused without authorization; no duplicate effect with it
TEST-ISE-017 FR-ISE-INT-006 Create a sent-but-unacknowledged message and an orphan inbound result; run reconciliation Integration Both appear on worklists; counts reconcile
TEST-ISE-025 FR-ISE-REL-003 Upgrade with database migration and event schema change in mixed-version operation; fail a deployment health check Integration Mixed-version works; recovery plan restores service; change record complete
TEST-ISE-028 FR-ISE-KEY-003 Connect with untrusted, revoked and unbound certificates; rotate a node certificate Security Connections refused; rotation without interruption
TEST-ISE-031 FR-ISE-OBS-002 Simulate security events; interrupt the SIEM; place a preservation order Security Alerts actionable and searchable; no event loss; data preserved
TEST-ISE-032 FR-ISE-BCR-001 Restore from backup with integrity and application validation; attempt deletion of immutable copies with production credentials; restore using only recovery-zone access Operational readiness Restore evidence complete; deletion fails; isolated recovery succeeds
TEST-ISE-033 FR-ISE-BCR-002 Full DR exercise per tier without vendor-only access; reconcile afterwards Operational readiness Approved RTO/RPO met; reconciliation complete
TEST-ISE-034 FR-ISE-BCR-003 Simulated partner outage; downtime exercise with summaries, back-entry and reconciliation in representative departments Clinical safety / Operational readiness Critical workflows usable; reconciliation passes with duplicate prevention and provenance
TEST-ISE-037 FR-ISE-SUP-002 Review release security evidence; attempt release with an open critical finding; let a finding and a risk acceptance expire Inspection / Functional Evidence approved; release blocked; escalation and reopening occur
TEST-ESS-024 FR-ESS-AUD-003 Destination outage and recovery; forwarding reconciliation; evidence hold Integration No gap after recovery; mismatch raised; disposal refused

RC-4 Emergency arrival: unidentified patient, triage and emergency access

Stage 2 (Patient administration). Tier: 1. Slice definition: RC-4. Comes after: RC-2, 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 clinical owner ACC-002
2 These specification workflows pass end to end: WF-ADM-003 Emergency arrival with rapid or unidentified registration; WF-ESS-002 Break-the-Glass Emergency Access and Retrospective Review Workflow test results Section 4.2 of the specifications
3 All 8 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 The identity safety scenarios in this slice's scope pass (duplicate, twin, newborn, unknown patient, merge and unmerge as applicable) Identity test report and steward workflow evidence ACC-004
6 Each interface the slice uses shows acknowledgement, error handling, replay, reconciliation and monitoring: IF-ADM-001, IF-ADM-003, IF-ESS-004 Interface conformance and outage test results ACC-005
7 The downtime procedure and restoration reconciliation for this workflow are rehearsed by the departments that use it Exercise report and corrective action closure ACC-007
8 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-ADM-009 FR-ADM-REG-004 Unidentified patient registered and later reconciled; alias; legal name change Functional / Safety Provisional identity; temporary identifiers retained; former name searchable
TEST-ADM-026 FR-ADM-FLW-003 Emergency scenario with non-critical services stopped; re-triage; downtime entry End-to-end / Resilience Domain 1 steps complete; re-routing recorded; no duplicate from downtime
TEST-ADM-033 FR-ADM-REG-004 Newborn and multiple-birth registration; simultaneous unidentified patients (ACC-004, PAT-010) Safety Distinct persons; mother link; distinct placeholders
TEST-ADM-036 FR-ADM-FLW-003, FR-ADM-XRF-001, FR-ADM-ADT-002 Downtime registration and ADT with restoration reconciliation (ACC-007, BCP-006) Operational readiness All downtime entries reconciled; no duplicate identities
TEST-ESS-006 FR-ESS-AUZ-002 Permitted clinician invokes emergency access Clinical safety Immediate access; session, alert and review task created
TEST-ESS-007 FR-ESS-AUZ-002 Session expiry; non-permitted role calls API directly; screen lock during session; fast user switch and return within and after the window Security Access ends at expiry; direct call refused and audited; session continues through the lock with its clock running; session suspended, then resumed with the time left or ended
TEST-ESS-008 FR-ESS-AUZ-002 Review overdue Functional Escalation to supervisor or privacy officer
TEST-ESS-009 FR-ESS-AUZ-002 Invocation while notification and workflow services are down Resilience Access proceeds; alert and task created after recovery

RC-5 Document care in the clinical record

Stage 3 (Core clinical). Tier: 1. Slice definition: RC-5. 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 clinical owner ACC-002
2 These specification workflows pass end to end: WF-CLI-001 Clinical Documentation, Signing and Amendment; WF-CLI-007 Structured Clinical Handover; WF-ESS-003 Consent Capture, Change and Withdrawal; WF-ESS-004 Terminology Release and Unmapped-Code Stewardship Workflow test results Section 4.2 of the specifications
3 All 22 test scenarios below pass Test results per PRS 17.3 Section 15.2 of the specifications
4 Every Must requirement of the slice (17) 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-CLI-001, IF-CLI-003, IF-CLI-008, IF-CLI-009, IF-CLI-010, IF-ESS-003, IF-ESS-005, IF-ESS-006, IF-ESS-011 Interface conformance and outage test results ACC-005
6 The downtime procedure and restoration reconciliation for this workflow are rehearsed by the departments that use it Exercise report and corrective action closure ACC-007
7 Clinical governance has approved the clinical content the slice uses (templates, order sets, rules, alerts, terminology or pathway content as applicable) Approved clinical content catalogue ACC-010
8 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-CLI-001 FR-CLI-EHR-001 Patient with encounters at two facilities; open chart Functional / End-to-end One reconciled timeline with facility, author, status, source
TEST-CLI-002 FR-CLI-EHR-001 Corrected result and amended note in timeline; two locales Functional Current version shown, prior retrievable; canonical values unchanged
TEST-CLI-003 FR-CLI-EHR-002 Import external allergy and medication; redeliver; accept one, reject one Integration Labelled unverified; one pending item; accepted entry has provenance link
TEST-CLI-004 FR-CLI-PRB-001 Enter diagnosis with inactive code; resolve problem; assign classification code in Domain 6 Functional Rejected or flagged; history retained; clinical concept unchanged
TEST-CLI-005 FR-CLI-PRB-002 New patient unassessed; free-text allergy; refuted allergy Clinical safety "Not assessed" shown; unchecked reported; refuted excluded from CDS
TEST-CLI-006 FR-CLI-DOC-001 Template v1 document, activate v2, roll back; export structured note Functional Historical rendering preserved; rollback audited; export complete
TEST-CLI-007 FR-CLI-DOC-002 Sign note; inspect provenance in chart and audit Functional Author, role, encounter, times, status, source, signature present
TEST-CLI-008 FR-CLI-DOC-002 Attempt update and delete of signed note via UI and API; amend; concurrent amend; unsigned machine draft Clinical safety / Security Writes rejected and audited; original and amendment retrievable; one concurrent amend wins; draft never signed
TEST-CLI-009 FR-CLI-DOC-003 Copy-forward with changed medication and allergy; cross-patient copy Clinical safety Stale content flagged; signing blocked until reviewed; cross-patient rejected
TEST-CLI-010 FR-CLI-OBS-001 Manual entry with wrong unit and implausible value; device artefact; duplicate device message Functional / Integration Rejected or confirmed; artefact flagged and excluded; no duplicate
TEST-CLI-011 FR-CLI-OBS-002 Complete assessment; missing component; unacknowledged escalation Clinical safety Rule version stored; incomplete score; escalation to next level
TEST-CLI-012 FR-CLI-CAR-001 Care plan with scheduled intervention; referral accepted and answered; pathway proposal ignored Functional Tasks created; referral completed with linked response; no task from unaccepted proposal
TEST-CLI-013 FR-CLI-CAR-002 Transfer patient; overdue critical task; administer dose Functional / Integration Worklists follow assignment; supervisor notified; task auto-completed
TEST-CLI-014 FR-CLI-CAR-003 Handover with pending orders, unacknowledged result, overdue task; no acknowledgement Functional SBAR content complete; acknowledgement audited; escalation
TEST-CLI-044 FR-CLI-RSP-003 Persona usability tasks; switch patient mid-action; identity zone during dialogs Usability / Clinical safety Task criteria met; mismatch rejected; zone always visible
TEST-CLI-051 FR-CLI-CAR-001 External referral sent to the SATUSEHAT Rujukan sandbox; acceptance, decline and reply letter returned; service unavailable; resend after transport failure Integration States follow section 4.3; national referral number stored; printed letter with QR issued in fallback; no duplicate national referral
TEST-CLI-053 FR-CLI-CAR-002 Diet order before and after cut-off; "Nothing by mouth" after cut-off; transfer and discharge Functional Meal tasks created per meal service; late change applies to the next meal; fasting applies at once with alert; tasks move or cancel with ADT
TEST-ESS-010 FR-ESS-AUZ-003 Labelled data on read, export and exchange; unknown label Privacy Redaction per consent and legal basis; most restrictive handling
TEST-ESS-013 FR-ESS-CNS-002 Exchange before and after withdrawal; deny directive with emergency session Privacy Permit then deny; exception recorded with legal basis
TEST-ESS-017 FR-ESS-TRM-003 Unmapped local laboratory code from interface Clinical safety "Unmapped" returned; stewardship item created
TEST-ESS-018 FR-ESS-TRM-003 Ambiguous map; as-of translation; resolution notification Functional Candidates returned as ambiguous; historical map version used; reporter notified
TEST-ESS-032 FR-ESS-DOC-001 Search by patient, encounter, type, author, date; unauthorized resolution; new version of signed document; legal hold disposal; out-of-band alteration; upload of a non-permitted format, an oversize file and a renamed executable Functional / Security Found; denied and audited; both versions retrievable; refused; mismatch detected; each rejected

RC-6 Patient digital access: enrol, appointments, messages and forms

Stage 5 (Revenue and enterprise operations). Tier: 3. Slice definition: RC-6. 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-PEX-001 Portal Enrolment and Identity Linking; WF-PEX-002 Representative Access Grant; WF-PEX-003 Appointment Request, Confirmation and Reminder; WF-PEX-005 Secure Patient-Provider Messaging; WF-PEX-006 Form, Questionnaire and Patient-Reported Outcome Collection; WF-PEX-007 Correction Request Workflow test results Section 4.2 of the specifications
3 All 25 test scenarios below pass Test results per PRS 17.3 Section 15.2 of the specifications
4 Every Must requirement of the slice (9) 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-ISE-001, IF-ISE-004, IF-ISE-010, IF-PEX-001, IF-PEX-005, IF-PEX-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-ISE-009 FR-ISE-GWY-003 Third-party application requests data in scope, out of scope, after revocation, and for labelled data without permit; policy service unavailable Security Only permitted data returned; restricted data redacted; fail closed
TEST-ISE-021 FR-ISE-EVT-003 Create a subscription; fail the endpoint; revoke authorization Integration Notification delivered; retried then error; no delivery after revocation
TEST-PEX-001 FR-PEX-PRT-001 Representative sends a request naming a patient with no grant. Security Refused; denied-access audit event.
TEST-PEX-002 FR-PEX-PRT-002 Scheduling, consent and audit services each made unavailable in turn; then all PEX services stopped. Resilience Unaffected functions work; submissions held and delivered once; no data shown without decisions; core workflows unaffected.
TEST-PEX-003 FR-PEX-ACC-001 Staff-assisted enrolment with valid, expired and reused invitations. Functional One Active link for the valid case; others refused.
TEST-PEX-004 FR-PEX-ACC-001 Remote enrolment for twins, shared contact details, ambiguous match, identity under review. Clinical safety No link created; staff review item; neutral response.
TEST-PEX-005 FR-PEX-ACC-001 Second enrolment against an already linked identity. Security Refused and flagged.
TEST-PEX-006 FR-PEX-ACC-002 Single-factor session, idle timeout, lockout, recovery, enumeration probe, support-agent view. Security Controls behave as in the acceptance criteria.
TEST-PEX-007 FR-PEX-ACC-003 Grant with limited scope; out-of-scope access; expiry; revocation mid-session; guardian grant for an adult lacking capacity with and without a court order or power of attorney. Security Out-of-scope refused; access stops at once on expiry or revocation; no guardian grant is Active without verified evidence, and it ends at the policy maximum.
TEST-PEX-008 FR-PEX-ACC-003 Grant activation without identity verification; audit of representative actions. Functional Activation refused; audit carries both identities.
TEST-PEX-009 FR-PEX-ACC-004 Merge of two linked identities; unmerge; EncounterCorrected "Reattributed after unmerge" for an encounter with PEX records; a PEX record of the merged period with no encounter; duplicated and out-of-order identity events; open session at suspension; death recorded for a patient with representative grants. Clinical safety / Integration Links suspended as specified; records under the CIN moved to the named identity; the record with no encounter is on the "Unmerge review" tab and hidden from both accounts until assigned; one history change per event; session refused; on death the link and every grant are Revoked and the representatives are pointed to a disclosure request.
TEST-PEX-010 FR-PEX-APT-001, FR-PEX-APT-002 Request submitted with retry; booked, alternative offered, declined; cut-off; duplicate request. Integration One Domain 1 work item; states mirror Domain 1; cut-off and duplicate refused.
TEST-PEX-011 FR-PEX-APT-003 Reminder schedule; cancellation after scheduling; confirm action; sensitive service; event replay. Functional Reminders sent as configured; none after cancellation; confirmation in Domain 1; no service name; no duplicates.
TEST-PEX-020 FR-PEX-MSG-001 Send, route, reply, notify, attempt to edit, staff outside pool, representative sender, bad attachment. Functional / Security Behaviour as in the acceptance criteria.
TEST-PEX-021 FR-PEX-MSG-002 Send without acknowledging notice; unanswered thread past response time in service hours, across a weekend and a public holiday, and 1 working day after escalation; unstaffed pool; automatic reply. Clinical safety Send blocked; timer counts service hours only; escalation task to the pool supervisor, then to the department head; overdue listing; next-read time shown or compose disabled; automatic reply carries 119 and the response time.
TEST-PEX-022 FR-PEX-FRM-001 Assignment on booking; draft across version change; validation; immutability; score calculation; cancelled context. Functional Behaviour as in the acceptance criteria.
TEST-PEX-023 FR-PEX-FRM-002 Assign approved item; expired-review item; language fallback; screen-reader access. Functional / Accessibility Version recorded; expired item refused; default language with notice; text alternative available.
TEST-PEX-024 FR-PEX-PRO-001 Submission viewed in chart before review; incorporation; patient-reported medication; replayed event. Clinical safety Labelled and separate before review; Domain 3 entry with reviewer and provenance; patient-reported state; one task.
TEST-PEX-025 FR-PEX-PRO-001 Threshold-crossing score for each default instrument (PHQ-9, GAD-7, EQ-5D-5L, PROMIS-10), including PHQ-9 item 9 above 0; overdue review. Clinical safety Priority raised as in CFG-PEX-021; item 9 task to the duty clinician the same day; standard advice text with the urgent-care route; patient never sees the score; overdue listing.
TEST-PEX-026 FR-PEX-PRO-002 Demographic and record-content correction requests accepted, declined and withdrawn. Integration Routed once; owning record unchanged until owner acts; outcome displayed.
TEST-PEX-028 FR-PEX-PRF-001, FR-PEX-PRF-002 Directive display; withdrawal with re-evaluation; consent service outage; unverified contact point; disabling security notices. Functional / Security Matches Domain 10; items re-evaluated; change not recorded; not used; refused.
TEST-PEX-029 FR-PEX-NTF-001 Release notification at minimal level by SMS and email; replay; representative excluded by sensitivity; permanent failure; link inspection. Security No clinical content; no duplicate; no notification; re-verification flag; no patient data in URL.
TEST-PEX-030 FR-PEX-NTF-002 Reconcile a scripted set of portal actions against audit events; audit service outage; patient account-activity view. Security 100% matched; events delivered with original time; representative access listed.
TEST-PEX-031 FR-PEX-ACC-005 Authorize an application; request a withheld result; revoke; suspend link. Security / Integration Scopes shown; withheld item not returned; requests refused after revocation and suspension.
TEST-ESS-011 FR-ESS-AUZ-004 Grant used for other patient, after expiry, after revocation; scope beyond launching user Security All denied