Skip to content

Architecture / Decision records / ADR-HIS-071

ADR-HIS-071 The shared work list UI-ESS-010 as a configurable library, and how a configuration approval is signed

Status Accepted
Decided 2026-11-26 by session RC-1-S25
Record Drafted 2026-11-26; approved 2026-11-30 by the Enterprise Architecture Board
Where the rule lives web/domains/ess/UI-ESS-010/ (index.ts, config.ts, WorkList.tsx, Counter.tsx); web/domains/ess/UI-ESS-011/ (model.ts signatureOf, dialogs.tsx)

Context

OV-01 makes UI-ESS-010 the one work list component: "every queue in the system configures it". A domain may set up to four extra columns, its own filters, the screen each row opens and a source tag. Everything else is fixed, and the domain may not perform its business action in the list. The brief opens the component from a counter in the global bar, and a workspace may embed it as its home view.

The screen session RC-1-S25 builds it, but only inside its screen folders. No other screen may import from a screen folder (session rule 10). ADR-HIS-070 settled the same problem for sign-on and Break-the-Glass: a library with an index.ts that the shell imports. The work list differs in three ways:

  • it is also a screen in its own right;
  • it is configured by other domains;
  • its rows need rules that the contracts leave open:
  • the task contract's priority codes ("for example routine, high, critical") against the glossary's four words;
  • where a row opens, since a task carries no screen;
  • how the patient of a row is shown under the minimum-necessary rule.

On UI-ESS-011, approval of a configuration version carries a signatureId: "the identifier of the step-up authentication of IF-ESS-002 it was signed with". The step-up hook that screens have, ServiceSettings.stepUp (UI-ISE-007, ADR-HIS-070 point 4), answers a stepped-up credential only. Nothing says where the identifier comes from.

Decision

  1. UI-ESS-010 is a library in its screen folder, and also a screen.
  2. index.ts exports:
    • WorkList, the component;
    • WorkListCounter, the global bar counter, which shows counts only (CUX-47);
    • MY_WORK, the configuration of every user's own notifications, tasks and queues;
    • the configuration type with checkConfiguration.
  3. The shell imports index.ts, as for ADR-HIS-070. No screen imports it.
  4. screen.ts registers a real screen, not a preview: /ess/ui-ess-010, with no navigation entry. The counter and links in external channel messages (/ess/ui-ess-010/task/<id>, /notification/<id>) open it. The opened item is kept in the address, so going back from the owning screen returns to it (Shell 3 rule 5).
  5. A domain configures the list with a WorkListConfiguration, and nothing else. It sets:
  6. the tabs;
  7. where tasks come from: the user's own tasks and their queues', or named queues;
  8. the subject column: the patient, or the record reference of the operations variant;
  9. up to four extra columns (more are refused);
  10. its filters;
  11. openTarget;
  12. sourceTag.

The row anatomy, the priority words, the actions, the default order, the fixed filters, ageing, freshness and keyboard operation are not configurable. A domain screen gets the component through the shell SDK once a shell session offers it there (consequences). It never imports the folder. 3. Row rules of the list. - Priorities are shown on the glossary's scale (Critical, High, Normal, Low) in every configuration. The task code routine is shown as Normal, because "Routine" is a word of the urgency scale. Critical is the one critical colour and symbol (Shell 9). - A row opens, in this order: - the configuration's openTarget; - the notification's own inAppMessage.openTarget, only if it is a route of this application; - a default by the record type of the task's origin or first subject.

 A row with none of these opens nothing, and its detail says so.
  • With the patient subject, the name and the No. RM of the working facility come from Domain 1 readPerson, once per patient on the list. Domain 1 decides and audits each read for the user. A refusal shows "not shown for your role", never the identifier.
  • The signature of a configuration approval.
  • stepUp may answer signatureId, the identifier of the step-up authentication, and the screen sends it.
  • While the host's step-up gives none, the screen sends the stepped-up token's jti, which names that authentication in the identity provider.
  • Without either, nothing is sent.
  • The second person of an emergency change answers their own signatureId with their confirmation (CUX-64).

Rationale

One list built once, configured by data, is what OV-01 asks for. A configuration object keeps the fixed parts fixed, because a domain cannot reach them, and checkConfiguration refuses one that tries. Making UI-ESS-010 a real screen as well as a library means the slice's users can work their tasks before the shell mounts the counter: the integrate session can open it by its route.

Showing priorities on one scale, and opening rows only to routes of the application, keeps the list's safety rules (Shell 9; CUX-04) the same whatever the provider sends. Reading the patient through Domain 1 keeps the minimum-necessary decision and its audit with the owner of the record, not in the list.

Taking the token's jti as the signature reference lets approval work with the step-up the shell already offers, and records an identifier the identity provider can resolve. The explicit signatureId replaces it without a change to the screen once UI-ESS-001's adapter returns one.

Consequences

  • A shell session:
  • mounts WorkListCounter in the global bar and sets the folder's service settings;
  • offers WorkList to screens through the SDK, so a domain queue can be a configuration of it.

UI-ADM-002's stewardship list (RC-1-S21) is the first to move onto it. - UI-ESS-001's step-up adapter should return signatureId explicitly. The jti fallback then stops being used. - The contracts leave these gaps, which the screens handle and record as follow-ups: - notification.v1 has no acknowledgement until FR-ESS-NTF-002; - TaskType names no outcome codes; - RollbackRequest has no list and no version. - When the shell SDK gets a service client, the api/http.ts copies in both folders move into it, as ADR-HIS-069 records.