Skip to content

Architecture / Decision records / ADR-HIS-113

ADR-HIS-113 The integration consoles: entry between screens by URL, the one suspend dialog and the replay scope handed over that way, the second person authenticated in place as the caller, the step-up token as the signature, and what the screens leave to the contracts

Status Accepted
Decided 2026-12-01 by session RC-3-S20
Record Drafted 2026-12-01; awaiting approval by the Enterprise Architecture Board
Where the rule lives web/domains/ise/UI-ISE-001/ (Console.tsx entry, dialogs.tsx ReplayDialog and DecisionDialog, model.ts), web/domains/ise/UI-ISE-002/ (Registry.tsx entry, dialogs.tsx the suspend dialog), web/domains/ise/UI-ISE-003/ (Catalogue.tsx entry, dialogs.tsx retirement), and api/http.ts, identical in the three folders

Context

RC-3-S20 builds the first three integration screens: the integration operations console UI-ISE-001, the interface registry UI-ISE-002 and the API and event catalogue UI-ISE-003. Shared parts of the design readiness tie them to each other and to later screens:

  • OV-113: UI-ISE-001 and UI-ISE-008 open the one "Suspend interface" dialog of UI-ISE-002.
  • OV-56: an owning domain's queue (UI-ANC-004, UI-FIN-002, UI-EBP-014 and others) opens the UI-ISE-001 replay dialog with the scope filled in.
  • OV-15: UI-ESS-012 opens UI-ISE-003 in the Governance view.
  • OV-112 and CUX-64: the second Integration Operations Analyst authorizes a replay into a replay-sensitive target in place.

A screen folder imports nothing from another one (session rule 10), and the shell SDK has no navigation with a payload. The ADM screens hand an encounter between screen folders through the window's memory (ADR-HIS-109 point 2), because what they hand over is patient context and must stay out of the URL.

The contracts also leave three things to the screens:

  • integration.v1 authorizeMessageReplay records the decision of the caller, so a second person's decision must be sent with that person's credential, not with a confirmation in a body field (ADR-HIS-071 point 4 has a secondPerson hook that answers only a confirmation);
  • the ISE providers verify a signed approval's signatureId as the access token of the approver's own step-up (ADR-HIS-108 point 4, as ADR-HIS-087 point 6 for a merge), while ADR-HIS-071 falls back to the token's jti for the ESS providers;
  • contract-catalogue.v1 lists contracts without their data classification, which the Governance view must show.

Options considered

  1. Window-memory handoffs, as ADR-HIS-109. Works within one window only, and a task, a notification or a link from another domain's screen cannot carry it. The identifiers handed over here are not patient data.
  2. A copy of the suspend dialog and the replay dialog in each screen that needs them. Two dialogs drift apart, which OV-112 and OV-113 exist to prevent.
  3. Entry by URL: each screen's path and query parameters are its public entry, and the dialog stays in the one screen that owns it. A link from any screen, task or notification opens the right item with the right dialog.

Decision

