Implementation plan / Vertical slices
Vertical Slices¶
The system is released as thin end-to-end slices that cross domains, not domain by domain. Each slice delivers one workflow a user can perform from start to finish, takes from every domain only the requirements that workflow needs, and is closed by a gate. The slices follow the four critical flows of the Domain Scope document (section 5) and are placed in the phases of the PRS delivery sequence (section 16.1).
There are 30 slices covering all 304 functional requirements of the ten domain specifications; each requirement belongs to exactly one slice.
Order is expressed as "after": a slice passes its gate only after the slices it comes after have passed theirs. Its sessions start earlier, on the contracts of those slices (see the session plan). Slices with no path between them can be built in parallel. No durations are implied.
1. What "done" means for a slice¶
A slice is done when its workflow passes end to end, in an integrated environment, across every domain it touches. This is the rule of PRS acceptance gate ACC-002 ("All Tier 1 workflows SHALL pass end-to-end clinical scenario tests with clinical owner approval"), applied to every slice. Specifically:
- Scenario. The end-to-end scenario written for the slice runs from first step to last with no manual repair between domains, including its failure branches.
- Workflows. Every specification workflow listed as a gate for the slice passes its end-to-end test.
- Requirements. Every Must requirement in the slice passes its acceptance criteria, and its test scenarios in section 15.2 of the owning specification pass (ACC-001).
- Owner approval. The clinical owner signs the scenario for a Tier 1 slice (ACC-002); the business owner signs for other slices.
- Interfaces. Each interface the slice introduces shows acknowledgement, error handling, replay, reconciliation and monitoring (ACC-005).
- Downtime. A Tier 1 slice has rehearsed its downtime procedure and restoration reconciliation (ACC-007).
- No regression. The scenarios of every slice it comes after still pass.
A requirement that is built but whose slice scenario has not passed is not done. Should and Could requirements in a slice may be deferred with the owner's agreement without holding the gate; the deferral is recorded against the slice.
2. Slice map¶
Rows are PRS phases; columns are flows. A slice appears in the phase in which it is released.
| PRS phase | Registration to care delivery | Order to result | Pathway activation | Billing and coding | Outside the four flows |
|---|---|---|---|---|---|
| 1. Platform foundation | RC-1 Register a patient and open an encounter on the platform | – | – | – | – |
| 2. Patient administration | RC-2 Outpatient visit: book, arrive, queue and be seen RC-3 Inpatient stay: admit, allocate a bed, transfer and discharge RC-4 Emergency arrival: unidentified patient, triage and emergency access |
– | – | – | – |
| 3. Core clinical | RC-5 Document care in the clinical record | OR-1 Order entry and result display against a simulated fulfilment service | PA-1 Publish an approved guideline and pathway | BC-4 Record assembly, document stewardship and chart completion | XF-1 Data portability and exit export |
| 4. Ancillary and medication | – | OR-2 Laboratory order to validated result OR-3 Critical result: notify, acknowledge, escalate and close OR-4 Imaging order to report OR-5 Pathology, blood bank and procedure or consultation fulfilment OR-6 Medication order to bedside administration (closed loop) OR-7 Surgical case, critical care and therapy |
PA-2 Eligibility evaluation and clinician-confirmed activation PA-3 Pathway execution through the owning domains |
BC-6 Stock ledger, procurement and departmental consumption | – |
| 5. Revenue and enterprise operations | RC-6 Patient digital access: enrol, appointments, messages and forms | OR-8 Release results and documents to the patient | – | BC-1 Eligibility and coverage at registration BC-2 Clinical event to priced charge BC-3 Patient account, invoice and payment BC-10 Encounter coding to billing readiness BC-5 Claim to remittance and finance posting BC-7 Disclosure, retention and legal hold BC-8 Governed data platform fed by flow events BC-9 Operational, revenue-cycle and management reporting |
– |
| 6. Analytics and optimization | – | – | PA-4 Pathway and clinical quality outcome evaluation | – | XF-2 Governed AI, research extracts and maturity scorecard |
Phase 0 (mobilise and discover) and phase 7 (scale and continuous improvement) release no slice. Phase 0 must settle the decisions listed against the earliest slices; phase 7 repeats the passed slices at further facilities.
3. Slice sequence¶
flowchart LR
subgraph P1["Phase 1: Platform foundation"]
RC1["RC-1"]
end
subgraph P2["Phase 2: Patient administration"]
RC2["RC-2"]
RC3["RC-3"]
RC4["RC-4"]
end
subgraph P3["Phase 3: Core clinical"]
RC5["RC-5"]
OR1["OR-1"]
PA1["PA-1"]
BC4["BC-4"]
XF1["XF-1"]
end
subgraph P4["Phase 4: Ancillary and medication"]
OR2["OR-2"]
OR3["OR-3"]
OR4["OR-4"]
OR5["OR-5"]
OR6["OR-6"]
OR7["OR-7"]
PA2["PA-2"]
PA3["PA-3"]
BC6["BC-6"]
end
subgraph P5["Phase 5: Revenue and enterprise operations"]
RC6["RC-6"]
OR8["OR-8"]
BC1["BC-1"]
BC2["BC-2"]
BC3["BC-3"]
BC10["BC-10"]
BC5["BC-5"]
BC7["BC-7"]
BC8["BC-8"]
BC9["BC-9"]
end
subgraph P6["Phase 6: Analytics and optimization"]
PA4["PA-4"]
XF2["XF-2"]
end
RC1 --> RC2
RC1 --> RC3
RC2 --> RC4
RC3 --> RC4
RC3 --> RC5
RC2 --> RC6
RC5 --> OR1
OR1 --> OR2
OR2 --> OR3
OR1 --> OR4
OR2 --> OR5
OR1 --> OR6
BC6 --> OR6
OR1 --> OR7
RC3 --> OR7
OR2 --> OR8
RC6 --> OR8
RC1 --> PA1
PA1 --> PA2
RC5 --> PA2
OR2 --> PA2
PA2 --> PA3
OR1 --> PA3
PA3 --> PA4
BC8 --> PA4
RC2 --> BC1
OR1 --> BC2
RC3 --> BC2
BC1 --> BC2
BC6 --> BC2
BC2 --> BC3
RC5 --> BC4
BC4 --> BC10
BC1 --> BC5
BC3 --> BC5
BC10 --> BC5
RC1 --> BC6
BC4 --> BC7
RC3 --> BC8
BC8 --> BC9
BC2 --> BC9
RC3 --> XF1
BC8 --> XF2
An arrow points from a slice to one that comes after it.
| Slice | Title | Phase | Tier | After | Domains | Requirements (Must / Should / Could) | Workflows gating it | Decisions to settle |
|---|---|---|---|---|---|---|---|---|
| RC-1 | Register a patient and open an encounter on the platform | 1 | 1 | – | ADM, ISE, ESS | 40 (39 / 1 / 0) | 8 | 0 |
| RC-2 | Outpatient visit: book, arrive, queue and be seen | 2 | 2 | RC-1 | ADM, ESS | 11 (11 / 0 / 0) | 2 | 0 |
| RC-3 | Inpatient stay: admit, allocate a bed, transfer and discharge | 2 | 1 | RC-1 | ADM, ISE, ESS | 26 (25 / 1 / 0) | 10 | 0 |
| RC-4 | Emergency arrival: unidentified patient, triage and emergency access | 2 | 1 | RC-2, RC-3 | ADM, ESS | 3 (3 / 0 / 0) | 2 | 0 |
| RC-5 | Document care in the clinical record | 3 | 1 | RC-3 | CLI, ESS | 17 (17 / 0 / 0) | 4 | 0 |
| RC-6 | Patient digital access: enrol, appointments, messages and forms | 5 | 3 | RC-2 | ISE, PEX, ESS | 23 (9 / 14 / 0) | 6 | 0 |
| OR-1 | Order entry and result display against a simulated fulfilment service | 3 | 1 | RC-5 | CLI | 11 (11 / 0 / 0) | 4 | 0 |
| OR-2 | Laboratory order to validated result | 4 | 2 | OR-1 | ANC | 10 (9 / 1 / 0) | 2 | 0 |
| OR-3 | Critical result: notify, acknowledge, escalate and close | 4 | 1 | OR-2 | ANC, ESS | 2 (2 / 0 / 0) | 1 | 0 |
| OR-4 | Imaging order to report | 4 | 2 | OR-1 | ISE, ANC | 5 (5 / 0 / 0) | 1 | 0 |
| OR-5 | Pathology, blood bank and procedure or consultation fulfilment | 4 | 1 for transfusion verification and blood issue; 2 for blood bank inventory (DEC-ANC-008) | OR-2 | ANC | 6 (6 / 0 / 0) | 2 | 0 |
| OR-6 | Medication order to bedside administration (closed loop) | 4 | 1 | OR-1, BC-6 | ISE, CLI | 10 (10 / 0 / 0) | 4 | 0 |
| OR-7 | Surgical case, critical care and therapy | 4 | 1 for ICU charting and the intra-operative record; 2 for theatre scheduling (DEC-ANC-008) | OR-1, RC-3 | ANC | 10 (6 / 4 / 0) | 2 | 0 |
| OR-8 | Release results and documents to the patient | 5 | 3 | OR-2, RC-6 | PEX | 4 (3 / 1 / 0) | 1 | 0 |
| PA-1 | Publish an approved guideline and pathway | 3 | Not tiered by the PRS | RC-1 | EBP | 15 (15 / 0 / 0) | 4 | 0 |
| PA-2 | Eligibility evaluation and clinician-confirmed activation | 4 | Not tiered by the PRS | PA-1, RC-5, OR-2 | EBP | 7 (6 / 1 / 0) | 1 | 0 |
| PA-3 | Pathway execution through the owning domains | 4 | Not tiered by the PRS | PA-2, OR-1 | PEX, EBP | 7 (6 / 0 / 1) | 2 | 0 |
| PA-4 | Pathway and clinical quality outcome evaluation | 6 | 3 | PA-3, BC-8 | ANL, EBP | 5 (4 / 1 / 0) | 1 | 0 |
| BC-1 | Eligibility and coverage at registration | 5 | 2 | RC-2 | FIN | 3 (2 / 1 / 0) | 1 | 0 |
| BC-2 | Clinical event to priced charge | 5 | 2 | OR-1, RC-3, BC-1, BC-6 | FIN | 5 (5 / 0 / 0) | 1 | 0 |
| BC-3 | Patient account, invoice and payment | 5 | 2 | BC-2 | FIN, PEX | 10 (6 / 4 / 0) | 2 | 0 |
| BC-4 | Record assembly, document stewardship and chart completion | 3 | 3 | RC-5 | HIM | 11 (11 / 0 / 0) | 2 | 0 |
| BC-10 | Encounter coding to billing readiness | 5 | 3 | BC-4 | HIM | 4 (4 / 0 / 0) | 1 | 0 |
| BC-5 | Claim to remittance and finance posting | 5 | 3 | BC-1, BC-3, BC-10 | FIN | 6 (3 / 3 / 0) | 1 | 0 |
| BC-6 | Stock ledger, procurement and departmental consumption | 4 | 2 | RC-1 | FIN | 10 (8 / 2 / 0) | 4 | 0 |
| BC-7 | Disclosure, retention and legal hold | 5 | 3 | BC-4 | HIM, ESS | 14 (14 / 0 / 0) | 3 | 0 |
| BC-8 | Governed data platform fed by flow events | 5 | 3 | RC-3 | ANL, ESS | 12 (12 / 0 / 0) | 3 | 1 |
| BC-9 | Operational, revenue-cycle and management reporting | 5 | 3 | BC-8, BC-2 | ANL | 8 (8 / 0 / 0) | 0 | 0 |
| XF-1 | Data portability and exit export | 3 | Cross-cutting | RC-3 | ISE | 1 (1 / 0 / 0) | 0 | 0 |
| XF-2 | Governed AI, research extracts and maturity scorecard | 6 | 4 | BC-8 | ANL | 8 (0 / 3 / 5) | 3 | 0 |
4. The flows¶
| Flow | Source | What it delivers | Slices | Requirements | Detail |
|---|---|---|---|---|---|
| Registration to care delivery | Domain Scope section 5.1 | A patient is identified, registered and given an encounter; care is documented against that encounter; the patient has governed digital access. | 6 | 120 | slices/RC.md |
| Order to result | Domain Scope section 5.2 | A clinician places a signed order; the owning service fulfils it; a validated result or completed service returns to the clinical record, with critical results acknowledged. Medication order to administration is included here as the same order-to-fulfilment loop. | 8 | 58 | slices/OR.md |
| Pathway activation | Domain Scope section 5.3 | Approved evidence is published as a versioned pathway; an eligible patient is identified; a clinician confirms activation; the pathway coordinates work through the owning domains and its outcomes are evaluated. | 4 | 34 | slices/PA.md |
| Billing and coding | Domain Scope section 5.4 | Care activity becomes charges, invoices and claims; the record is completed, coded, retained and disclosed under policy; reconciled measures are reported. | 10 | 83 | slices/BC.md |
| Outside the four flows | Not a Domain Scope flow | Requirements that no critical flow exercises. They are listed so that nothing is left unplaced. | 2 | 9 | slices/XF.md |
5. What can run in parallel¶
Slices with no "after" path between them are independent. After each slice below passes its gate, the listed slices can pass theirs (subject to their other predecessors); their sessions start earlier, once its contracts are fixed.
| When this passes | These can start |
|---|---|
| RC-1 | RC-2, RC-3, PA-1, BC-6 |
| RC-2 | RC-4, RC-6, BC-1 |
| RC-3 | RC-4, RC-5, OR-7, BC-2, BC-8, XF-1 |
| RC-5 | OR-1, PA-2, BC-4 |
| RC-6 | OR-8 |
| OR-1 | OR-2, OR-4, OR-6, OR-7, PA-3, BC-2 |
| OR-2 | OR-3, OR-5, OR-8, PA-2 |
| PA-1 | PA-2 |
| PA-2 | PA-3 |
| PA-3 | PA-4 |
| BC-1 | BC-2, BC-5 |
| BC-2 | BC-3, BC-9 |
| BC-3 | BC-5 |
| BC-4 | BC-10, BC-7 |
| BC-10 | BC-5 |
| BC-6 | OR-6, BC-2 |
| BC-8 | PA-4, BC-9, XF-2 |
The longest chain of slices that must follow one another is 8 long: RC-1 → RC-3 → RC-5 → OR-1 → OR-2 → PA-2 → PA-3 → PA-4. Everything else can be arranged around that chain as team capacity allows.
6. Alignment with the PRS delivery sequence¶
Every slice is released in the phase of PRS section 16.1 (as amended 15 November 2026) that lists its scope. The earlier conflicts between phases are recorded in phase alignment. Three slices need a note:
| Slice | PRS position | Position here |
|---|---|---|
| RC-1 | PRS phase 1 exit criteria include a first patient registration and encounter; full patient administration is phase 2. | Same. The slice proves the platform foundation with a real transaction. |
| OR-1 | PRS phase 3 lists CPOE and results; phase 4 lists the laboratory and imaging systems. | Order entry and result display are released in phase 3 against a simulator of the Domain 4 contract, so the contract is agreed before either side is finished. The PRS does not prescribe this. |
| XF-1 | PRS phase 3 exit criteria include a data export demonstration; ACC-008 requires it at go-live. | Same: first demonstrated in phase 3 and repeated as later slices add data. |
Several phase 5 slices have only early predecessors and could start well before phase 5 if capacity allows: RC-6 (after RC-2), BC-1 (after RC-2), BC-8 (after RC-3).
7. Checks on this slicing¶
- Coverage. All 304 functional requirements are assigned to exactly one slice; the build script fails otherwise.
- Order. No slice comes after a slice released in a later phase.
- Workflows. 78 of the 78 specification workflows gate a slice. A workflow gates the slice that holds most of the requirements citing it, except where slices_def.py places it by hand (gate_wfs).
- Tests. 413 of the 457 test scenarios in the specifications trace to a functional requirement and are counted against its slice; 44 test non-functional or cross-cutting requirements and apply to every slice.
- Tier 1. 9 slices deliver Tier 1 workflows and need clinical owner approval under ACC-002: RC-1, RC-3, RC-4, RC-5, OR-1, OR-3, OR-5, OR-6, OR-7.
- Module dependencies met by contract, not by order. In 7 cases a requirement names an upstream module of its own domain that has no requirement in the same or an earlier slice. These are listed in each slice; the slice must build against an agreed contract or stub of that module, or the module must be pulled forward.
8. Limits¶
- The assignment is a design judgement. Which requirement belongs to which slice was decided by reading the requirement titles and the flows, and is recorded in tools/definitions/slices_def.py. Reviewed 2026-11-24 on the owners' behalf, under delegated authority: the upstream modules each slice builds against by contract were checked, and BC-2 now comes after BC-1 (payer coverage) and BC-6 (stock ledger), which it needs. The remaining cases are a later module read by an earlier one and stay as contract and stub.
- Enabling requirements. Platform and shared-service requirements (Domains 2 and 10) are placed in the first slice whose gate cannot pass without them, so the earliest slices are the widest.
- Non-functional requirements (section 10 of each specification) are not sliced; they apply to every slice that touches the domain.
- Slice size is uneven and is not an effort measure.
Data: data/slices.csv. To change the slicing, edit tools/definitions/slices_def.py and run tools/build.py.