Architecture / Decision records / ADR-HIS-079
ADR-HIS-079 Flow boards, wall displays and governed configuration in screens, until the design system, the shell and D10 offer them¶
| Status | Accepted |
| Decided | 2026-11-26 by session RC-2-S08 |
| Record | Drafted 2026-11-26; approved 2026-11-30 by the Enterprise Architecture Board |
| Where the rule lives | web/domains/adm/UI-ADM-008/ and UI-ADM-012/ (board.tsx, api/boards.ts, FlowBoards.tsx), web/domains/adm/UI-ADM-011/ (api/http.ts, Lifecycle.tsx, dialogs.tsx, ConfigurationItems.tsx) |
Context¶
RC-2-S08 builds three screens: - the emergency department board UI-ADM-008; - the configuration console UI-ADM-011; - the ward and clinic flow boards UI-ADM-012.
They follow ADR-HIS-069 and ADR-HIS-078. They meet four more gaps that later screen sessions will meet too:
- One board component, two screens. OV-04 makes the board one component owned by Domain 1, with fixed parts (header, card, indicator list) and three layouts. The design system does not have it, and a screen folder imports nothing from another (session rule 10).
- The wall display. A wall display runs under a registered display-device identity, read-only, limited to its boards, with initials and bed by default (UX-ADM-008, CUX-47). The shell has no display frame and no way to tell a screen it is on a display.
- Governed configuration with no item type yet. Specification 13.2 has UI-ADM-011 edit queue definitions, board definitions and CFG-ADM-016 to 018 under the D10 configuration lifecycle (contracts/ess configuration.v1). No item type or content schema for them is registered in D10. Bed configuration (MOD-ADM-006) has no contract at all.
- The sign step on a contract without a signature field. Approval of governed configuration always asks for re-authentication (PH-03). scheduling.v1
decide…Versiondecides for the caller and carries no signature reference. The OV-18 actions validate, submit, return, activate and roll back have no operation in it.
Options considered¶
For 1: - (a) Build the component in the design system. That is outside a screen session's folders (session rule 10). - (b) Two different implementations. The fixed parts would drift between boards. - (c) Identical copies in each board screen, as ADR-HIS-078 point 4 does.
For 2: - (a) A screen of its own for the display. It would be a second registration of one catalogue entry. - (b) A path below the screen's route that the shell already gives the screen.
For 3: - (a) Invent the item types and their content. That would be a contract a screen session may not write. - (b) Hide the sections. - (c) Show what is in force read-only, and offer drafting disabled with its reason and the way to the D10 lifecycle workspace.
For 4: - (a) Approve without re-authentication. That trades away a decided control (DEC-CLI-009). - (b) Disable approval altogether. - (c) The host hooks of UI-ESS-011 (RC-1-S25): re-authenticate in place, and send the stepped-up credential with that one request.
Decision¶
- The board component, as identical copies.
board.tsxandapi/boards.tsare identical in UI-ADM-008 and UI-ADM-012.board.tsxholds the header with counts, freshness and "not current", the card, the flow state labels with a symbol, and the indicator list.- The board's freshness shows "Not updated for [n] minutes" in amber in either of two cases (BR-ADM-024, CUX-53): the unit says the board is stale (
stale,staleMinutes), or the screen's own copy has aged past the board's threshold. - The board is read every 5 seconds, so a change reaches the screen within one read of the projection (NFR-ADM-003 is measured from commit to board). Its watermark goes to the status line.
- A flow state the screen does not know (the list is extensible) is shown as the unit sends it.
- The copies move to the design system together.
- The wall display is
<board screen route>/display?board=<board code>. - It is read-only, with no action at all, large type, and pages of 12 cards that rotate every 20 seconds.
- The identity line follows the board's privacy setting. Under initials-and-bed, a name the unit may have sent is never shown.
- It calls no patient-detail operation. Which boards a display may read is decided by the unit and the display-device identity; a refusal reads "This display is not configured for this board."
- The board code in the address is not patient data. The shell frame around it is a follow-up.
- Governed configuration that cannot be authored yet.
- What is in force is shown read-only, from the provider that serves it (flow.v1
listQueues,listFlowBoards). - "Create draft version" is disabled with its reason, and a link opens the D10 lifecycle workspace (UI-ESS-011).
- A value that no contract serves is "Not set", never a default (CUX-51, GAP-ADM-001).
- Once D10 registers the item types and their content schemas, the console drafts them through configuration.v1.
- The sign step and the lifecycle actions.
- UI-ADM-011's
api/http.tsis UI-ADM-007's with the two host hooks of UI-ESS-011:accountIdandstepUp. - Approval is offered on a draft only. It is disabled for the author ("You wrote this version. A different approver is required."), and disabled while no re-authentication is available.
- Approval asks for re-authentication every time after the confirmation summary. The stepped-up credential is sent with the decision only, and three failed attempts cancel it with nothing changed.
- Retirement shows the confirmation summary only.
- The OV-18 actions scheduling.v1 has no operation for are disabled with their reason. An approved version becomes Active on its effective date. The OV-18 state words are used, so "effective" is shown as Active.
- Rapid registration before emergency registration exists.
- In slice RC-2, rapid registration takes a patient already in the index, found by No. RM or NIK.
- It opens an emergency encounter at the arrival time with the encounter class and type of UI-ADM-001 and the RC-2 scenario (
EMER,emergency-visit, sourceemergency), unless the patient has an open one here. It then records the arrival on the emergency queue, with one idempotency key per step. - A new or unidentified patient, the estimated age, the arrival mode and the downtime entry wait for FR-ADM-REG-004 and FR-ADM-FLW-003 (slice RC-4), shown disabled with that reason.
- The triage scale is read, never written (ADR-HIS-078 point 7).
- It is the value set
adm.triage-categoryof the terminology service, a D10 registration by clinical governance. - While it cannot be read, the triage category cannot be set or changed, and the panel says why.
- The badge shows the category's number and name. The colours of the scale (CFG-ADM-028) wait for a contract that serves them.
Rationale¶
- The board's fixed parts exist so that every board reads the same. Identical copies keep that until the design system holds them, at the cost of keeping them in step, as ADR-HIS-078 point 4 already does.
- A path below the screen's route is the one place the shell lets a screen decide its own view without a change to the shell.
- Showing what is in force, and saying why it cannot be changed here, is the Shell 13 read-only state. Inventing a content schema would bind D10 to a screen's guess.
- The sign step is a decided control (DEC-CLI-009, PH-03), and UI-ESS-011 already implements it with the same host hooks. Re-using them changes no access behaviour: the unit decides the approval.
Consequences¶
- Design system (a session owning
web/design-system): the board component of OV-04 in its three layouts and two modes, replacing the copies of point 1; the triage badge bound to CFG-ADM-028. - Shell (a session owning
web/shell): a frame for a wall display (no navigation, the system banner kept, sign-in under the display-device identity of FR-ESS-IAM-003), and a step-up hook for screens in place of each folder'sstepUpsetting. - Contracts:
- flow.v1: the precaution type on the isolation indicator (PH-04), an overdue flag for time in state, a similar-name indicator from identity policy, the board's filters and display devices (CFG-ADM-021), and the public call display flag of a queue;
- encounters.v1 or flow.v1: the arrival mode;
- scheduling.v1: a signature reference on
decide…Version, as configuration.v1 has. - D10 registrations: the configuration item types and content schemas of CFG-ADM-016 to 021, and the value set
adm.triage-category. - Slice RC-4: emergency and unidentified registration, downtime entry and disposition, added to UI-ADM-008 where it now shows them disabled.