Domain specifications / D02-ISE / 8. Integration and Interoperability Requirements
8. Integration and Interoperability Requirements¶
8.1 Integration Overview¶
Domain 2 is the integration fabric itself. It exchanges little business information of its own; it carries the exchanges of the other domains and exposes operational events and management APIs.
Internally, domain services call each other through versioned APIs and publish and consume versioned domain events on the event backbone. Synchronous APIs are used for immediate decisions and queries; durable asynchronous events are used for state propagation, long-running workflows and cross-domain notification (REF-002 section 4). Externally, LIS, RIS/PACS, blood bank, payer, device, finance, and national or regional systems connect only through the gateways and approved adapters and contracts. Security policy decisions are obtained from Domain 10; security events and audit events are forwarded to SIEM capabilities.
The order-to-result flow illustrates the division of responsibility (REF-002 section 5.2): Domain 3 creates and signs the order; Domain 2 routes the versioned request to the appropriate Domain 4 service or external system and records acknowledgement of acceptance or rejection; Domain 4 owns fulfilment; results return through Domain 2 with provenance; Domain 2 reconciles messages against transactions and surfaces anything unmatched.
8.2 Internal Integration Catalogue¶
| Integration ID | Source Module | Target Module | Purpose | Pattern |
|---|---|---|---|---|
| INT-ISE-001 | All domain services | MOD-ISE-004 Event Backbone | Publish domain events through transactional outbox | Event |
| INT-ISE-002 | MOD-ISE-004 Event Backbone | All consuming domain services | Deliver domain events with at-least-once guarantee | Event |
| INT-ISE-003 | Domain 7 (PEX) channels, clinician and departmental user interfaces | MOD-ISE-002 Gateways | User-channel and API access to domain services | API |
| INT-ISE-004 | MOD-ISE-002 Gateways, MOD-ISE-003, MOD-ISE-004 | Domain 10 (ESS) identity and authorization services | Authenticate callers and obtain policy, consent and redaction decisions | API |
| INT-ISE-005 | All MOD-ISE modules | Domain 10 (ESS) audit service | Record platform audit events (privileged actions, external exchange, replay, export) | Event / API |
| INT-ISE-006 | Domain 10 (ESS) audit service | MOD-ISE-008 Observability | Forward audit events to SIEM or equivalent | Event |
| INT-ISE-007 | MOD-ISE-003 Integration Engine | Domain 10 (ESS) terminology service | Validate codes and resolve mappings during message and resource validation | API |
| INT-ISE-008 | Domain 1 (ADM) services | MOD-ISE-003 Integration Engine | ADT, patient identity cross-reference and scheduling messages to departmental and external systems | Event / API |
| INT-ISE-009 | Domain 3 (CLI) services | MOD-ISE-003 Integration Engine | Outbound orders and inbound results where fulfilment is external or departmental | Event / API |
| INT-ISE-010 | Domain 4 (ANC) services | MOD-ISE-003 Integration Engine | Laboratory analyzer, imaging, blood bank, dispensing cabinet and device connectivity | Event / API / protocol adapters |
| INT-ISE-011 | Domain 5 (FIN) services | MOD-ISE-003 Integration Engine | Payer eligibility, claims, remittance and finance system exchange | API / Batch |
| INT-ISE-012 | Domain 6 (HIM) and Domain 10 document services | MOD-ISE-003 Integration Engine | Cross-enterprise document exchange where selected | API |
| INT-ISE-013 | MOD-ISE-003, MOD-ISE-004 | Owning domain services (1, 3, 4, 5) | Raise reconciliation exceptions and offline conflicts needing a business decision | Event / API |
| INT-ISE-014 | All domain services | MOD-ISE-008 Observability | Emit metrics, logs and traces | Telemetry stream |
| INT-ISE-015 | MOD-ISE-008, MOD-ISE-003, MOD-ISE-009 | Domain 8 (ANL) | Operational indicators: integration operations, platform reliability, downtime, offline reconciliation | Event / Batch |
| INT-ISE-016 | All domain services (export contracts) | MOD-ISE-009 Data export | Complete data export for exit testing | Batch |
| INT-ISE-017 | MOD-ISE-005 Release pipeline | Domain 10 (ESS) notification service | Release notices and maintenance communications to stakeholders | API |
| INT-ISE-018 | Domain 3 (CLI) and Domain 4 (ANC) bedside clients | MOD-ISE-004 Offline edge synchronization | Cache issue and synchronization of offline actions | API |
| INT-ISE-019 | Domain 9 (EBP) and Domain 10 (ESS) governed content | MOD-ISE-005 Release pipeline | Promotion of versioned configuration and pathway content through environments | Batch |
8.3 External Integration Catalogue¶
The external systems below are named in REF-002 and the PRS. The business purpose and payload of each belong to the owning domain shown; Domain 2 provides the transport, adapter, security and reconciliation. The partners and interfaces of the first release, and which of them are critical, are listed in the first-release interface inventory below (GAP-ISE-002); standards versions are frozen per release profile (DEC-ISE-004).
| Integration ID | External System | Direction | Purpose | Standard / Protocol |
|---|---|---|---|---|
| EXT-ISE-001 | External or departmental laboratory systems and analyzers (owner: Domain 4) | Bidirectional | Orders, worklists, results | HL7 v2; analyzer protocols through adapters |
| EXT-ISE-002 | RIS / PACS / VNA and imaging modalities (owner: Domain 4) | Bidirectional | Modality worklist, study status, image storage and retrieval | DICOM; approved web access patterns; IHE radiology workflow profiles as selected |
| EXT-ISE-003 | Blood bank system (owner: Domain 4) | Bidirectional | Requests, compatibility, issue, traceability | HL7 v2 or FHIR as agreed |
| EXT-ISE-004 | Bedside medical devices and device gateways (owner: Domain 4) | Inbound | Device observations | ISO/IEEE 11073 SDC where supported; vendor-neutral protocols through gateway |
| EXT-ISE-005 | Automated dispensing cabinets (owner: Domain 3 / Domain 4 per medication boundary) | Bidirectional | Authenticated, auditable release tied to orders | Authenticated interface per registration |
| EXT-ISE-006 | Payer and claims systems (owner: Domain 5) | Bidirectional | Eligibility, claims, remittance | Jurisdiction and payer formats through adapters; FHIR financial resources where supported |
| EXT-ISE-007 | Finance / procurement / ERP systems (owner: Domain 5) | Bidirectional | Finance posting, procurement | Documented accounting and inventory mappings |
| EXT-ISE-008 | National or regional health information exchange and reporting platforms (business owners: Domain 6 for SATUSEHAT submission, Domain 8 for SIRS periodic reports, Domain 1 for SATUSEHAT identity and SIRS bed availability, Domain 3 for SATUSEHAT Rujukan referrals (EXT-CLI-007), Domain 4 for the national AMR surveillance export (EXT-ANC-012); DEC-HIM-018) | Bidirectional | Health data exchange, hospital reporting, identity, national referral (outbound referral ServiceRequest; inbound acceptance, decline and reply letter) | Jurisdiction conformance pack: SATUSEHAT FHIR R4 with OAuth2 (including SATUSEHAT Rujukan ServiceRequest exchange, with inbound responses received by polling or notification and routed to Domain 3) and SIRS web services; AMR export by managed file transfer. This domain provides transport, credentials and retries, not content |
| EXT-ISE-009 | Other healthcare organizations (owners: Domains 1, 3, 6) | Bidirectional | Patient identity cross-reference, demographic query, document and imaging exchange | IHE profiles as selected; FHIR |
| EXT-ISE-010 | Patient-authorized third-party applications (owner: Domain 7 for presentation; Domain 10 for authorization) | Outbound (read) | Access to permitted patient data | FHIR API with scoped, revocable authorization |
| EXT-ISE-011 | External notification subscribers | Outbound | Authorized change notifications | FHIR Subscriptions or equivalent |
| EXT-ISE-012 | SIEM or equivalent security monitoring | Outbound | Security and audit event forwarding | Syslog over TLS in a documented schema to the in-house Wazuh SIEM (DEC-ISE-009) |
| EXT-ISE-013 | External messaging channels (SMS, WhatsApp, email and push) used by the Domain 10 notification service and Domain 7 | Outbound, with delivery receipts inbound | Transport of notifications | Provider REST APIs through the partner gateway; WhatsApp through the WhatsApp Business Platform via an approved provider; delivery receipts by signed webhook |
| EXT-ISE-014 | Approved time sources | Inbound | Clock synchronization | Network time protocol, internal redundant sources |
| EXT-ISE-015 | Payment channels: payment gateway, bank card terminals, QRIS and virtual accounts (owner: Domain 5, EXT-FIN-010) | Bidirectional | Payment initiation, confirmation and settlement reports | Provider REST API over TLS with signed callbacks; settlement files by SFTP |
| EXT-ISE-016 | Hospital directory and identity federation (owner: Domain 10; Keycloak, DEC-ESS-005) | Bidirectional | Workforce account source and federated sign-on | LDAPS to the hospital directory (Active Directory or LDAP); OpenID Connect and SAML 2.0 for federation |
First-release interface inventory¶
Closed 17 Nov 2026 on common practice (GAP-ISE-002). These are the partners and interfaces of the first release. "Critical" marks the interfaces that must show acknowledgement, error handling, replay, reconciliation and monitoring for ACC-005 before go-live (FR-ISE-INT-006): an interface is critical when its failure can affect patient care, statutory submission or the integrity of money. Where a product or vendor is local (payment provider, messaging provider, ERP, analyser models), the deployment names it in the interface registry (DE-ISE-007); the interface type, standard and criticality stay as stated. The legacy inventory is migrated and reconciled with this list (MIG-ISE-001).
| No. | Partner / interface | Catalogue | Owning domain | Standard and transport | Tier | Critical (ACC-005) |
|---|---|---|---|---|---|---|
| 1 | SATUSEHAT national exchange: FHIR resources, NIK to IHS number resolution, Organization and Location registration | EXT-ISE-008 | Domain 6 (submission), Domain 1 (identity) | FHIR R4 REST with JSON, OAuth2 client credentials, within the 2 x 24 hour limit | Tier 2 | Yes |
| 2 | SATUSEHAT DICOM router (ImagingStudy) | EXT-ISE-008, EXT-ISE-002 | Domain 4 | DICOM C-STORE from the PACS to the on-premises router | Tier 2 | Yes |
| 3 | Laboratory analysers and laboratory middleware | EXT-ISE-001 | Domain 4 | HL7 v2.5.1 over MLLP (ORM/OML, ORU/OUL, ACK); ASTM through the middleware where an analyser has no HL7 | Tier 1 | Yes |
| 4 | Bedside devices through the device gateway (monitors, ventilators, infusion pumps) | EXT-ISE-004 | Domain 4 | HL7 v2 IHE PCD-01; IEEE 11073 SDC where supported | Tier 1 | Yes |
| 5 | Imaging modalities | EXT-ISE-002 | Domain 4 | DICOM Modality Worklist and MPPS (IHE SWF.b) | Tier 1 | Yes |
| 6 | PACS/VNA dcm4chee-arc-light | EXT-ISE-002 | Domain 4 | DICOM DIMSE and DICOMweb (QIDO-RS, WADO-RS, STOW-RS); HL7 v2 ADT and orders to the archive | Tier 1 | Yes |
| 7 | Identity provider (Keycloak) and hospital directory | EXT-ISE-016 | Domain 10 | OpenID Connect, SAML 2.0, LDAPS | Tier 1 | Yes |
| 8 | Payment gateway, card terminals, QRIS and virtual accounts | EXT-ISE-015 | Domain 5 | Provider REST API with signed callbacks; settlement files by SFTP | Tier 2 | Yes |
| 9 | Finance / ERP system (general ledger, procurement) | EXT-ISE-007 | Domain 5 | Documented open format: REST with JSON, or CSV batch over SFTP, with acknowledgement file | Tier 3 | Yes |
| 10 | SMS and WhatsApp gateway (and email) | EXT-ISE-013 | Domain 10 notification service; Domain 7 | Provider REST API; delivery receipts by signed webhook | Tier 2 | No: the owning domain's worklist is the authoritative record of the matter |
| 11 | SIRS online (RL reports, bed availability) | EXT-ISE-008 | Domain 8, Domain 1 | SIRS web services | Tier 3 | No: periodic, resubmitted after recovery |
| 12 | SIEM (Wazuh) | EXT-ISE-012 | Domain 2 | Syslog over TLS | Tier 2 | No: buffered with gap detection |
| 13 | Time sources | EXT-ISE-014 | Domain 2 | NTP from at least three internal sources | Tier 1 | No: infrastructure, tested by FR-ISE-PLT-004 |
| 14 | Managed file transfer for batch exports, first the monthly WHONET AMR export (EXT-ANC-012) | EXT-ISE-008 | Domain 4 | WHONET-compatible delimited file by SFTP with checksum and acknowledgement file, or audited expiring download (FR-ISE-INT-001 part 11) | Tier 3 | No: monthly, resent after recovery |
| 15 | SATUSEHAT Rujukan: outbound referral ServiceRequest with attached referral letter; inbound acceptance, decline and reply letter | EXT-ISE-008 | Domain 3 (EXT-CLI-007) | FHIR R4 REST with JSON, OAuth2 client credentials; fallback printed referral letter with QR code | Tier 2 | Yes |
Not in the first release: BPJS Kesehatan interfaces (VClaim SEP, E-Klaim INA-CBG, Antrean online, Aplicares) through EXT-ISE-006, added when JKN comes into scope (DEC-FIN-003); all of them will be critical. Private insurers and guarantors are handled manually in the first release (EXT-FIN-001), so they have no system interface.
8.4 Interface Specification¶
Interface IF-ISE-001: Gateway API Ingress Conventions¶
Interface Purpose: Common conventions applied by the gateways to every API exposed by any domain.
Producer: Domain services (behind MOD-ISE-002)
Consumer: User channels, internal consumers, partners, third-party applications
Interface Type: REST API
Protocol and Standard: Resource-oriented REST over encrypted transport with explicit versioning; FHIR profiles where clinically appropriate for exchange (REF-003 section 5.2).
Authentication and Authorization: Credential or token validated at the gateway; authorization decision from Domain 10 policy service; services enforce again at their own boundary.
Request Structure: Per the published contract in the catalogue. Common headers: credential, API version, correlation identifier, purpose of use where policy requires, idempotency key for state-changing calls that declare it, and a version precondition for updates.
Response Structure: Per contract. Common elements: correlation identifier, resource version, deprecation indication for deprecated versions, and a standard error structure with code, message and correlation identifier.
Error Handling: Distinct error classes for unauthenticated, unauthorized, validation failure, version conflict, rate-limited, unavailable and timeout. Unavailable and rate-limited responses carry a retry indication. No internal detail is disclosed.
Idempotency and Duplicate Handling: State-changing calls that declare an idempotency key return the original outcome when the key is repeated. Updates use optimistic concurrency checks; last-write-wins is not used for clinically significant conflicts (REF-003 section 5.2).
Monitoring and Audit: Per-route volume, latency, error rate and rate-limit events; audit event for every external access to patient data.
Interface IF-ISE-002: Event Publish and Subscribe¶
Interface Purpose: Durable distribution of domain events between services.
Producer: Any domain service that owns a topic
Consumer: Authorized subscribing services
Interface Type: Event
Protocol and Standard: Platform event abstraction over the selected broker; standard envelope; schemas registered in the catalogue. Naming: a PascalCase past-fact name, unique in the registry with one owning domain; CloudEvents type is his.<domain>.<EventName> (section 8.5). Topics: one per producing domain and aggregate type, named his.<domain>.<aggregate>.v<major> and keyed by aggregate_id; each event type is a schema registry subject his.<domain>.<EventName> with its major versions. The full list of events, producers and consumers is the event catalogue, generated from section 8.5 of every domain specification.
Authentication and Authorization: Workload identity; publish limited to the topic owner; subscribe by explicit grant respecting data classification.
Request Structure: Envelope: event_id, event_type, schema_version, aggregate_id, sequence (per aggregate_id: starts at 1 and increases by one with no gaps; assigned by the producer in the same transaction as the outbox row), facility context, occurred_at, recorded_at, producer, correlation_id, causation_id, actor/purpose context, and payload or payload reference.
Response Structure: Publication confirmation after durable write. Consumers acknowledge or reject each event.
Error Handling: Publication validation failure is returned to the producer's relay; the outbox item is flagged. Consumer failure is retried with bounded attempts, then dead-lettered per subscription.
Idempotency and Duplicate Handling:
At-least-once delivery. Consumers persist an inbox marker keyed on event_id before applying side effects. Consumers that need ordering compare sequence with the last value applied for that aggregate: an equal or lower value is a duplicate or stale event and has no effect; a gap holds later events for that aggregate until the missing one arrives or the hold times out into a reconciliation exception. Ordering across aggregates is not guaranteed.
Monitoring and Audit: Per-topic throughput, propagation latency, consumer lag, dead-letter count; audit of topic and access changes and of replays.
Interface IF-ISE-003: HL7 v2 Messaging Adapter¶
Interface Purpose: Exchange of ADT, order, result, scheduling, document and billing messages with departmental and partner systems that require HL7 v2.
Producer: Integration engine on behalf of the owning domain (outbound); partner or departmental system (inbound)
Consumer: Partner or departmental system (outbound); integration engine routing to the owning domain service (inbound)
Interface Type: Message
Protocol and Standard: HL7 v2, agreed versions and event types; carried over authenticated, encrypted channels. REF-003 names ADT, ORM, ORU, SIU, MDM and DFT/BAR message families.
Authentication and Authorization: Node authentication (FR-ISE-KEY-003); source bound to the interface registration.
Request Structure: Per agreed message profile. Validated elements include message type and trigger (MSH-9), control identifier (MSH-10), version (MSH-12), patient identifiers with assigning authority and identifier type, visit identifiers, placer and filler order identifiers, observation data types, units, reference ranges, abnormal flags and result status.
Response Structure: ACK or NACK per the agreed acknowledgement mode, with error detail on NACK.
Error Handling: Invalid messages are NACKed and quarantined. Timeouts and NACKs on outbound messages are retried per policy and then dead-lettered.
Idempotency and Duplicate Handling: Duplicate control identifiers from the same source are acknowledged without reprocessing.
Monitoring and Audit: Volume, ACK/NACK rate, queue depth and age, rejects, duplicates, unmatched results; audit event per exchange carrying patient data.
Interface IF-ISE-004: FHIR Facade¶
Interface Purpose: Standards-based RESTful access to patient, encounter, observation, condition, medication, service request, diagnostic report and related resources for authorized internal and external consumers.
Producer: Owning domain services through the facade
Consumer: Partners, national or regional platforms, patient-authorized applications, internal consumers
Interface Type: REST API
Protocol and Standard: HL7 FHIR, release and profiles selected by governance; published capability statement, profiles, terminology bindings, scopes, paging and versioning.
Authentication and Authorization: Scoped, revocable tokens; authorization, consent and security-label decisions from Domain 10; redaction enforced before release.
Request Structure: FHIR RESTful interactions declared in the capability statement.
Response Structure: FHIR resources or bundles conforming to the declared profiles; operation outcome on error.
Error Handling: Profile validation failures and authorization failures return an operation outcome. Bulk export, where enabled, is subject to controlled policy.
Idempotency and Duplicate Handling: Conditional operations and version-aware updates as declared in the capability statement.
Monitoring and Audit: Per-client and per-resource access telemetry; audit event per access with client, patient, scope, purpose, policy version and outcome.
Interface IF-ISE-005: DICOM and IHE Exchange Services¶
Interface Purpose: Carriage of imaging objects, modality workflow and cross-enterprise document and imaging exchange.
Producer: Modalities, imaging archive, external organizations, Domain 4 and Domain 6 services
Consumer: Imaging archive, Domain 4 imaging services, external organizations
Interface Type: Other (DICOM services and IHE transactions)
Protocol and Standard: DICOM; approved web access patterns; IHE profiles as selected.
Authentication and Authorization: Node authentication; registered nodes only.
Request Structure: Per DICOM service or IHE transaction. Study, series and instance identifiers are preserved and linked to patient, encounter and order by the owning domain.
Response Structure: Per DICOM service or IHE transaction.
Error Handling: Association and transaction failures are logged and retried where the protocol permits; persistent failures raise interface alerts.
Idempotency and Duplicate Handling: Instance identifiers are globally unique; duplicate storage of the same instance is detected by the archive and not treated as new.
Monitoring and Audit: Association counts, failures, throughput; node authentication events; conformance test results.
Interface IF-ISE-006: Security Event and Audit Forwarding¶
Interface Purpose: Deliver platform security events and Domain 10 audit events to the SIEM or equivalent.
Producer: MOD-ISE-008 logging pipeline; Domain 10 audit service
Consumer: SIEM or equivalent
Interface Type: Event
Protocol and Standard: Syslog in a documented schema, with integrity protection in transit (DEC-ISE-009).
Authentication and Authorization: Mutual authentication between pipeline and SIEM; write-only for sources.
Request Structure: Security event: source, UTC time, actor or node, action, target, outcome, correlation identifier. Audit events are forwarded unaltered.
Response Structure: Delivery confirmation.
Error Handling: Durable buffering during SIEM unavailability; gap detection and alerting.
Idempotency and Duplicate Handling: Event identifiers allow the SIEM to deduplicate redelivered events.
Monitoring and Audit: Forwarding lag, gaps and volume; completeness sampling against source counts.
Interface IF-ISE-007: Platform Operations API¶
Interface Purpose: Programmatic access to the service catalogue, interface registry, delivery exceptions, replay, reconciliation, downtime windows and export orchestration.
Producer: MOD-ISE-001, MOD-ISE-003, MOD-ISE-004, MOD-ISE-009
Consumer: Operational consoles; owning domain services (reconciliation references, exception intake); automation
Interface Type: REST API
Protocol and Standard: IF-ISE-001 conventions.
Authentication and Authorization: Workforce or workload identity with operation-specific permissions; replay and export require additional authorization.
Request Structure: Resources: service entries, interface registrations, transactions, exceptions, replay requests, reconciliation runs, downtime windows, export jobs.
Response Structure: Resource representations with state, history and links to related telemetry.
Error Handling: Standard error structure; refused operations state the unmet precondition.
Idempotency and Duplicate Handling: Replay and export requests carry an idempotency key; repeated submission does not start a second run.
Monitoring and Audit: All state-changing calls are audited with actor, reason and scope.
Interface IF-ISE-008: Offline Edge Synchronization API¶
Interface Purpose: Issue offline caches to enrolled bedside clients and synchronize offline actions.
Producer: MOD-ISE-004 synchronization service
Consumer: Bedside mobile clients
Interface Type: REST API
Protocol and Standard: IF-ISE-001 conventions over encrypted transport.
Authentication and Authorization: Enrolled device identity plus authenticated user; scoped, short-lived credentials from Domain 10.
Request Structure: Cache request: user, unit, shift scope. Synchronization request: ordered list of offline actions with client action identifier, type, user, device, device time, clock offset, cache version and payload.
Response Structure: Cache package with version, generation time and expiry. Per-action synchronization result: committed (with domain record reference), duplicate or conflict (with reason).
Error Handling: Unacknowledged actions remain pending and are resubmitted. Revoked or expired devices are refused and instructed to wipe.
Idempotency and Duplicate Handling: The client action identifier is the idempotency key passed to the owning domain service.
Monitoring and Audit: Cache issues, expiries, revocations, synchronization outcomes and conflicts are recorded and reported.
Interface IF-ISE-009: Device Integration Gateway¶
Interface Purpose: Accept data from registered medical devices and deliver it to the owning Domain 4 device data interface.
Producer: Registered devices and device gateways
Consumer: Domain 4 (ANC) device data services
Interface Type: Message
Protocol and Standard: ISO/IEEE 11073 SDC where supported; vendor-neutral protocols through validated adapters.
Authentication and Authorization: Device identity registered in the device inventory; authenticated gateway in the device zone.
Request Structure: Device identity, measurement, validity, safety classification, timestamp and patient association.
Response Structure: Protocol acknowledgement where supported.
Error Handling: Durable buffering during downstream outage; data without validity or timestamp is quarantined.
Idempotency and Duplicate Handling: Device identity plus measurement timestamp and sequence form the deduplication key.
Monitoring and Audit: Per-device throughput and silence detection; refused connections raise security events.
Interface IF-ISE-010: External Subscription Notification¶
Interface Purpose: Notify authorized external consumers of changes they subscribe to.
Producer: MOD-ISE-004
Consumer: External partner systems and third-party applications
Interface Type: Event
Protocol and Standard: FHIR Subscriptions or equivalent authorized mechanism.
Authentication and Authorization: Registered client; scopes cover the topic; authorization and consent re-checked at delivery.
Request Structure: Subscription registration: topic, criteria, endpoint.
Response Structure: Minimal notification; full content fetched through IF-ISE-004.
Error Handling: Retry with backoff; subscription set to error after exhaustion; no silent drop.
Idempotency and Duplicate Handling: Notifications carry an event identifier for consumer-side deduplication.
Monitoring and Audit: Delivery success rate and latency per subscription; audit of creation, delivery and revocation.
8.5 Event Requirements¶
The events below are platform operational events owned by Domain 2. Domain events about patients, encounters, orders, results, medication and charges are owned by their source domains and are not listed here. Event names follow the registry convention every domain uses: a PascalCase name stating a past fact (for example ServiceStateChanged), unique across the schema registry and owned by one domain. The CloudEvents type attribute is his.<domain>.<EventName>, with the lowercase domain code (for example his.ise.ServiceStateChanged, his.anc.FulfilmentOrderAccepted). The major schema version is carried in schema_version, not in the name.
| Event ID | Event Name | Producer | Consumers | Trigger |
|---|---|---|---|---|
| EVT-ISE-001 | InterfaceMessageQuarantined | MOD-ISE-003 | Integration operations; owning domain | A message fails validation or routing |
| EVT-ISE-002 | InterfaceMessageDeadLettered | MOD-ISE-003, MOD-ISE-004 | Integration operations; owning domain | Delivery attempts exhausted |
| EVT-ISE-003 | ReconciliationExceptionRaised | MOD-ISE-003 | Owning domains (1, 3, 4, 5); integration operations | Reconciliation finds an unmatched or stale item |
| EVT-ISE-004 | InterfaceStatusChanged | MOD-ISE-003 | Owning domains; Domain 8 | Interface lifecycle transition or partner availability change |
| EVT-ISE-005 | CertificateExpiring | MOD-ISE-006 | Security engineering; interface owners | Certificate enters warning window |
| EVT-ISE-006 | CredentialRotatedOrRevoked | MOD-ISE-006 | Dependent workloads; security monitoring | Rotation or revocation completed |
| EVT-ISE-007 | ReleaseDeployed | MOD-ISE-005 | All domain teams; Domain 10 notification; Domain 8 | Release deployed, rolled back or forward-fixed in an environment |
| EVT-ISE-008 | ServiceStateChanged | MOD-ISE-008 | All domains (to display degraded state); service desk; Domain 8 | A service becomes Degraded, Unavailable or Normal |
| EVT-ISE-009 | BackupCompleted | MOD-ISE-009 | Operations | Backup finished (success or failure) |
| EVT-ISE-010 | RestoreTestCompleted | MOD-ISE-009 | Operations; governance | Restore test finished |
| EVT-ISE-011 | FailoverCompleted | MOD-ISE-009 | All domains; operations | Failover or failback finished |
| EVT-ISE-012 | EnvironmentDriftDetected | MOD-ISE-001 | Platform engineering | Actual state differs from definition |
| EVT-ISE-013 | SecurityAlertRaised | MOD-ISE-008 | Security operations; Domain 10 (where privacy review is needed) | Detection rule or anomaly match |
| EVT-ISE-014 | EdgeSyncConflictDetected | MOD-ISE-004 | Owning domain (3 or 4) | Offline action conflicts at synchronization |
| EVT-ISE-015 | ContractLifecycleChanged | MOD-ISE-002 | Registered consumers | Contract version published, deprecated or retired |
| EVT-ISE-016 | VulnerabilityOverdue | MOD-ISE-010 | Security office; release authority | Finding passes its due date |
| EVT-ISE-017 | DowntimeDeclared / DowntimeEnded | MOD-ISE-009 | All domains; Domain 8 | Downtime window opened or closed |
| EVT-ISE-018 | EventReplayExecuted | MOD-ISE-003, MOD-ISE-004 | Owning domain; audit | Operator replay completed |
For the important events:
EVT-ISE-003 ReconciliationExceptionRaised - Purpose: tell the owning domain that a business transaction and its messages do not match, so that no order, result or charge is silently lost. - Schema and version: standard envelope; payload version 1 (proposed) with interface identifier, exception classification, business identifiers, age and transaction reference. - Required identifiers: interface identifier; transaction identifier; business identifiers with assigning authority. - Timestamp and correlation: detected-at time in UTC; correlation identifier of the original transaction. - Delivery and ordering: at-least-once; ordered per business identifier. - Retry and dead-letter: bounded retry; dead-letter monitored at Tier 1 priority, because a lost exception event would defeat the control. - Duplicate detection: event identifier; consumers treat repeated exceptions for the same transaction and classification as one. - Retention and replay: retained at least until the exception is closed; replayable to rebuild a domain worklist.
EVT-ISE-008 ServiceStateChanged - Purpose: let domain user interfaces show a visible degraded state and let operations and downtime command act. - Schema and version: standard envelope; payload with service identifier, tier, facility scope, previous and new state, and expected impact. - Required identifiers: service identifier; facility. - Timestamp and correlation: state change time in UTC; incident reference where one exists. - Delivery and ordering: at-least-once; ordered per service; delivery must not depend on the degraded service itself. - Retry and dead-letter: bounded retry; consumers also poll the service state board as a fallback. - Duplicate detection: event identifier; state is idempotent. - Retention and replay: retained for availability reporting.
EVT-ISE-014 EdgeSyncConflictDetected - Purpose: place an offline action that could not be applied on the owning domain's reconciliation worklist. - Schema and version: standard envelope; payload with client action identifier, action type, user, device, device time, cache version and conflict reason; clinical content by reference. - Required identifiers: client action identifier; patient and encounter references supplied by the owning domain contract. - Timestamp and correlation: detection time; correlation identifier of the synchronization request. - Delivery and ordering: at-least-once; ordered per patient. - Retry and dead-letter: as Tier 1. - Duplicate detection: client action identifier. - Retention and replay: until resolved or exceptioned, then per retention policy.
EVT-ISE-017 DowntimeDeclared / DowntimeEnded - Purpose: mark the downtime window so that owning domains attribute back-entered records and Domain 8 excludes or annotates affected measures. - Schema and version: standard envelope; payload with downtime identifier, type, services, facilities, start and end. - Required identifiers: downtime identifier. - Timestamp and correlation: declared and ended times in UTC; incident reference. - Delivery and ordering: at-least-once; declared precedes ended for the same identifier. - Retry and dead-letter: bounded retry; because the backbone may itself be affected, the event is published on recovery if it could not be published at declaration. - Duplicate detection: downtime identifier plus event type. - Retention and replay: retained with the downtime record.
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-ANC-019 | OrderResultReconciliationReported | D04-ANC | Reconciliation run | – |
| EVT-ANC-031 | DeviceDataFaultDetected | D04-ANC | Feed loss, drift, unmapped metric, held data | – |
| EVT-HIM-008 | LegalHoldApplied | D06-HIM | Hold created or scope changed | – |
| EVT-HIM-009 | LegalHoldReleased | D06-HIM | Hold released | – |
| EVT-ESS-001 | IdentityChanged | D10-ESS | Account, service identity or role assignment created, changed, suspended, revoked | – |
| EVT-ESS-002 | ConsentChanged | D10-ESS | Directive activated, superseded, expired, withdrawn, entered in error | – |
| EVT-ESS-003 | PolicyUpdated | D10-ESS | Policy or label taxonomy version activated or rolled back | – |
| EVT-ESS-004 | EmergencyAccessInvoked | D10-ESS | Session created | – |
| EVT-ESS-006 | TerminologyPublished | D10-ESS | Code system, value set or concept map version effective | – |
| EVT-ESS-007 | MasterDataChanged | D10-ESS | Master-data or registry entity version published or retired | – |
| EVT-ESS-008 | AuditEventRecorded | D10-ESS | Audit event of a subscribed class stored | – |
| EVT-ESS-009 | NotificationStatusChanged | D10-ESS | Delivered, failed, acknowledged, escalated, exhausted, closed, cancelled | When this domain is the requesting domain |
| EVT-ESS-010 | TaskStateChanged | D10-ESS | Task assigned, overdue, escalated, completed, cancelled, failed | When this domain is the owning domain |
| EVT-ESS-011 | ConfigurationChanged | D10-ESS | Configuration version activated or rolled back | When this domain is the owning domain |
| EVT-ESS-012 | StewardshipItemRaised / StewardshipItemResolved | D10-ESS | Item created or closed | When this domain is the reporting domain |
| EVT-ESS-014 | WorkflowInstanceStateChanged | D10-ESS | Instance accepted, completed, failed, cancelled, compensated | When this domain is the owning domain |
8.6 Integration Failure and Recovery¶
- Timeout handling. Every synchronous call has a timeout defined in its registration or route. A timed-out call is not assumed to have failed at the target: state-changing calls carry an idempotency key so that a retry cannot duplicate the effect.
- Retry policy. Retries are bounded, use increasing backoff and are defined per interface (CFG-ISE-003). Retries never bypass validation.
- Circuit breaker behaviour. Repeated failures open a circuit for the target; synchronous callers fail fast and asynchronous messages queue. Circuits close after successful probes. Bulkheads and quotas stop one failing dependency from exhausting capacity needed by Tier 1 services.
- Back-pressure. When a consumer or partner is slow, the backlog accumulates in durable storage; producers are not blocked; queue age alerts fire before retention is at risk.
- Reconciliation. Scheduled and post-outage reconciliation compares messages with business transactions and raises exceptions (FR-ISE-INT-006). An order is complete only when the receiving worklist has acknowledged acceptance and the fulfilment lifecycle has reached an approved terminal state in the owning domain (REF-003 section 5.3).
- Manual recovery. Operators work quarantine and dead-letter lists, correct causes and replay under control (WF-ISE-003). Replay is never blind into medication, billing or identity workflows.
- Data consistency after failure. Consistency across domains is eventual and explicit: transactional outbox on the producer, inbox deduplication on the consumer, orchestrated workflows with compensation where a business process spans domains (owned by the domains and the Domain 10 workflow capability). After failover or restoration, integrity is validated before traffic is admitted, queues are drained in order and reconciliation confirms completeness.
← 7. Domain Data Requirements | Contents | Identifier index | 9. Security, Privacy, and Compliance Requirements →