Domain specifications / D10-ESS / 8. Integration and Interoperability Requirements
8. Integration and Interoperability Requirements¶
8.1 Integration Overview¶
Domain 10 is called by every other domain and calls very little in return. Its services are consumed in three ways:
- Synchronous APIs for immediate decisions and lookups: authentication, authorization decisions, consent evaluation, code validation, registry resolution, document reference resolution and configuration reads.
- Asynchronous events for state propagation: identity, consent, policy, terminology, master-data and configuration changes; notification and task status; audit intake.
- Published content that consumers may hold locally for resilience: terminology versions, master data, active configuration and policy versions.
All traffic uses the gateways, service-to-service channels and event backbone of Domain 2. Domain 10 calls back into other domains only through their published APIs: to read decision attributes, to dispatch workflow steps and to deliver patient notifications through Domain 7. It never writes to another domain's store (BR-ESS-031). External exchange (identity sources, security monitoring, terminology publishers, messaging channels) passes through the Domain 2 integration layer (PRS 9.1).
8.2 Internal Integration Catalogue¶
| Integration ID | Source Module | Target Module | Purpose | Pattern |
|---|---|---|---|---|
| INT-ESS-001 | All domains (1 to 9) | MOD-ESS-001 | Authenticate users; resolve actor identity | API |
| INT-ESS-002 | All domains (1 to 9) | MOD-ESS-002, MOD-ESS-003 | Authorization and consent decisions with obligations | API |
| INT-ESS-003 | All domains (1 to 9) | MOD-ESS-006 | Emit audit events | Event (durable), API |
| INT-ESS-004 | All domains (1 to 9); Domain 2 interfaces and pipelines | MOD-ESS-004 | Validate, look up, expand and translate codes | API; published content |
| INT-ESS-005 | All domains (1 to 9) | MOD-ESS-005, MOD-ESS-010 | Read master data and registries; resolve identifiers | API; Event |
| INT-ESS-006 | Domains 1, 3, 4, 5, 6, 7, 9 | MOD-ESS-007 | Request notifications; receive status and acknowledgement | API; Event |
| INT-ESS-007 | Domains 1, 3, 4, 5, 6, 9 | MOD-ESS-008 | Start workflows; create and complete tasks | API; Event |
| INT-ESS-008 | MOD-ESS-008 | Owning domain services (1 to 9) | Dispatch workflow steps as idempotent commands | API / Event |
| INT-ESS-009 | Domains 3, 4, 5, 6, 7 | MOD-ESS-009 | Register documents; resolve references | API; Event |
| INT-ESS-010 | Domain 1 (ADM) | MOD-ESS-003, MOD-ESS-009, MOD-ESS-008 | Patient merge and unmerge events; consent references at registration | Event; API |
| INT-ESS-011 | MOD-ESS-002 | Domain 1 (ADM), Domain 3 (CLI) | Read encounter, location, care-team and assignment attributes where pulled | API |
| INT-ESS-012 | Domain 6 (HIM) | MOD-ESS-009, MOD-ESS-006, MOD-ESS-003 | Set classification, retention class and legal hold; read access and disclosure audit; supply consent evidence references | API |
| INT-ESS-013 | Domain 7 (PEX) | MOD-ESS-003, MOD-ESS-002, MOD-ESS-007 | Patient-entered consent and third-party grants; patient notification delivery | API; Event |
| INT-ESS-014 | MOD-ESS-006, MOD-ESS-011, MOD-ESS-007, MOD-ESS-008 | Domain 8 (ANL) | Governed feeds for security, data-quality and operational indicators; version resolution for lineage | Event; API |
| INT-ESS-015 | Domain 9 (EBP), Domain 6 (HIM) | MOD-ESS-004 | Store and version guideline concept maps and coding crosswalks | API |
| INT-ESS-016 | All domains (1 to 9); Domain 2 pipelines | MOD-ESS-012 | Register item types; read configuration; promote packages; publish contracts to catalogue | API; Event |
| INT-ESS-017 | All domains (1 to 9); Domain 2 | MOD-ESS-011 | Report stewardship items and queue measures | API; Event |
| INT-ESS-018 | MOD-ESS-001, MOD-ESS-006 | Domain 2 (ISE) | Rotation status of service credentials; forwarding of security events | API; Event |
8.3 External Integration Catalogue¶
| Integration ID | External System | Direction | Purpose | Standard / Protocol |
|---|---|---|---|---|
| EXT-ESS-001 | Human resources system | Inbound | Joiner, mover and leaver and employment status | Through the Domain 2 integration layer into IF-ESS-001. SCIM 2.0 (RFC 7643, RFC 7644) push of User resources with the enterprise extension where the HR system supports it; otherwise a daily delta file (CSV, UTF-8, documented column set: employee number, NIK, name, unit, position, employment status, start and end dates) over SFTP, plus a weekly full file for reconciliation. Leavers by SCIM take effect within 15 minutes; by file within 24 hours |
| EXT-ESS-002 | Credentialing / medical staff office system | Inbound | Qualification and credential status | Same contract shape as EXT-ESS-001: SCIM 2.0 or a daily delta file over SFTP through the Domain 2 integration layer, carrying practitioner number, NIK, profession, STR number and validity, SIP number, facility and expiry, clinical privilege (RKK) reference and status. Where no system exists, the medical staff office records credentials directly in the practitioner registry (FR-ESS-MDM-003) |
| EXT-ESS-003 | Terminology content publishers | Inbound | Code system releases, subject to licence | Publisher release formats; versions per PRS 3.3 |
| EXT-ESS-004 | SIEM or equivalent security monitoring (operated under Domain 2) | Outbound | Audit and security events | Syslog over TLS (RFC 5424 framing, RFC 5425 transport) to the in-house Wazuh SIEM, with a JSON payload in a documented schema that carries the audit fields of FR-ESS-AUD-001 part 6.4 and the event type codes of section 9.5; IHE ATNA-aligned field names where selected (SEC-018) (DEC-ISE-009) |
| EXT-ESS-005 | External messaging channels (through Domain 2) | Outbound, with delivery status inbound | Notification delivery outside the application | SMS, WhatsApp, email and push through the Domain 2 partner gateway, as specified in EXT-ISE-013: provider REST APIs, delivery receipts by signed webhook. Channel use per GAP-ESS-009 (closed) |
| EXT-ESS-006 | National or regional registries of practitioners, facilities and identifiers, where applicable | Inbound / Bidirectional | Reference data and identifier validation under the jurisdiction profile | For Indonesia: SATUSEHAT master data lookup of Practitioner (by NIK) and Organization identifiers through the Domain 2 SATUSEHAT adapter, FHIR R4 (PRS 9.4); SIP and STR checked against the issuing records by the credentialing office (FR-ESS-MDM-003 part 6.11, FR-ESS-MDM-002 part 6.8) |
| EXT-ESS-007 | External organizational identity provider, where federation is approved | Bidirectional | Federated sign-on for defined user groups | Open standard federation protocol supported by the selected identity provider, Keycloak (DEC-ESS-005) |
| EXT-ESS-008 | External FHIR consumers of terminology, practitioner, organization, location and consent resources (through Domain 2) | Outbound | Standards-based exchange | HL7 FHIR profile selected by governance (PRS 9.2, 21.3, SEC-017) |
8.4 Interface Specification¶
Common conventions for all Domain 10 interfaces: REST over the Domain 2 service channel with mutual service authentication; versioned contracts registered in the API catalogue; a correlation identifier on every request; optimistic concurrency checks on updates; standard error envelope with code, message and field detail. Only differences are stated below.
Interface IF-ESS-001: Identity Administration and Provisioning API¶
Interface Purpose: Create and maintain accounts, service identities and role assignments; receive identity-source events.
Producer: MOD-ESS-001
Consumer: Identity administration workspace; identity-source adapters (Domain 2); MOD-ESS-002
Interface Type: REST API
Protocol and Standard: Versioned REST contract; the inbound identity-source feed uses SCIM 2.0 (RFC 7643, RFC 7644) or the daily file of EXT-ESS-001.
Authentication and Authorization: Privileged roles with MFA for human callers; scoped service identity for adapters.
Request Structure: As FR-ESS-IAM-001, IAM-003 and IAM-004 input tables; feed events carry the source event identifier.
Response Structure: Account, service identity or assignment resource with state and version.
Error Handling: Validation errors returned with field detail; feed errors quarantined for administrator review.
Idempotency and Duplicate Handling: Source event identifier is the idempotency key; duplicate identity refused.
Monitoring and Audit: All calls audited; feed lag and quarantine count monitored.
Interface IF-ESS-002: Authentication and Session Interface¶
Interface Purpose: Authenticate users and issue, validate and revoke sessions and tokens.
Producer: MOD-ESS-001
Consumer: All user-facing applications; Domain 2 gateways
Interface Type: REST API / standard authentication protocol
Protocol and Standard: An open, published authentication and token standard selected under ADR-004; not a vendor-specific identity platform (PRS 1).
Authentication and Authorization: Registered client applications; user credentials and factors; the badge and PIN path only from managed hospital workstations and managed handhelds.
Request Structure: Sign-on request, factor response, badge and PIN response, screen unlock, user switch, step-up request (including second-person authorization), PIN set and reset, token validation, revocation.
Response Structure: Signed, time-limited token carrying subject, assurance level and expiry; uniform failure response.
Error Handling: Fail closed for new sessions; existing sessions run to expiry during an outage (section 11.2).
Idempotency and Duplicate Handling: Token validation is idempotent; revocation is idempotent.
Monitoring and Audit: Success, failure, account block, screen lock, user switch and step-up audited; failure rate and latency monitored.
Interface IF-ESS-003: Policy Decision API¶
Interface Purpose: Return authorization, consent and label decisions with obligations.
Producer: MOD-ESS-002 (with MOD-ESS-003)
Consumer: Every domain service enforcement point; Domain 2 gateways
Interface Type: REST API
Protocol and Standard: Versioned REST contract. Single and batch decision operations and a search-filter operation.
Authentication and Authorization: Registered service identities only.
Request Structure: Subject, action, resource, patient reference, purpose, resource and context attributes, environment (FR-ESS-AUZ-001 part 7).
Response Structure: Outcome, obligations, decision identifier, policy version, cache lifetime.
Error Handling: Any error or timeout is treated by the caller as Deny unless its documented failure policy permits a still-valid cached decision; emergency access remains available to permitted roles.
Idempotency and Duplicate Handling: Read-only evaluation; safe to retry.
Monitoring and Audit: Denials and listed permits audited with decision identifier; latency, error rate and deny rate monitored per caller.
Interface IF-ESS-004: Emergency Access API¶
Interface Purpose: Create, query, end and review emergency access sessions.
Producer: MOD-ESS-002
Consumer: All clinical applications (shared component UI-ESS-004); review workspace
Interface Type: REST API
Protocol and Standard: Versioned REST contract.
Authentication and Authorization: Authenticated user in a permitted role; reviewers for review operations.
Request Structure: Patient reference, reason code, justification; review outcome and comment.
Response Structure: Session with scope, start, expiry and state.
Error Handling: Alert or task creation failures do not fail the invocation (PR-AUZ-002-3); absence of a confirmed audit path does (PR-AUZ-002-5).
Idempotency and Duplicate Handling: A repeat invocation for the same subject and patient while a session is Active returns the existing session.
Monitoring and Audit: Every operation audited with elevated detail; invocation rate monitored.
Interface IF-ESS-005: Consent API¶
Interface Purpose: Record, version, withdraw and query consent directives; manage data subject requests.
Producer: MOD-ESS-003
Consumer: Domains 1, 3, 6, 7 (recording); all domains (query through decisions)
Interface Type: REST API; FHIR Consent representation where selected
Protocol and Standard: Versioned REST contract; FHIR Consent per jurisdictional implementation guide (SEC-017).
Authentication and Authorization: Service identity plus acting user; purpose required for reads.
Request Structure: FR-ESS-CNS-001 part 7; as-of time for historical queries.
Response Structure: Directive version(s) with status and provenance.
Error Handling: Validation errors with field detail; conflicts reported with the precedence outcome.
Idempotency and Duplicate Handling: Client-supplied idempotency key on create and withdraw.
Monitoring and Audit: All writes and reads audited.
Interface IF-ESS-006: Terminology API¶
Interface Purpose: Lookup, validate, expand, translate; publish and retrieve versions; report unmapped codes.
Producer: MOD-ESS-004
Consumer: All domains; Domain 2 interfaces and pipelines
Interface Type: REST API; downloadable published content
Protocol and Standard: Versioned REST contract; FHIR terminology operations and resources where selected.
Authentication and Authorization: Authenticated service or user; licence restrictions applied.
Request Structure: Code, code system, version or as-of date, value set, unit, map and target system.
Response Structure: Outcome, reason and version used; paged expansions; candidate targets with relationship types.
Error Handling: Callers fall back to a local published copy within the configured staleness limit.
Idempotency and Duplicate Handling: Read operations are safe to retry; unmapped-code reports are merged (PR-TRM-003-4).
Monitoring and Audit: Validation failure and unmapped rates monitored per caller; content changes audited.
Interface IF-ESS-007: Master Data and Registry API¶
Interface Purpose: Read organizations, locations, practitioners, services, assigning authorities and cross-references; submit change proposals; resolve identifiers; check whether a practitioner holds a current clinical privilege for a procedure (FR-ESS-MDM-003 part 6.10).
Producer: MOD-ESS-005, MOD-ESS-010
Consumer: All domains; Domain 2 interface adapters
Interface Type: REST API; FHIR Organization, Location and Practitioner representations where selected
Protocol and Standard: Versioned REST contract; FHIR profiles per PRS 21.3.
Authentication and Authorization: Authenticated service or user; practitioner personal attributes released by purpose.
Request Structure: Entity key or identifier with assigning authority; as-of time; change proposal payloads.
Response Structure: Entity version with effective period; resolution result or "unknown"; privilege check result (granted with level and SPK expiry, or not held with the missing privilege named).
Error Handling: Consumers may use a local published copy; unknown identifiers create stewardship items.
Idempotency and Duplicate Handling: Proposal idempotency key; duplicate identifier refused.
Monitoring and Audit: Changes audited; unknown-identifier rate monitored.
Interface IF-ESS-008: Audit Intake, Query and Forwarding Interface¶
Interface Purpose: Accept audit events; search and export audit; forward to security monitoring.
Producer: All domains (intake); MOD-ESS-006 (query, forwarding)
Consumer: MOD-ESS-006 (intake); reviewers, Domain 6, Domain 2 security monitoring
Interface Type: Durable event channel and REST API
Protocol and Standard: Published audit event schema; IHE ATNA-aligned content where selected (SEC-018).
Authentication and Authorization: Emitters append only; query requires audit-access role and stated purpose.
Request Structure: Audit event (DE-ESS-013); bounded query criteria with purpose.
Response Structure: Durable acknowledgement; paged results; export file with integrity metadata.
Error Handling: Emitters buffer in their outbox and retry; malformed events are quarantined, not dropped.
Idempotency and Duplicate Handling: Event identifier deduplication.
Monitoring and Audit: Intake lag, quarantine count, completeness reconciliation and forwarding reconciliation monitored; all queries audited.
Interface IF-ESS-009: Notification API¶
Interface Purpose: Request, cancel and close notifications; record acknowledgement; read status.
Producer: MOD-ESS-007
Consumer: Domains 1, 3, 4, 5, 6, 7, 9; MOD-ESS-008; shared inbox component
Interface Type: REST API with status events
Protocol and Standard: Versioned REST contract.
Authentication and Authorization: Requesting service identity limited to its registered notification types; acknowledging user must be an eligible recipient.
Request Structure: FR-ESS-NTF-001 part 7.
Response Structure: Notification identifier and state; delivery, acknowledgement and escalation history.
Error Handling: Requesters retain requests in their outbox when the service is unreachable; delivery failures retried and escalated.
Idempotency and Duplicate Handling: Idempotency key and deduplication window.
Monitoring and Audit: Queue depth by priority, time to deliver, time to acknowledge, failed and exhausted counts monitored; attempts audited.
Interface IF-ESS-010: Workflow and Task API¶
Interface Purpose: Start, signal, cancel and query workflow instances; create, claim, complete and reassign tasks.
Producer: MOD-ESS-008
Consumer: Domains 1, 3, 4, 5, 6, 9; Domain 10 modules; shared task list component
Interface Type: REST API with state events
Protocol and Standard: Versioned REST contract.
Authentication and Authorization: Service identity limited to its own definitions and task types; users limited to eligible queues.
Request Structure: FR-ESS-WFL-001 and FR-ESS-WFL-002 part 7.
Response Structure: Instance or task with state, owner, due time and history.
Error Handling: Step retries with backoff; failed steps to the recovery worklist; callers keep start requests in their outbox.
Idempotency and Duplicate Handling: Business key per definition; step and task idempotency keys.
Monitoring and Audit: Instance age, failed steps, overdue and stuck tasks monitored; manual interventions audited.
Interface IF-ESS-011: Document Reference API¶
Interface Purpose: Register documents and versions; search the index; resolve references; set lifecycle flags.
Producer: MOD-ESS-009
Consumer: Domains 3, 4, 5, 6, 7, 8
Interface Type: REST API; FHIR DocumentReference representation where selected
Protocol and Standard: Versioned REST contract; content transfer over the Domain 2 storage channel.
Authentication and Authorization: Authoring service for registration; authorization decision per resolution; Domain 6 service for flags.
Request Structure: FR-ESS-DOC-001 part 7.
Response Structure: Document and version identifiers; metadata; content or short-lived retrieval reference bound to the requester.
Error Handling: No partial registration; hash mismatch withholds content and raises an integrity alert.
Idempotency and Duplicate Handling: Content hash plus patient, type and author detects duplicates.
Monitoring and Audit: Every resolution audited; storage errors and integrity failures monitored.
Interface IF-ESS-012: Configuration Lifecycle API¶
Interface Purpose: Register item types; draft, validate, approve, promote, activate, roll back and read configuration.
Producer: MOD-ESS-012
Consumer: All domains; Domain 2 release pipelines
Interface Type: REST API with change events
Protocol and Standard: Versioned REST contract; packages identified by content hash.
Authentication and Authorization: Administrators per item type; approvers distinct from authors; pipeline service identity for promotion.
Request Structure: FR-ESS-CFG-001 part 7.
Response Structure: Version with state, effective period, approvals and promotion history; resolved active configuration.
Error Handling: Consumers continue on their last retrieved active version when the service is unreachable.
Idempotency and Duplicate Handling: Promotion of an already-present identical package is a no-op.
Monitoring and Audit: All lifecycle actions audited; pending approvals and failed promotions monitored.
Interface IF-ESS-013: Data Governance and Stewardship API¶
Interface Purpose: Read the ownership register and rule catalogue; create and resolve stewardship items; report queue measures; resolve artifact versions for lineage.
Producer: MOD-ESS-011
Consumer: All domains; Domain 2; Domain 8
Interface Type: REST API with item events
Protocol and Standard: Versioned REST contract.
Authentication and Authorization: Registered service identities; stewards per data domain.
Request Structure: FR-ESS-DGV-001 to DGV-003 part 7.
Response Structure: Register entries, rules, item state, version resolution results.
Error Handling: Items for unregistered data domains go to the default governance queue.
Idempotency and Duplicate Handling: Identical items merged with an occurrence count.
Monitoring and Audit: Open items, age and resolution rate monitored; changes audited.
Interface IF-ESS-014: API Catalogue and ADR Register Interface¶
Interface Purpose: Publish and discover API and event contracts, extension points and ADRs.
Producer: MOD-ESS-012
Consumer: Engineers, integrators, partners (limited view); Domain 2 pipelines and gateways
Interface Type: REST API and browsable catalogue
Protocol and Standard: Machine-readable schema references in open, documented formats (DEP-007).
Authentication and Authorization: Internal users read; contract owners write; partner view restricted.
Request Structure: FR-ESS-CFG-003 part 7.
Response Structure: Catalogue entry with schema, scopes, versions, lifecycle and consumers; ADR record.
Error Handling: Unresolvable schema references rejected.
Idempotency and Duplicate Handling: Contract identifier and version are unique; republishing identical content is a no-op.
Monitoring and Audit: Entry changes audited; unregistered deployed contracts reported.
8.5 Event Requirements¶
| Event ID | Event Name | Producer | Consumers | Trigger |
|---|---|---|---|---|
| EVT-ESS-001 | IdentityChanged | MOD-ESS-001 | MOD-ESS-002, 007, 008; all domains | Account, service identity or role assignment created, changed, suspended, revoked |
| EVT-ESS-002 | ConsentChanged | MOD-ESS-003 | MOD-ESS-002; Domains 1, 2, 3, 6, 7, 8 | Directive activated, superseded, expired, withdrawn, entered in error |
| EVT-ESS-003 | PolicyUpdated | MOD-ESS-002 | All domains | Policy or label taxonomy version activated or rolled back |
| EVT-ESS-004 | EmergencyAccessInvoked | MOD-ESS-002 | MOD-ESS-006, 007, 008; Domain 2 security monitoring | Session created |
| EVT-ESS-005 | EmergencyAccessReviewed / ReviewOverdue | MOD-ESS-002 | Security and Privacy Office; Domain 8 | Review outcome recorded or due time passed |
| EVT-ESS-006 | TerminologyPublished | MOD-ESS-004 | All domains; Domain 2 | Code system, value set or concept map version effective |
| EVT-ESS-007 | MasterDataChanged | MOD-ESS-005, MOD-ESS-010 | All domains | Master-data or registry entity version published or retired |
| EVT-ESS-008 | AuditEventRecorded | MOD-ESS-006 | Domain 2 security monitoring; Domain 6; Domain 8 | Audit event of a subscribed class stored |
| EVT-ESS-009 | NotificationStatusChanged | MOD-ESS-007 | Requesting domain; Domain 8 | Delivered, failed, acknowledged, escalated, exhausted, closed, cancelled |
| EVT-ESS-010 | TaskStateChanged | MOD-ESS-008 | Owning domain; Domain 8 | Task assigned, overdue, escalated, completed, cancelled, failed |
| EVT-ESS-011 | ConfigurationChanged | MOD-ESS-012 | Owning domain; MOD-ESS-002 | Configuration version activated or rolled back |
| EVT-ESS-012 | StewardshipItemRaised / StewardshipItemResolved | MOD-ESS-011 | Reporting domain; Domain 8 | Item created or closed |
| EVT-ESS-013 | DocumentRegistered | MOD-ESS-009 | Domain 6; Domain 8 | Document or new version registered; flag changed |
| EVT-ESS-014 | WorkflowInstanceStateChanged | MOD-ESS-008 | Owning domain; Domain 8 | Instance accepted, completed, failed, cancelled, compensated |
The event names TerminologyPublished, ConsentChanged, PolicyUpdated and AuditEventRecorded are those given for the Enterprise Governance bounded context in Architecture 4.2.
The following applies to every event above:
- Purpose. State propagation and cache invalidation. Events carry identifiers, versions and status, not bulk content; consumers read detail through the API.
- Schema and version. Each event has a versioned schema registered in the API catalogue and is schema-validated (INF-002).
- Required identifiers. The envelope follows Architecture 5.2: event identifier, event type, schema version, aggregate identifier, facility, producer, actor and purpose context, and payload reference. Patient-scoped events carry the enterprise person identifier.
- Timestamps and correlation. Occurred time and recorded time in UTC, correlation identifier and causation identifier.
- Delivery and ordering. At-least-once delivery through the Domain 2 event backbone using a transactional outbox. Ordering is preserved per aggregate (per account, per patient's directives, per artifact, per notification, per task, per instance) because a later state must not be overtaken by an earlier one (INF-003).
- Retry and dead-letter. Bounded retries with backoff, then dead-letter with operator-controlled replay (INT-004).
- Duplicates. Consumers deduplicate on event identifier and treat events as idempotent state notifications.
- Retention and replay. Retention and replay follow the Domain 2 event backbone policy. Because security-relevant events (EVT-ESS-001, 002, 003) invalidate cached decisions, consumers that have been disconnected beyond the retained window must resynchronize from the API rather than rely on replay.
Events consumed¶
The events this domain consumes, as listed in each publisher's section 8.5. The publisher's table is the single record of who consumes an event: to add or remove a consumer, change the publisher's Consumers column and rebuild.
| Event | Name | Producer | Producer's trigger | Condition |
|---|---|---|---|---|
| EVT-ADM-001 | PatientResolved | D01-ADM | A search or cross-reference resolves a person for a workflow | When this domain is the requesting domain |
| EVT-ADM-025 | ResponsibilityChanged | D01-ADM | Responsible unit, team or attending practitioner changes | – |
| EVT-ISE-001 | InterfaceMessageQuarantined | D02-ISE | A message fails validation or routing | When this domain is the owning domain |
| EVT-ISE-002 | InterfaceMessageDeadLettered | D02-ISE | Delivery attempts exhausted | When this domain is the owning domain |
| EVT-ISE-004 | InterfaceStatusChanged | D02-ISE | Interface lifecycle transition or partner availability change | When this domain is the owning domain |
| EVT-ISE-007 | ReleaseDeployed | D02-ISE | Release deployed, rolled back or forward-fixed in an environment | – |
| EVT-ISE-008 | ServiceStateChanged | D02-ISE | A service becomes Degraded, Unavailable or Normal | – |
| EVT-ISE-011 | FailoverCompleted | D02-ISE | Failover or failback finished | – |
| EVT-ISE-013 | SecurityAlertRaised | D02-ISE | Detection rule or anomaly match | – |
| EVT-ISE-017 | DowntimeDeclared / DowntimeEnded | D02-ISE | Downtime window opened or closed | – |
| EVT-ISE-018 | EventReplayExecuted | D02-ISE | Operator replay completed | When this domain is the owning domain |
| EVT-ANC-014 | VerificationMismatchDetected (safety event) | D04-ANC | Blocked specimen, transfusion, milk or theatre identity check | – |
| EVT-ANC-028 | IcuEscalationRaised | D04-ANC | Threshold or overdue bundle rule met | – |
| EVT-FIN-016 | FinancialExceptionRaised (proposed) | D05-FIN | Exception item created or escalated | – |
| EVT-HIM-004 | RecordLocked | D06-HIM | Record locked or re-locked | – |
| EVT-HIM-007 | DocumentIndexed | D06-HIM | Document indexed, reclassified or re-indexed | – |
| EVT-HIM-008 | LegalHoldApplied | D06-HIM | Hold created or scope changed | – |
| EVT-HIM-009 | LegalHoldReleased | D06-HIM | Hold released | – |
| EVT-HIM-010 | RetentionDispositionCompleted | D06-HIM | Archival or disposal batch finished | – |
| EVT-HIM-012 | DisclosureDelivered | D06-HIM | Release package delivered and logged | – |
| EVT-PEX-001 | PortalAccessGranted | D07-PEX | Account link becomes Active | – |
| EVT-PEX-002 | PortalAccessChanged | D07-PEX | Link suspended, reinstated or revoked | – |
| EVT-PEX-003 | RepresentativeAccessChanged | D07-PEX | Grant activated, changed, suspended, revoked | – |
| EVT-PEX-008 | PatientMessageSent | D07-PEX | Patient or representative sends a message (metadata only) | – |
| EVT-PEX-009 | FormResponseSubmitted | D07-PEX | Form response submitted | – |
| EVT-PEX-012 | CommunicationPreferenceChanged | D07-PEX | Preference or verified contact point changed | – |
| EVT-ANL-002 | DataQualityThresholdBreached | D08-ANL | A quality rule or score crosses its threshold | – |
| EVT-ANL-005 | ExtractReleased | D08-ANL | An extract package is released, expired or revoked | – |
| EVT-EBP-004 | PathwayVersionSubmitted | D09-EBP | Pathway version submitted for review | – |
| EVT-EBP-005 | PathwayVersionApproved | D09-EBP | Governance approval recorded | – |
| EVT-EBP-006 | PathwayVersionReleased | D09-EBP | Version becomes Released at effective time | – |
| EVT-EBP-007 | PathwayVersionStatusChanged (Suspended / Reinstated / RolledBack / Retired) | D09-EBP | Withdrawal or reinstatement action | – |
| EVT-EBP-010 | PathwayActivated | D09-EBP | Instance created after validated clinician confirmation | – |
| EVT-EBP-011 | PathwayActivityAssigned | D09-EBP | Proposal accepted by owning domain or existing record linked | – |
| EVT-EBP-012 | PathwayActivityDue | D09-EBP | Activity passes its due time without completion | – |
| EVT-EBP-015 | PathwayPaused | D09-EBP | Instance paused | – |
| EVT-EBP-016 | PathwayResumed | D09-EBP | Instance resumed | – |
| EVT-EBP-017 | PathwayDiscontinued | D09-EBP | Instance discontinued | – |
| EVT-EBP-019 | PathwayEscalationRaised | D09-EBP | Escalation rule fires | – |
| EVT-EBP-021 | PathwayConflictDetected | D09-EBP | A conflict between two Active or Paused instances of the same patient is found after activation (CFG-EBP-029) | – |
8.6 Integration Failure and Recovery¶
Because every domain depends on Domain 10, each service defines what its callers do when it is slow or unavailable. The positions below were approved on 2026-11-17 with two tightenings, on the cached policy decision and on the audit buffer (DEC-ESS-018); they are confirmed through the clinical hazard analysis.
| Service | Timeout handling at caller | Degraded behaviour | Recovery and reconciliation |
|---|---|---|---|
| Authentication | New sign-on fails closed | Existing sessions continue to expiry; clinical downtime procedure applies if sign-on is unavailable beyond the tolerated period (SAFE-005, BCP-005) | Sessions re-established; authentication events reconciled |
| Policy decision | Treated as Deny | Tier 1 clinical read paths may use a cached decision no older than the configured maximum age (CFG-ESS-025, default 60 minutes), never for restricted content; other paths do not use cached decisions. Permitted roles may use emergency access, which requires only local policy data and a confirmed audit path | Cached-decision use is audited and reviewed after recovery |
| Consent | Treated as missing attribute | As policy decision; exchanges and disclosures that require consent wait | Pending exchanges re-evaluated |
| Terminology | Local published copy used | Entry flagged as validated against a stated version; if no copy, binding rule decides reject or flag | Flagged entries revalidated; failures to stewardship |
| Master data and registry | Local published copy used | Unknown identifiers quarantined by the caller | Quarantined items reprocessed after resolution |
| Audit | Events buffered durably in the emitter's outbox | Protected actions continue only while durable buffering is confirmed (BR-ESS-022). The buffer has a stated capacity (CFG-ESS-026); when it is reached, Tier 1 actions continue on a local durable log and other protected actions block | Buffered events delivered; completeness reconciliation run |
| Notification | Request kept in requester's outbox | The owning domain's own worklist remains the authoritative record of the unacknowledged matter and stays visible there | Queued requests sent in priority order; overdue timers fire immediately |
| Workflow and task | Start request kept in caller's outbox | Running instances pause; owning domains continue their own transactions | Instances resume from persisted state; no blind replay into medication, billing or identity workflows |
| Document reference | Registration and resolution fail with explicit error | Authoring domain retains unsent content locally under its own rules | Registration retried; hash verified |
| Configuration | Last retrieved active version used | No new activations | Missed activations applied in effective-time order with audit |
- Circuit breakers and bulkheads. Callers use circuit breakers; Domain 10 isolates capacity by caller class so that analytics, portal or partner load cannot exhaust capacity needed by Tier 1 clinical callers (Architecture 12.3).
- Manual recovery. Operators use UI-ESS-009 and documented runbooks; every manual action records a reason.
- Data consistency. After any outage, reconciliation compares emitted against stored audit events, requested against delivered notifications, started against terminal workflow instances, and identity-source state against account state. Exceptions are queued, not silently corrected.
← 7. Domain Data Requirements | Contents | Identifier index | 9. Security, Privacy, and Compliance Requirements →