Skip to content

Enterprise HIS Implementation Plan

This folder holds the implementation plan for the Enterprise Hospital Information System. The plan is built from the domain specifications and is organised by sequence and dependency, not by calendar: it says what must exist before what, what can run in parallel, and what evidence closes each step. It carries no durations or dates.

The UX design work that follows from the plan (screens, roles, the application shell and the safety rules) is in docs/design.

Reading order

  1. Phase alignment, to see how the delivery phases of the source documents were reconciled.
  2. Vertical slices, the delivery sequence itself.
  3. Stage gates, what closes each slice and stage.
  4. Session plan, the slices cut into AI agent sessions: what each session is given, what it leaves behind and what can start now.
  5. Decision plan, what has to be decided before which stage.
  6. The rest as reference.

Delivery

Page Content How it is made
Backlog and backlog/ Every functional requirement as a backlog item, grouped into epics by module, with each domain's enabling work (interfaces, external integrations, data migration) Generated from the specifications
Event catalogue Every published event with its producer and consumers, and the contract checks: duplicate names, names outside the convention, consumers the publisher does not list. Also writes the "Events consumed" table at the end of section 8.5 of each specification Generated from section 8.5 of the specifications by build_events.py
Dependency graph Domain build sequence in waves, two-way dependencies, declared cross-domain dependencies and their consistency, module sequence within each domain Generated from the specifications
Phase alignment The phase conflicts found in the source documents, how each was resolved, and where the resolution was applied. The delivery sequence itself is PRS section 16.1 (as amended) together with the slice sequence Written by hand
Vertical slices and slices/ 30 end-to-end slices across the four critical flows (registration to care delivery, order to result, pathway activation, billing and coding), each placed in a PRS phase, mapped to the requirements it needs from every domain, and closed by an end-to-end gate Slice design by hand in slices_def.py; pages generated
Stage gates and gates/ Exit criteria for each stage and slice: the PRS phase exit criteria, the slice gates, what each acceptance gate ACC-001 to ACC-010 must show at each stage, the operational readiness items due (section 16.4 of the specifications) and the test scenarios of each slice (section 15.2) Generated; the ACC-to-stage mapping is by hand in build_gates.py
Session plan and sessions/ The slices cut into AI agent sessions: 7 foundation sessions, then for each slice a contract session, build sessions by deployable unit, screen sessions, an integration session, a readiness session for Tier 1 slices and a gate evidence session, with fix sessions and further gate rounds when a gate records failures. Each has a card with its scope, what it comes after, what to read, what it leaves behind and the check that ends it. Also the rules every session follows, the prompt that starts one, and the list of sessions that can start now Session kinds, size limits and foundation sessions by hand in sessions_def.py; progress by hand in session-status.csv and gate failures in session-fixes.csv; pages generated
delivery/handovers/SESSION-ID.md The handover each session writes when it ends, read by the sessions that come after it Written by each session
delivery/risks.md Delivery risks rolled up from each specification's risk register (section 11.3) and from the dependency analysis Planned
delivery/coverage.md Check that every PRS requirement and every functional requirement is placed in a stage and a slice Planned
delivery/domains/DNN-ABBREV.md One plan per domain: its epics in order, what it needs from other domains and at which stage, its migration and rollout steps Planned

Decisions

Page or file Content How it is made
Decision plan The open decisions grouped into 17 themes, each with a lead, the stage it must be settled before, whether build can start on the working position, and the cost of proceeding on it; anchor decisions to settle first Themes, leads and cost judgements by hand in decisions_def.py; page generated
Blocking decisions The open decisions from all specifications, classified by what they block and grouped into cross-domain themes Generated from the specifications
Technology stack The technology selected: 32 selections by group, the points still to confirm, the dependency rules each product must pass, and the specification decisions they settle Generated from the outcomes
outcomes.csv The record of decision outcomes: one row per decision and per technology selection, with its status, whether it is settled, the chosen option, any proposed outcome, who decided, when, and the ADR reference Edited by hand

Recording a decision. Enter it in outcomes.csv and run the build (below). Setting the status to "Decided" settles the decision: the specification then records it as Resolved. The full rules are in the tools README.

Data

Machine-readable copies of the generated data are in data/:

File Rows
data/backlog.csv One per functional requirement
data/module-dependencies.csv One per module, with its wave and what it needs
data/domain-dependencies.csv One per domain-needs-domain pair, with requirement counts
data/declared-dependencies.csv One per cross-domain dependency declared in section 17.4 of a specification
data/decisions.csv One per decision in the specifications, with class, themes and citing requirements
data/decision-plan.csv One per open decision, with its theme, lead, settle-before stage and the theme's cost rating
data/decision-register.csv One per row of the decision register, with the chosen option and how it was recorded (resolved, or open with an agreed approach)
data/slices.csv One per functional requirement, with the slice, flow and phase it is released in
data/sessions.csv One per session, with its slice, kind, what it comes after, its deployable unit, modules and the earlier sessions it builds on, its requirements, screens and test scenarios, and its status
data/screens.csv One per screen, with its pattern, roles, stage and slices
data/roles.csv One per user role, with its work context, actors and screens
data/role-actors.csv One per actor in the specifications, with the role it is merged into
data/role-screens.csv One per role and screen it uses

Rebuilding

Everything generated here and in docs/design is rebuilt by one command:

python3 docs/implementation_plan/tools/build.py

Run it after changing the specifications, a definition file in tools/definitions/, or a decision outcome. Generated pages start with a comment saying so; do not edit them by hand. How the build works, what each script does and the limits of the method are in tools/README.md.

Conventions for the pages still to be written

  • Refer to requirements, modules, decisions and interfaces by their identifiers and link them to the specification, as the generated pages do (for example ../../domain_specs/D01-ADM/05-functional-requirements/MOD-ADM-001-MPI.md#fr-adm-mpi-001 from a page in delivery/). All links are relative.
  • Refer to other plan pages by name ("the slice plan, section 3"), not by number.
  • Use "stage" for a step in the delivery sequence and "wave" only for the derived ordering in the dependency graph, so the two are not confused.
  • Express order as "after", "with" or "in parallel with"; do not add dates or durations.
  • Every stage and slice ends on a gate with named evidence.

Sources