Option 3, with the hooks and fallbacks below.

  1. Entry between screens is by URL, and it names operational identifiers only. Interface identifiers, exception, replay and transaction identifiers and contract names are not patient data. No patient identifier, name or business identifier is put in a URL. The entries are listed at the top of each screen's view and are its public contract:
  2. UI-ISE-001: /ise/ui-ise-001/message/<exceptionId>, /event/<exceptionId>, /reconciliation/<exceptionId>; /replay/<replayId> and /replay/event/<replayId> for an approval task; ?interface=<interfaceId>.
  3. UI-ISE-001, the replay scope of OV-56: ?replay=<exceptionId>[,<exceptionId>…]&interface=<interfaceId> for messages, or &subscription=<subscription> for events, with &requestedAs=owning-domain. The dialog opens with that scope when every item is still open, and says so otherwise. The provider decides whether the caller may request as the owning domain.
  4. UI-ISE-002: /ise/ui-ise-002/<interfaceId> or ?interface=<interfaceId>; /ise/ui-ise-002/<interfaceId>?action=suspend opens the one "Suspend interface" dialog (OV-113); /ise/ui-ise-002/new opens the registration form.
  5. UI-ISE-003: ?view=governance[&owningDomain=<code>] for UI-ESS-012; /ise/ui-ise-003/<contractName>[?version=<major.minor>]; /ise/ui-ise-003/standards for the FHIR capability statement.
  6. The second person authenticates in place as the caller. ServiceSettings.stepUp takes person: "self" | "second".
  7. self is the PH-03 sign step: the activation approvals of UI-ISE-002, and the second authorization when the signed-in analyst is not the requester.
  8. second asks the host's step-up dialog to authenticate another person on this screen, who sees the same summary and the requester's reason (CUX-64). Their stepped-up credential is the bearer of that one request (authorizeMessageReplay, authorizeEventReplay), so the provider records them and refuses them if they are the requester.
  9. UI-ISE-003 takes the two retirement approvals of FR-ISE-GWY-002 part 5 the same way, each a second step-up.
  10. accountId (ADR-HIS-071) lets the screens say before the call that an author may not approve their own registration and a requester may not authorize their own replay. The provider refuses either way.
  11. The signature sent is the step-up itself. signatureOf answers the host's signatureId when it has one, else the stepped-up access token, which the ISE providers verify (valid, the right person, aal2, within the window, used once). It is sent with that one request and never shown or kept. The ESS screens keep ADR-HIS-071's jti fallback, because their providers verify differently.
  12. The integration operations console has three worklists, Quarantine, Dead letter and Reconciliation, as tabs beside the item detail (OV-01, operations variant: the subject is a reference, and identifiers appear only in the detail).
  13. The dead-letter list joins the integration engine's dead-lettered messages and the event backbone's dead-lettered events, with the subject naming the interface or the subscription.
  14. A replay takes the items of one interface (message) or one subscription (event). More than one item is a bulk replay, which needs the item count typed, sent as confirmedItemCount for messages.
  15. Before the request the dialog shows what the screen knows: the scope, the target, the ordering from the registration's ordering key, and the replay-sensitive flag of the registration. For an event, the provider decides sensitivity and the dialog says so.
  16. Red on the console is used only for a Tier 1 interface whose partner is unavailable or whose circuit is open (UX-ISE-008, CUX-15). Tier is clinical criticality (DE-ISE-002). Every other condition is amber with words.
  17. What the screens leave to the contracts, and show nothing for:
  18. the gateway routes of a contract version and the schema text (UI-ISE-003 shows the schema reference);
  19. assignment and annotation of a dead-lettered event (event-operations.v1 has none);
  20. the clinical functions affected before a suspension (the answer's suspension.impact names them, and the dialog shows them after);
  21. a payload view of a dead-lettered event.

UI-ISE-003 reads each listed contract's current version to show its data classification until the list answers it.

Rationale

  • A URL is the one way between screens that a task, a notification, another domain's screen and a person's bookmark all share. These identifiers are already in tasks and notifications, so a URL carries no more than they do.
  • Keeping the dialog in the screen that owns the state keeps one set of rules, one impact summary and one audit trail, which is why OV-112 and OV-113 were ratified.
  • A decision recorded under the caller's own credential is what the provider can verify and audit. A body field naming another person would need a verification service that does not exist (ADR-HIS-087 point 6, "Why this way").
  • The token as the signature is what the providers built. A screen that sent the jti would be refused.

Consequences

  • Owning domains' queue screens (UI-ANC-004, UI-FIN-002, UI-EBP-014, UI-ANL-009 and others) link to UI-ISE-001 with the replay scope of point 1, rather than build a replay of their own.
  • UI-ISE-008 (RC-1-S22) should open the suspend dialog by ?action=suspend when a revocation for suspected compromise suspends interfaces. It links to ?interface= today.
  • UI-ESS-012 links to /ise/ui-ise-003?view=governance.
  • Shell SDK (a session owning web/shell): navigation with a payload, a service client, accountId and a step-up provider that can authenticate a second person. The three api/http.ts copies then move there with the others of ADR-HIS-069.
  • ISE contract, compatible minor versions:
  • contract-catalogue.v1: dataClassification on the list items, and the routes of a version;
  • event-operations.v1: assignment and payload view of a dead letter;
  • integration.v1: an impact preview before a suspension.
  • Identity service: the step-up of UI-ESS-001 answers the stepped-up token of the person who authenticated, for person: "second" as for self.