Domain specifications / D01-ADM / 8. Integration and Interoperability Requirements
8. Integration and Interoperability Requirements¶
8.1 Integration Overview¶
Domain 1 publishes patient, encounter, ADT, bed, appointment and queue context to Domains 3, 4, 5, 6, 7, 8 and 9 and uses shared services from Domain 10 and transport from Domain 2 (REF-002, section 4). Synchronous APIs are used for immediate decisions (patient resolution, encounter validation, bed reservation, slot booking). Durable, versioned events are used for state propagation (REF-002, section 6). Within Domain 1, business state and the outgoing event are committed together through a transactional outbox, and consumers deduplicate through an inbox (REF-003, 5.3).
All external integrations pass through the governed integration layer of Domain 2; Domain 1 has no point-to-point external connections (PRS 9.1). Domain 1 defines the business content and semantics of its interfaces and events. Domain 2 provides gateways, HL7 v2, FHIR and IHE adapters, the event backbone, retry, dead-letter handling, replay and partner onboarding. The supported administrative standards are FHIR Patient, Encounter, Location, Practitioner and Appointment profiles, HL7 v2 ADT event families, and applicable IHE PAM, PIX / PIXm and PDQ / PDQm transactions, in versions selected in the interoperability profile (PRS 21.3). National identity and exchange requirements are supplied through the country profile (PRS 9.4).
8.2 Internal Integration Catalogue¶
"Internal" covers integrations between Domain 1 modules and with other HIS domains.
| Integration ID | Source Module | Target Module | Purpose | Pattern |
|---|---|---|---|---|
| INT-ADM-001 | MOD-ADM-002 | MOD-ADM-001 | Submit new or changed identity data for matching | API |
| INT-ADM-002 | MOD-ADM-001 | Domain 10 workflow and task capability | Create and manage stewardship work items | API |
| INT-ADM-003 | MOD-ADM-001, MOD-ADM-003 | Domains 3, 4, 5, 6, 7, 8, 9 | Patient resolution; identity, merge and unmerge events | API / Event |
| INT-ADM-004 | MOD-ADM-004 | Domains 3, 4, 5, 9 | Encounter context query and validation | API |
| INT-ADM-005 | MOD-ADM-005, MOD-ADM-009 | Domains 3, 4, 5, 6, 7, 8, 9 | ADT, transfer and responsibility events | Event |
| INT-ADM-006 | MOD-ADM-005, MOD-ADM-009 | MOD-ADM-006 | Occupy and vacate beds within ADT and transfer transactions | API (same transaction boundary) |
| INT-ADM-007 | MOD-ADM-007 | MOD-ADM-004, MOD-ADM-008 | Check-in opens encounter and queue item | API |
| INT-ADM-008 | Domain 3 | MOD-ADM-008 | Triage category; consultation status for flow boards | Event / API |
| INT-ADM-009 | Domain 4 | MOD-ADM-008, MOD-ADM-007 | Diagnostic status for flow boards; slot and calendar use | Event / API |
| INT-ADM-010 | MOD-ADM-010 | Domain 5 | Payer capture and eligibility request; coverage reference returned | API / Event |
| INT-ADM-011 | MOD-ADM-010 | Domain 10 consent service | Consent capture and directive reference | API |
| INT-ADM-012 | Domains 3, 5, 6 | MOD-ADM-005 | Closure-relevant status for encounter closure, through the events listed in closure and flow-board inputs | Event |
| INT-ADM-013 | Domain 7 | MOD-ADM-007, MOD-ADM-002 | Appointment requests; demographic correction requests | API |
| INT-ADM-014 | MOD-ADM-007, MOD-ADM-009, MOD-ADM-001 | Domain 10 notification service | Reminders, transfer notifications, escalations | API |
| INT-ADM-015 | All modules | Domain 10 audit, authorization, terminology, registries | Audit events; policy decisions; value sets; reference data | API / Event |
| INT-ADM-016 | All modules | Domain 8 data platform | Operational events and governed extracts; daily control totals (EVT-ADM-027) | Event / Batch |
8.3 External Integration Catalogue¶
| Integration ID | External System | Direction | Purpose | Standard / Protocol |
|---|---|---|---|---|
| EXT-ADM-001 | Departmental and partner systems requiring ADT (for example external LIS, RIS / PACS, other facility systems) | Outbound; inbound where a partner is an ADT source | Registration, admit, transfer, discharge, demographic update, merge | HL7 v2 ADT (A01, A02, A03, A08, A40 or agreed equivalents); IHE PAM where selected |
| EXT-ADM-002 | Systems needing identifier cross-reference | Bidirectional | Resolve identifiers across assigning authorities | IHE PIX / PIXm |
| EXT-ADM-003 | Systems needing demographics | Inbound queries | Patient demographics query | IHE PDQ / PDQm; FHIR Patient search |
| EXT-ADM-004 | API consumers and partner applications | Bidirectional | Patient, Encounter, Location, Practitioner, Appointment resources | HL7 FHIR profiles selected by governance |
| EXT-ADM-005 | Partner scheduling systems, where required | Bidirectional | Appointment notification and status | HL7 v2 SIU; FHIR Appointment |
| EXT-ADM-006 | SATUSEHAT: identity and registration | Bidirectional | Resolve patient NIK to the IHS number; register Organization and Locations; supply Encounter content to the Domain 6 national record exchange (IF-HIM-006), which owns submission | FHIR R4 through Domain 2, per the Indonesia conformance pack (DEC-ISE-010, DEC-HIM-018) |
| EXT-ADM-007 | Housekeeping or facilities system, if one is used | Bidirectional | Cleaning task and completion status. Default: none; housekeeping works in the HIS work list on a handheld (GAP-ADM-004). An external system, if used, reads open cleaning tasks and posts "Cleaning started" and "Cleaning completed" through the bed turnover transaction | Bed and location state API (IF-ADM-005), REST/JSON through Domain 2; HL7 FHIR Task where the system supports it |
| EXT-ADM-008 | SIRS RS Online (Kemenkes) | Outbound, with read-back | Bed availability by class and room type, sent when bed state changes and on schedule; this domain owns it because it owns bed state (DEC-HIM-018) | REST/JSON per the current Kemenkes RS Online bridging guide (version 3, January 2026, at the time of writing), through Domain 2 |
BPJS Kesehatan Antrean online (queue and booking) and Aplicares (bed availability) belong to this domain, because they carry its queue and bed data. They are not in the first release, because JKN is not (DEC-FIN-003), and are added to this catalogue when JKN enters scope.
8.4 Interface Specification¶
Common to all interfaces: authentication and authorization use Domain 10 identity and policy services, with scoped service identities for systems and mutual TLS for system-to-system links where appropriate (SEC-018); every call and event carries a correlation identifier; schema references are held in the API catalogue (CFG-004); monitoring uses the Domain 2 observability stack (NFR-013).
Interface IF-ADM-001: Patient identity API¶
Interface Purpose: Search, resolve, create and update persons; supply patient banner data and identity status.
Producer: MOD-ADM-001, MOD-ADM-002, MOD-ADM-003
Consumer: Domain 1 workspaces; Domains 3 to 9
Interface Type: REST API
Protocol and Standard: Versioned REST; FHIR Patient profile for exchange representation.
Authentication and Authorization: User or service token; policy decision per request including facility, role, relationship and privacy labels.
Request Structure: Search by qualified identifier or demographic parameters; resolve by enterprise person identifier; create and update commands carrying expected version and idempotency key.
Response Structure: Person with enterprise person identifier, qualified identifiers, current demographics, identity status, verification status, ambiguity flag and merge indication; candidate lists with match band.
Error Handling: Validation errors name the failing field. Version conflicts return a conflict response. Unavailability is reported as an error and never as an empty result.
Idempotency and Duplicate Handling: Create and update commands are idempotent on the idempotency key; creation always runs the duplicate check.
Monitoring and Audit: Searches and record views are audited (SEC-019). Latency, error rate and search volume per consumer are monitored.
Interface IF-ADM-002: Identifier cross-reference and demographics query¶
Interface Purpose: Resolve identifiers across assigning authorities and query demographics for internal and external systems.
Producer: MOD-ADM-003
Consumer: Domains 3 to 9; external systems through Domain 2
Interface Type: REST API / Message
Protocol and Standard: IHE PIX / PIXm and PDQ / PDQm; FHIR Patient; versions per interoperability profile.
Authentication and Authorization: Onboarded node or client with scoped authorization; purpose of use evaluated; consent-aware filtering for external consumers.
Request Structure: Source identifier with authority and type and optional target authority; or demographic parameters.
Response Structure: Qualified identifiers of the same person; or matching patients with authorized demographics; merge indication.
Error Handling: Explicit not-found; unqualified identifiers rejected; malformed messages quarantined by the integration layer with reason and replay path.
Idempotency and Duplicate Handling: Read-only; repeat queries are safe.
Monitoring and Audit: ATNA-aligned audit of each transaction; volume and enumeration-pattern monitoring.
Interface IF-ADM-003: Encounter API and context validation¶
Interface Purpose: Create and query encounters, apply state transitions and validate encounter context for downstream activity.
Producer: MOD-ADM-004
Consumer: Domain 1 workspaces; Domains 3, 4, 5, 6, 9
Interface Type: REST API
Protocol and Standard: Versioned REST; FHIR Encounter profile for exchange representation.
Authentication and Authorization: User or service token; transitions restricted by role; validation restricted to registered consuming services.
Request Structure: Encounter create and transition commands with expected version, effective time, reason and idempotency key. Validation request with CIN, patient, activity category, activity time and optional emergency context.
Response Structure: Encounter with CIN, state, location, responsibility and version. Validation decision with reason code, exception identifier, current context and policy version.
Error Handling: Invalid transitions return the reason code. A timeout is an error, never a "valid" decision.
Idempotency and Duplicate Handling: Commands idempotent on the idempotency key; optimistic concurrency on version.
Monitoring and Audit: Transitions, rejected transitions, not-valid decisions and emergency exceptions are audited. Validation latency is monitored against NFR-002.
Interface IF-ADM-004: ADT event and message publication¶
Interface Purpose: Publish ADT, identity and responsibility changes to internal consumers and external systems.
Producer: MOD-ADM-005, MOD-ADM-009, MOD-ADM-001, MOD-ADM-004
Consumer: Domains 3 to 9; external systems through Domain 2 adapters
Interface Type: Event / Message
Protocol and Standard: Versioned domain events on the Domain 2 event backbone; HL7 v2 ADT A01, A02, A03, A08, A40 or agreed equivalents; IHE PAM where selected; FHIR Encounter and Patient through the facade.
Authentication and Authorization: Per-consumer subscription authorization; authenticated encrypted transport for HL7 v2 (MLLP is not itself an encryption mechanism; REF-003, 7.2).
Request Structure: Event envelope: event identifier, event type, schema version, aggregate identifier (CIN or enterprise person identifier), facility, per-aggregate sequence, occurred time, recorded time, producer, correlation and causation identifiers, actor and purpose context, payload (REF-003, 5.2). HL7 v2: PID-3 with assigning authority and identifier type; PV1 with valid visit identifier, location and team; validated MSH-9, MSH-10 and MSH-12 (PRS 9.2; REF-003, 7.2).
Response Structure: Consumer acknowledgement recorded through the inbox mechanism; HL7 v2 ACK or NACK.
Error Handling: At-least-once delivery with bounded retry and dead-letter handling in Domain 2; NACK and overdue acknowledgements surface on the Domain 1 reconciliation worklist.
Idempotency and Duplicate Handling: Consumers deduplicate on event identifier; per-aggregate sequence allows gap detection; replay re-sends original events.
Monitoring and Audit: Volume, latency, ACK and NACK rates, queue age and unacknowledged counts per consumer; replay and manual reconciliation actions audited.
Interface IF-ADM-005: Bed and location state API¶
Interface Purpose: Query bed state and census; reserve, release and change bed state.
Producer: MOD-ADM-006
Consumer: Domain 1 workspaces; Domains 3, 4, 8 (read); housekeeping system if used
Interface Type: REST API / Event
Protocol and Standard: Versioned REST; FHIR Location profile for exchange representation.
Authentication and Authorization: Role and unit based; override privilege separate.
Request Structure: Bed search with requirements; reserve, release and state-change commands with encounter, reason, effective time and idempotency key.
Response Structure: Bed list with state, eligibility and unmet soft constraints; reservation with expiry; census by unit.
Error Handling: Conflict response on concurrent reservation; rejection with current state when a hard rule fails.
Idempotency and Duplicate Handling: Commands idempotent on the idempotency key; reservation is atomic per bed.
Monitoring and Audit: Manual state changes and overrides audited; conflict rate, reservation expiry count and turnover duration monitored.
Interface IF-ADM-006: Scheduling API¶
Interface Purpose: Query slots; book, reschedule and cancel appointments; manage waitlist entries.
Producer: MOD-ADM-007
Consumer: Domain 1 workspaces; Domain 7 (patient requests); Domain 4 (diagnostic and procedure booking); external scheduling partners through Domain 2
Interface Type: REST API / Message
Protocol and Standard: Versioned REST; FHIR Appointment profile; HL7 v2 SIU where a partner requires it.
Authentication and Authorization: Staff by role and clinic; Domain 7 on behalf of an authenticated patient or valid representative, limited to that patient.
Request Structure: Slot search by service, period, resource and patient; booking command with slot, referral, channel and idempotency key; reschedule and cancel commands with reason.
Response Structure: Slots or unmet-dependency explanation; appointment with status and history.
Error Handling: Slot-taken conflict with alternatives; template rule failures identified.
Idempotency and Duplicate Handling: Booking idempotent on the idempotency key; multi-resource reservation is all-or-nothing.
Monitoring and Audit: Booking, change and cancellation audited with channel; booking failure rate and reminder delivery status monitored.
Interface IF-ADM-007: Queue and flow read model¶
Interface Purpose: Provide queue state and the flow-state projection to boards and to consuming domains.
Producer: MOD-ADM-008
Consumer: Domain 1 boards; Domain 3 workspaces; Domain 8
Interface Type: REST API / Event
Protocol and Standard: Versioned REST query and event feed.
Authentication and Authorization: Unit and role based; patient detail subject to care relationship and privacy labels.
Request Structure: Query by unit, queue or encounter.
Response Structure: Rows with encounter, identity display attributes, state, time in state, location, indicators, and projection last-updated time.
Error Handling: Stale data is flagged, not hidden; unavailable source feeds are indicated per column.
Idempotency and Duplicate Handling: Projection applies events idempotently and in per-encounter sequence; it can be rebuilt by replay.
Monitoring and Audit: Projection lag monitored; patient-detail access audited.
8.5 Event Requirements¶
Event names follow REF-003 section 4.2 where it names them; the others are defined by this document.
| Event ID | Event Name | Producer | Consumers | Trigger |
|---|---|---|---|---|
| EVT-ADM-001 | PatientResolved | MOD-ADM-001 | Requesting domains | A search or cross-reference resolves a person for a workflow |
| EVT-ADM-002 | IdentityUpdated | MOD-ADM-002, MOD-ADM-003 | 3, 4, 5, 6, 7, 8, 9; external (A08) | Demographic or identifier change |
| EVT-ADM-003 | DuplicateReviewRequested | MOD-ADM-001 | Stewardship workqueue; 8 | Review-band or flagged match; reported duplicate |
| EVT-ADM-004 | IdentityReviewResolved | MOD-ADM-001 | 8 | Steward resolves a work item |
| EVT-ADM-005 | PatientMerged | MOD-ADM-001 | 3, 4, 5, 6, 7, 8, 9; external (A40) | Merge committed |
| EVT-ADM-006 | PatientUnmerged | MOD-ADM-001 | 3, 4, 5, 6, 7, 8, 9; external | Unmerge committed |
| EVT-ADM-007 | PatientRegistered | MOD-ADM-002 | 3, 5, 6, 7, 8 | Person registered at a facility |
| EVT-ADM-008 | EncounterOpened | MOD-ADM-004 | 3, 4, 5, 6, 7, 8, 9 | Encounter created |
| EVT-ADM-009 | PatientAdmitted | MOD-ADM-005 | 3, 4, 5, 6, 8, 9; external (A01) | Admission confirmed |
| EVT-ADM-010 | PatientTransferred | MOD-ADM-009 | 3, 4, 5, 8, 9; external (A02) | Transfer completed |
| EVT-ADM-011 | PatientDischarged | MOD-ADM-005 | 3, 4, 5, 6, 7, 8, 9; external (A03) | Discharge recorded |
| EVT-ADM-012 | PatientLeaveStarted | MOD-ADM-005 | 3, 5, 8; external | Leave recorded |
| EVT-ADM-013 | PatientReturnedFromLeave | MOD-ADM-005 | 3, 5, 8; external | Return recorded |
| EVT-ADM-014 | EncounterClosed | MOD-ADM-005 | 5, 6, 8 | Closure criteria met or waived |
| EVT-ADM-015 | EncounterCancelled | MOD-ADM-004 | 3, 4, 5, 6, 7, 8, 9; external | Encounter cancelled |
| EVT-ADM-016 | BedStateChanged | MOD-ADM-006 | 3, 4, 5, 8 | Any bed state change |
| EVT-ADM-017 | BedReserved | MOD-ADM-006 | 3, 8 | Reservation created |
| EVT-ADM-018 | ResourceReleased | MOD-ADM-006, MOD-ADM-007 | 4, 8 | Bed reservation or scheduled resource released |
| EVT-ADM-019 | AppointmentBooked | MOD-ADM-007 | 3, 4, 7, 8 | Appointment created |
| EVT-ADM-020 | AppointmentChanged | MOD-ADM-007 | 3, 4, 7, 8 | Rescheduled, cancelled or no-show |
| EVT-ADM-021 | AppointmentArrived | MOD-ADM-007 | 3, 4, 7, 8 | Check-in |
| EVT-ADM-022 | WaitlistEntryChanged | MOD-ADM-007 | 7, 8 | Entry created, priority changed, offered or closed |
| EVT-ADM-023 | QueueStateChanged | MOD-ADM-008 | 3, 4, 8 | Queue item state or priority change |
| EVT-ADM-024 | TransferHandoverAcknowledged | MOD-ADM-009 | 3, 8 | Published by Domain 1 when it receives ClinicalHandoverAcknowledged (EVT-CLI-011) for a transfer; the acknowledgement is made by the named receiver in Domain 3 |
| EVT-ADM-025 | ResponsibilityChanged | MOD-ADM-009 | 3, 8, 9, 10 | Responsible unit, team or attending practitioner changes |
| EVT-ADM-026 | EncounterCorrected | MOD-ADM-004 | 3, 4, 5, 6, 7, 8, 9; external | Compensating correction of an encounter attribute or transition |
| EVT-ADM-027 | PatientAdministrationControlTotalsReported | MOD-ADM-005 | 8 | Daily control totals for the previous local day (by 01:00 local); re-sent with a higher version on correction |
The following apply to every event above.
- Purpose. To propagate an authoritative Domain 1 state change; events are facts, not requests.
- Schema and version. Each event type has a registered, versioned schema validated at publication (INF-002). Schema evolution is backward-compatible within a major version, with compatibility and rollback plans (SDLC-006).
- Required identifiers. Event identifier; enterprise person identifier; CIN where the event concerns an encounter; qualified facility identifier; identifiers of the bed, appointment, queue item or transfer concerned. Identifiers carry their assigning authority.
- Timestamps and correlation. Occurred (effective) time and recorded time in UTC (DAT-004, NFR-018); correlation and causation identifiers; actor and purpose context.
- Delivery and ordering. At-least-once delivery. Order is preserved per encounter for encounter, ADT, transfer and queue events, per person for identity events and per bed for bed events (INF-003). Proposed baseline for critical ADT events: p95 end-to-end propagation under 5 seconds within the enterprise network (NFR-003).
- Retry and dead-letter. Bounded retry with backoff and dead-letter or quarantine handling by Domain 2 (INT-004). Dead-lettered Domain 1 events appear on the reconciliation worklist.
- Duplicate detection and idempotency. Consumers deduplicate on event identifier. Duplicate delivery may occur; duplicate business effects must not (REF-002, section 6).
- Retention and replay. Events stay on the broker topics for 7 days and in the domain event archive for 2 years, for controlled replay, reconciliation and projection rebuild; interface message payloads are kept 30 days and their metadata 2 years (enterprise retention baseline; GAP-ADM-003). A projection older than the archive is rebuilt from the current state query. Replay into identity workflows is never performed blindly (REF-003, 12.3).
Daily control totals. Set 17 Nov 2026. PatientAdministrationControlTotalsReported (EVT-ADM-027) lets Domain 8 reconcile what it received from Domain 1 (control-total contracts). It is a summary, so it carries no patient, encounter, bed, appointment or queue identifiers and is not ordered per encounter or person; it is ordered per facility and business date.
- Payload. Producing domain (Domain 1); facility; business date (local calendar day); cutoff time in UTC; and one line per Domain 1 event type that Domain 8 consumes (EVT-ADM-002 to EVT-ADM-026, for example EncounterOpened, PatientAdmitted, PatientTransferred, PatientDischarged, AppointmentArrived, QueueStateChanged, PatientMerged), with its schema version and the count of events published with an event time in the window. No amounts.
- Timing. Published by 01:00 local time for the previous local day. When Domain 1 publishes or replays events for a day already reported, it publishes the totals of that day again with a higher version, and Domain 8 re-runs its comparison.
- Source of the counts. The counts are taken from the Domain 1 outbox of published events, not recomputed from current state, so that a later correction does not change the count of the day the original event was published.
Closure and flow-board inputs. Closed 17 Nov 2026 (GAP-ADM-008). Encounter closure (FR-ADM-ADT-003) and the flow boards (FR-ADM-FLW-002) use only events that already exist in the catalogue. Every event is correlated by the CIN it carries. Criteria that Domain 1 records itself (disposition, discharge decision, triage category, bed released, consultation start as queue state In service) need no external event.
| Use | Event | Producer | What Domain 1 takes from it |
|---|---|---|---|
| Closure: diagnosis recorded | EVT-CLI-001 ClinicalEntryCreated | D03-CLI | An entry of type diagnosis for the encounter |
| Closure: note or discharge summary signed | EVT-CLI-002 ClinicalEntrySigned; EVT-CLI-003 ClinicalEntryAmended | D03-CLI | Document type (outpatient note, emergency note, discharge summary, death documentation) signed; marked entered in error makes the criterion unmet again |
| Closure: medication reconciliation | EVT-CLI-024 MedicationReconciliationCompleted | D03-CLI | Discharge reconciliation signed |
| Closure and boards: open orders | EVT-CLI-012 OrderPlaced; EVT-CLI-014 OrderCancelled; EVT-CLI-015 OrderDiscontinued; EVT-CLI-016 OrderCompleted | D03-CLI | Count of open orders per encounter; a laboratory, imaging or procedure order moves the emergency flow state to Diagnostics, and the last one closed moves it back to In consultation |
| Boards: diagnostic progress | EVT-ANC-002 FulfilmentOrderStatusChanged; EVT-ANC-009 ImagingAcquisitionStatusChanged | D04-ANC | Sub-status shown in the Diagnostics column ("Sample taken", "In imaging", "Result available") |
| Boards: theatre | EVT-ANC-023, EVT-ANC-024, EVT-ANC-021, EVT-ANC-022 | D04-ANC | Theatre case state on the ward and admissions boards |
| Closure: charges captured or final | EVT-FIN-002 InvoiceIssued | D05-FIN | The final invoice for the encounter, or for the care episode that holds it (DEC-ADM-008) |
| Closure: coding complete | EVT-HIM-005 CodingFinalized | D06-HIM | Coding record of the encounter is Final; a later revision does not reopen closure |
| Closure: chart complete | EVT-HIM-003 ChartCompleted | D06-HIM | All HIM deficiencies of the encounter resolved |
"Pending results assigned to a named clinician" is met from Domain 1 data: PatientDischarged (EVT-ADM-011) carries the attending practitioner, to whom Domain 3 routes results that arrive after discharge. The consuming subscriptions to the D03, D04, D05 and D06 events above are recorded in those domains' section 8.5 Consumers columns; until a subscription is live, the criterion it feeds is treated as unmet (PR-ADT-003-2).
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-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-003 | ReconciliationExceptionRaised | D02-ISE | Reconciliation finds an unmatched or stale item | – |
| EVT-ISE-004 | InterfaceStatusChanged | D02-ISE | Interface lifecycle transition or partner availability change | When this domain is the owning domain |
| 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-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-CLI-001 | ClinicalEntryCreated | D03-CLI | Entry created (saved summary entity or saved document; drafts are not published); carries the CIN and the entry type (for example diagnosis) | – |
| EVT-CLI-002 | ClinicalEntrySigned | D03-CLI | Document signed or co-signed; carries the CIN and the document type (outpatient note, emergency note, discharge summary, death documentation and others) | – |
| EVT-CLI-003 | ClinicalEntryAmended | D03-CLI | Amendment, new version or entered in error; carries the CIN, entry type and document type | – |
| EVT-CLI-007 | ReferralStatusChanged | D03-CLI | Referral, internal or external, requested, accepted, declined, completed, cancelled | – |
| EVT-CLI-011 | ClinicalHandoverAcknowledged | D03-CLI | Clinician-to-clinician handover acknowledged by the named receiver, or on the receiver's behalf by the charge nurse. The single acknowledgement event for every handover; for a transfer, Domain 1 publishes EVT-ADM-024 when it receives it | – |
| EVT-CLI-012 | OrderPlaced | D03-CLI | Order signed and released | – |
| EVT-CLI-014 | OrderCancelled | D03-CLI | Order cancelled | – |
| EVT-CLI-015 | OrderDiscontinued | D03-CLI | Order discontinued or held / released | – |
| EVT-CLI-016 | OrderCompleted | D03-CLI | Terminal fulfilment state reached | – |
| EVT-CLI-024 | MedicationReconciliationCompleted | D03-CLI | Reconciliation signed | – |
| EVT-ANC-002 | FulfilmentOrderStatusChanged (including Rejected, Cancelled, Completed) | D04-ANC | Any fulfilment state transition | – |
| EVT-ANC-008 | StudyScheduled | D04-ANC | Imaging procedure scheduled | – |
| EVT-ANC-009 | ImagingAcquisitionStatusChanged | D04-ANC | Acquisition started, completed, discontinued | – |
| EVT-ANC-021 | ProcedureStarted | D04-ANC | Procedure start or incision | – |
| EVT-ANC-022 | ProcedureCompleted | D04-ANC | Procedure completed: for theatre, when the operative record is signed | – |
| EVT-ANC-023 | TheatreCaseScheduled | D04-ANC | Case scheduled or rescheduled | – |
| EVT-ANC-024 | TheatreCaseStatusChanged | D04-ANC | Ready, in theatre, time-out complete, in recovery, cancelled | – |
| EVT-ANC-026 | PostoperativeHandoffAcknowledged | D04-ANC | Follows EVT-CLI-011 for the postoperative handover and marks the theatre case Completed. It is not a second acknowledgement; Domain 1 takes the transfer acknowledgement from EVT-CLI-011 | – |
| EVT-FIN-002 | InvoiceIssued | D05-FIN | Invoice issued | – |
| EVT-FIN-011 | CoverageVerified (proposed) | D05-FIN | Verification status changes | – |
| EVT-HIM-003 | ChartCompleted | D06-HIM | Chart status becomes Complete | – |
| EVT-HIM-005 | CodingFinalized | D06-HIM | Coding record version becomes Final | – |
| EVT-HIM-008 | LegalHoldApplied | D06-HIM | Hold created or scope changed | – |
| EVT-HIM-009 | LegalHoldReleased | D06-HIM | Hold released | – |
| EVT-PEX-001 | PortalAccessGranted | D07-PEX | Account link becomes Active | – |
| EVT-PEX-009 | FormResponseSubmitted | D07-PEX | Form response submitted | – |
| 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-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-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. Synchronous calls to Domain 1 return an explicit error on timeout; callers never infer success. Calls from Domain 1 to non-critical services (notification, payer verification, consent capture in non-mandatory contexts) time out without blocking the Domain 1 transaction; the deferred work is queued.
- Retry policy. Commands are idempotent, so callers may retry safely. Event delivery retry is provided by Domain 2 with backoff.
- Circuit breaker behaviour. Calls to dependent services are isolated so that a failing dependency does not exhaust Domain 1 capacity (PRS 8.2). When the terminology service is unavailable, the last cached value-set version is used and records are marked for re-validation. When the authorization service is unavailable, Domain 1 follows the Domain 10 fail-safe policy and does not grant access by default.
- Reconciliation. Published events and messages are reconciled against acknowledgements and business transactions (INT-005); unmatched or stale items appear on the ADT reconciliation worklist (FR-ADM-ADT-002). A scheduled job reconciles encounter location, bed occupancy and responsibility (DQ-ADM-004).
- Manual recovery. Authorized staff can request controlled replay, release quarantined inbound messages after correction, and correct transactions through compensating transitions. All such actions are audited. Quarantined inbound ADT messages are reviewed and released on the Domain 2 integration operations console (UI-ISE-001); the ADT reconciliation worklist is on UI-ADM-010.
- Data consistency after failure. No acknowledged ADT transaction may be lost (NFR-005). After recovery, the outbox is drained in order, consumers resynchronize from events or the current-state query, and projections are rebuilt. Downtime entries are reconciled with duplicate prevention and provenance (BCP-006).
← 7. Domain Data Requirements | Contents | Identifier index | 9. Security, Privacy, and Compliance Requirements →