Domain specifications / D04-ANC / 8. Integration and Interoperability Requirements
8. Integration and Interoperability Requirements¶
8.1 Integration Overview¶
This domain sits between the clinical record and a large population of departmental systems, instruments, modalities, archives and bedside devices. Three rules apply. All external connections pass through the Domain 2 (ISE) integration fabric; this domain defines the business contracts and Domain 2 provides transport, adapters, queues, replay and monitoring (PRS 9.1, INT-001). Inside the HIS, commands and immediate queries use versioned APIs, and state changes are published as durable, versioned events through a transactional outbox (INF-001 to INF-003; REF-003 5.3). Each subsystem may be native or an integrated departmental system; in both cases the contracts in this section are the boundary, so the choice can change without affecting other domains (PRS 28.1).
8.2 Internal Integration Catalogue¶
| Integration ID | Source Module | Target Module | Purpose | Pattern |
|---|---|---|---|---|
| INT-ANC-001 | Domain 3 order service | MOD-ANC-001, 003, 005, 006, 008, 012 | Routed orders, changes and cancellations | Event / message with acknowledgement |
| INT-ANC-002 | All fulfilment modules | Domain 3 order service | Acceptance, progress, completion, exceptions | Event |
| INT-ANC-003 | MOD-ANC-007 | Domain 3 clinical record | Published result versions and reports | Event + API |
| INT-ANC-004 | MOD-ANC-007 | Domain 10 notification and workflow services | Critical-result notification, timers, escalation | API |
| INT-ANC-005 | Domain 1 | All modules | Patient, encounter, ADT, merge and location events; patient lookup | Event + API |
| INT-ANC-006 | MOD-ANC-003, 008, 009, 012 | Domain 1 scheduling | Slot booking and resource availability | API |
| INT-ANC-007 | All modules | Domain 5 charge capture | Chargeable activity events | Event (asynchronous, non-blocking) |
| INT-ANC-008 | MOD-ANC-006, MOD-ANC-010, MOD-ANC-001 | Domain 5 inventory | Unit, implant and consumable consumption; stock availability query | Event + API |
| INT-ANC-009 | MOD-ANC-003, 005, 008, 010 | Domain 10 document service (for Domain 6) | Registration of signed reports and records. DICOM objects are registered as references into the imaging archive of MOD-ANC-004, never stored in the document service (FR-ESS-DOC-001 part 6.9) | API |
| INT-ANC-010 | All modules | Domain 10 audit service | Audit events | Event |
| INT-ANC-011 | All modules | Domain 10 terminology, master data, authorization | Code validation, catalogue, policy decisions; clinical privilege check for the named performer of theatre and interventional procedures (IF-ESS-007) | API |
| INT-ANC-012 | All modules | Domain 8 data platform | Operational events for KPIs and dashboards; daily control totals (EVT-ANC-032) | Event |
| INT-ANC-013 | Domain 9 pathway runtime | MOD-ANC-007, 008, 011 | Read validated diagnostic facts; coordinate pathway tasks; report completion | API + event |
| INT-ANC-014 | MOD-ANC-010, MOD-ANC-011 | Domain 3 medication administration service | Record and read medication administrations in theatre and ICU | API |
| INT-ANC-015 | MOD-ANC-013 | Domain 3 observation service | Deliver validated ward device observations | Event + API |
| INT-ANC-016 | MOD-ANC-004, MOD-ANC-007 | Domain 7 (through Domain 3 and Domain 6 release policy) | Approved results and image references for patients | API (governed projection) |
8.3 External Integration Catalogue¶
| Integration ID | External System | Direction | Purpose | Standard / Protocol |
|---|---|---|---|---|
| EXT-ANC-001 | Laboratory analyzers | Bidirectional | Worklists and results | Instrument protocols through Domain 2 adapters; HL7 v2 where supported |
| EXT-ANC-002 | Departmental or external LIS / referral laboratory | Bidirectional | Orders, specimen status, results, corrections | HL7 v2 ORM/ORU or FHIR ServiceRequest, Specimen, Observation, DiagnosticReport per profile |
| EXT-ANC-003 | Imaging modalities | Bidirectional | Modality worklist, performed procedure status, image storage | DICOM; IHE SWF / SWF.b |
| EXT-ANC-004 | PACS / VNA (where integrated) | Bidirectional | Storage, query, retrieve, web access | DICOM services; WADO-RS |
| EXT-ANC-005 | Departmental RIS (where integrated) | Bidirectional | Orders, scheduling, reports | HL7 v2 ORM/ORU/SIU/MDM or FHIR |
| EXT-ANC-006 | Speech dictation system | Bidirectional | Report text | Vendor-neutral API through Domain 2 |
| EXT-ANC-007 | External imaging provider / exchange | Bidirectional | Cross-enterprise study and report exchange | IHE XDS-I.b where selected |
| EXT-ANC-008 | Bedside monitors, ventilators, anesthesia machines, infusion systems | Inbound | Measurements and device context | ISO/IEEE 11073 SDC or vendor-neutral protocol through the Domain 2 device gateway |
| EXT-ANC-009 | Blood supplier (PMI blood transfusion unit, UTD) / external blood bank system | Bidirectional | Inbound: dispatch list of units (donation identification number, product code, ABO and RhD, volume, collection and expiry dates, screening status). Outbound: units returned and the final fate of each unit, for haemovigilance traceability | Release 1: the paper dispatch form that accompanies every delivery (Permenkes 91/2015) and a label scan of each unit, using ISBT 128 data identifiers or the supplier's configured label format. Where the supplier sends an electronic dispatch note with ISBT 128 data elements, it is imported and checked against the scans; returns and fates are sent the same way |
| EXT-ANC-010 | Monitored storage (blood and milk refrigerators, platelet agitators, plasma freezers) | Inbound | Current temperature of each storage location, and excursions with their start, end and peak | Continuous monitoring by the storage alarm system through Domain 2, at least every 5 minutes; an excursion outside the configured range (red cells and milk 2–6 °C, platelets 20–24 °C, plasma −25 °C or colder) is an alert to the blood bank and marks affected units or containers for review. Without an interface, staff record the temperature manually at least every 4 hours |
| EXT-ANC-011 | SATUSEHAT, through Domain 6 | Outbound | SATUSEHAT FHIR R4 content of this domain, each resource linked to the patient (IHS number), Encounter and practitioner. Laboratory: ServiceRequest (LOINC test code), Specimen (type, collection time, collector), one Observation per result (LOINC code, value with UCUM unit, reference range, interpretation) and DiagnosticReport. Microbiology: Observation per organism and per agent with interpretation. Radiology: ServiceRequest carrying the accession number as identifier; images are sent to the SATUSEHAT DICOM router, which creates the ImagingStudy by that accession number; the signed report as Observation and DiagnosticReport. Pathology: DiagnosticReport with Specimen and coded diagnosis. Procedures and operations: Procedure with ICD-9-CM code, performer and time. Final and corrected versions are sent; preliminary versions are not. Programme registries: TB results (rapid molecular test, smear, culture, drug susceptibility) for SITB and HIV results for SIHA are supplied by the same route. SIRS RL service activity counts (laboratory tests, imaging examinations, operations) are built by Domain 8 from this domain's events (EXT-ANL-002) | Submitted by the Domain 6 national record exchange (IF-HIM-006) from this domain's records through IF-ANC-010; this domain has no direct connection (DEC-HIM-018). Sent within the SATUSEHAT time limits: near real time after release or signature, at most 2 x 24 hours |
| EXT-ANC-012 | Antimicrobial resistance surveillance: hospital AMR control committee (PPRA) and national AMR surveillance | Outbound | Microbiology isolates with specimen, location, organism and susceptibility values, with a pseudonymised patient key (FR-ANC-LIS-005) | WHONET-compatible delimited file, monthly and on demand, through the Domain 2 managed file transfer |
8.4 Interface Specification¶
Interface IF-ANC-001: Order intake and fulfilment status¶
Interface Purpose: Receive routed orders, changes and cancellations and return acceptance, progress and completion.
Producer: Domain 3 order service (orders); Domain 4 fulfilment modules (status)
Consumer: Domain 4 fulfilment modules (orders); Domain 3 order service (status)
Interface Type: Event / message with business acknowledgement
Protocol and Standard: Internal versioned event contract; HL7 v2 order messages or FHIR ServiceRequest and Task per profile at external boundaries.
Authentication and Authorization: Service identities with mutual authentication; scope limited to order routing.
Request Structure: Placer order identifier, patient and encounter identifiers, item code and catalogue version, priority, indication, requester, requested time, destination, order control (new, change, cancel), correlation identifier.
Response Structure: Acceptance with filler identifier, or rejection with coded reason; subsequent status events with stage, time and actor.
Error Handling: Invalid messages are quarantined with reason and replay path. Transient failures are retried with backoff by Domain 2. Business rejections are returned, not retried.
Idempotency and Duplicate Handling: Placer order identifier plus order control and version form the idempotency key. Redelivery returns the original acknowledgement.
Monitoring and Audit: Sent, acknowledged, rejected and stale orders are reconciled (INT-005) and shown on UI-ANC-004. Acceptance and rejection are audited.
Interface IF-ANC-002: Result and report publication¶
Interface Purpose: Publish result versions and reports to the clinical record and exchange them with integrated or external laboratories and imaging providers.
Producer: MOD-ANC-007 (and integrated departmental systems inbound)
Consumer: Domain 3 clinical record; Domains 6, 8, 9; external partners through Domain 2
Interface Type: Event with retrievable payload; message at external boundaries
Protocol and Standard: Internal event contract; HL7 v2 ORU / MDM or FHIR Observation and DiagnosticReport per profile. HL7 v2 controls of REF-003 7.2 apply: qualified patient identifiers, placer and filler pairing, separate collection, analysis and receipt times, correct value types, governed codes, and preliminary, final, corrected and withdrawn status handling.
Authentication and Authorization: Service identities; consumers authorized per result privacy label.
Request Structure: Result identifier and version, superseded version, status, order identifiers, patient and encounter, code, value, unit, reference range, flags, time dimensions, performing facility, instrument, operator, validator, change reason, privacy labels.
Response Structure: Consumer acknowledgement of persistence.
Error Handling: Unacknowledged publications are retried and listed for reconciliation. Inbound results failing validation are quarantined.
Idempotency and Duplicate Handling: Result identifier plus version is the key. Older versions arriving late do not replace the active version.
Monitoring and Audit: Publication latency, unacknowledged count and quarantine count are monitored. Each publication is audited.
Interface IF-ANC-003: Analyzer interface¶
Interface Purpose: Exchange work and results with laboratory instruments.
Producer / Consumer: MOD-ANC-001 and analyzers through Domain 2 adapters.
Interface Type: Message
Protocol and Standard: Instrument-specific or standards-based laboratory protocols handled by the adapter tier; the business contract is specimen identifier, test list, result set and acknowledgements.
Authentication and Authorization: Registered instrument connection within the device network zone.
Request Structure: Query by specimen identifier, or pushed worklist with tests.
Response Structure: Results with test code, value, unit, flags, instrument identifier, operator where available and analysis time. Quality control results carry a QC sample identifier instead of an accession and go to FR-ANC-LIS-004. Microbiology instruments also send organism identifications and MIC values (FR-ANC-LIS-005).
Error Handling: Negative acknowledgement and quarantine for malformed messages; queueing during outage; manual entry procedure as fallback.
Idempotency and Duplicate Handling: Instrument, accession, test and analysis time identify a result; duplicates are discarded.
Monitoring and Audit: Connection state, queue depth and unmatched results are monitored; mapping changes are audited.
Interface IF-ANC-004: Modality worklist and procedure status¶
Interface Purpose: Provide scheduled procedure steps to modalities and receive performed status.
Producer: MOD-ANC-003
Consumer: Imaging modalities
Interface Type: DICOM service
Protocol and Standard: DICOM Modality Worklist and performed procedure step services; IHE SWF / SWF.b actor conformance as selected.
Authentication and Authorization: Node authentication of registered application entities; encrypted transport.
Request Structure: Modality query by station, date and patient.
Response Structure: Scheduled procedure steps with patient identifiers and issuer, accession number, requested procedure and Study Instance UID where pre-assigned.
Error Handling: If the worklist is unavailable the modality procedure follows the downtime procedure and the study is reconciled afterwards.
Idempotency and Duplicate Handling: Accession number and scheduled procedure step identifier are stable keys.
Monitoring and Audit: Queries and status messages are logged; unmatched studies are counted.
Interface IF-ANC-005: Dictation integration¶
Interface Purpose: Receive dictated report text into a draft report.
Producer: Dictation system; Consumer: MOD-ANC-003.
Interface Type: API
Protocol and Standard: Vendor-neutral contract defined by this domain; no proprietary dependency in the reporting workflow.
Authentication and Authorization: Service identity scoped to draft report text for the invoking radiologist's session.
Request Structure: Report draft identifier, section, text, author.
Response Structure: Acceptance with draft version.
Error Handling: Failure leaves the draft unchanged; typed entry remains available.
Idempotency and Duplicate Handling: Draft identifier plus sequence number.
Monitoring and Audit: Availability monitored; text insertion audited as draft edits.
Interface IF-ANC-006: DICOM storage, query, retrieval and web access¶
Interface Purpose: Store and serve imaging objects.
Producer: Modalities, external providers; Consumer: Archive, viewers, MOD-ANC-004.
Interface Type: DICOM services and web API
Protocol and Standard: DICOM storage, query and retrieve services; WADO-RS or other approved web access pattern (ANC-021).
Authentication and Authorization: Node authentication for DICOM associations; user authorization decision by Domain 10 at each web retrieval.
Request Structure: DICOM objects; queries by patient, accession or UID; retrieval by reference.
Response Structure: Stored-object confirmation; query matches; image data.
Error Handling: Failed storage is retried by the sender; incomplete studies are detected by series and instance counts.
Idempotency and Duplicate Handling: SOP Instance UID.
Monitoring and Audit: Store, query, retrieve and export are audited in an ATNA-aligned form; storage capacity and retrieval latency are monitored.
Interface IF-ANC-007: Consumption and stock exchange with Domain 5¶
Interface Purpose: Tell the stock ledger about blood units received into custody and about units, implants and consumables used, and read availability and lot status. A blood unit's receipt scan creates the clinical unit record here and sends Domain 5 the same unit identifier for quantity and value (DEC-ANC-005). Lot status (quarantined or recalled) is read from Domain 5 for the implant hard stop (BR-ANC-016).
Producer: MOD-ANC-006, MOD-ANC-010, MOD-ANC-001; Consumer: Domain 5 inventory and charge capture.
Interface Type: Event (consumption); API (availability query)
Protocol and Standard: Internal versioned contract.
Authentication and Authorization: Service identities.
Request Structure: Item identifier, lot or serial or unit identifier, quantity, patient, encounter, source event identifier, location, time.
Response Structure: Asynchronous posting status; availability response for queries.
Error Handling: Domain 5 outage never blocks the clinical step; events are retained and replayed; unposted events are reconciled.
Idempotency and Duplicate Handling: Source event identifier.
Monitoring and Audit: Count of emitted versus posted events; exceptions reported.
Interface IF-ANC-008: Critical-result notification¶
Interface Purpose: Request priority notification and obtain delivery status.
Producer: MOD-ANC-007; Consumer: Domain 10 notification service.
Interface Type: API with status callback or event
Protocol and Standard: Internal versioned contract.
Authentication and Authorization: Service identity; recipient resolution uses Domain 10 and Domain 1 care-team data.
Request Structure: Case identifier, level, recipient or role, priority, minimum-content message, deep link.
Response Structure: Accepted; delivery status per channel.
Error Handling: On failure or timeout the case is marked "not delivered" and stays on the critical worklist.
Idempotency and Duplicate Handling: Case identifier plus level.
Monitoring and Audit: Delivery latency and failure rate are monitored; every attempt is audited.
Interface IF-ANC-009: Device measurement intake¶
Interface Purpose: Receive measurements and device context from the device gateway.
Producer: Domain 2 device gateway; Consumer: MOD-ANC-013.
Interface Type: Event stream
Protocol and Standard: ISO/IEEE 11073 SDC or vendor-neutral device protocols terminated at the gateway; internal contract carries device identifier, metric code, value, unit, device time and device status.
Authentication and Authorization: Authenticated gateway service; device allowlist.
Request Structure: Measurement batches per device.
Response Structure: Acknowledgement of persistence.
Error Handling: Backpressure and buffering at the gateway; gaps are detected and displayed; no interpolation.
Idempotency and Duplicate Handling: Device, metric and device timestamp.
Monitoring and Audit: Feed state per device, ingestion lag and held-data counts are monitored.
Interface IF-ANC-010: Fulfilment and result query API¶
Interface Purpose: Let authorized domains read fulfilment status, results, reports, image references and procedure records.
Producer: Domain 4 modules; Consumer: Domains 3, 6, 7 (governed projection), 8 (through approved feeds only), 9.
Interface Type: REST API
Protocol and Standard: Versioned API; FHIR ServiceRequest, Task, Specimen, Observation, DiagnosticReport, ImagingStudy and Procedure representations per the selected profile.
Authentication and Authorization: Scoped tokens; policy decision per request including consent and privacy labels.
Request Structure: Query by patient, encounter, order, identifier or time range, with paging.
Response Structure: Resources with status, version, provenance and privacy labels.
Error Handling: Standard error model with correlation identifier.
Idempotency and Duplicate Handling: Read-only.
Monitoring and Audit: Each read of patient data is audited (SEC-019).
Interface IF-ANC-011: Critical-result acknowledgement¶
Interface Purpose: Record against the Domain 4 critical-result case an acknowledgement, action taken or reassignment that a recipient makes in the Domain 3 recipient work item. Domain 4 owns the critical-result record (DEC-CLI-010) and is the only publisher of CriticalResultAcknowledged (EVT-ANC-018).
Producer: Domain 3 MOD-CLI-012; Consumer: MOD-ANC-007.
Interface Type: Command API (synchronous, idempotent)
Protocol and Standard: Internal versioned contract through the Domain 2 gateway.
Authentication and Authorization: Service identity plus the acknowledging user's identity. Domain 4 accepts the acknowledgement only from an authenticated named user who is a permitted recipient in the case's escalation chain (FR-ANC-RES-003).
Request Structure: Case identifier, escalation level seen by the user, acknowledging user, time acknowledged, action taken (code and text), reassignment target where the user reassigns, idempotency key.
Response Structure: Accepted, with case state and version; or rejected with reason (not a permitted recipient, case already closed, stale level).
Error Handling: On timeout or unavailability, Domain 3 keeps the work item open, shows "Acknowledgement not delivered" and retries. The case keeps escalating in Domain 4 until the acknowledgement arrives, so a failed call can delay closure but never stops escalation.
Idempotency and Duplicate Handling: Case identifier plus idempotency key; a repeated acknowledgement returns the recorded result.
Monitoring and Audit: Undelivered acknowledgements raise an alert; time from the recipient's action to Domain 4 recording it is measured; every call is audited.
8.5 Event Requirements¶
| Event ID | Event Name | Producer | Consumers | Trigger |
|---|---|---|---|---|
| EVT-ANC-001 | FulfilmentOrderAccepted | Fulfilment modules | Domains 3, 8, 9 | Order validated and accepted |
| EVT-ANC-002 | FulfilmentOrderStatusChanged (including Rejected, Cancelled, Completed) | Fulfilment modules | Domains 1, 3, 8, 9 | Any fulfilment state transition |
| EVT-ANC-003 | SpecimenCollected | MOD-ANC-002 | Domains 3, 8 | Collection recorded |
| EVT-ANC-004 | SpecimenReceived | MOD-ANC-002 | Domains 3, 8 | Laboratory receipt |
| EVT-ANC-005 | SpecimenRejected | MOD-ANC-002 | Domains 3, 8 | Rejection at receipt |
| EVT-ANC-006 | ResultFinalized (ResultPublished; includes preliminary releases with status) | MOD-ANC-007 | Domains 3, 5, 6, 8, 9 | Result version or report released |
| EVT-ANC-007 | ResultCorrected / ResultWithdrawn | MOD-ANC-007 | Domains 3, 6, 8, 9 | Correction or withdrawal |
| EVT-ANC-008 | StudyScheduled | MOD-ANC-003 | Domains 1, 3, 8 | Imaging procedure scheduled |
| EVT-ANC-009 | ImagingAcquisitionStatusChanged | MOD-ANC-003 | Domains 1, 3, 8 | Acquisition started, completed, discontinued |
| EVT-ANC-010 | StudyAvailable | MOD-ANC-004 | MOD-ANC-003, Domain 3 | Study indexed and linked |
| EVT-ANC-011 | BloodUnitAllocated | MOD-ANC-006 | Domains 3, 8 | Compatible unit allocated |
| EVT-ANC-012 | BloodUnitIssued / BloodUnitCustodyChanged | MOD-ANC-006 | Domains 3, 5, 8 | Issue, transport, return, disposal |
| EVT-ANC-013 | TransfusionStarted / TransfusionCompleted | MOD-ANC-006 | Domains 3, 5, 8 | Administration start and end |
| EVT-ANC-014 | VerificationMismatchDetected (safety event) | MOD-ANC-002, 006, 009 | Clinical safety function, Domains 8, 10 (notification) | Blocked specimen, transfusion, milk or theatre identity check |
| EVT-ANC-015 | TransfusionReactionRecorded | MOD-ANC-006 | Blood bank, Domains 3, 8 | Reaction recorded |
| EVT-ANC-016 | HumanMilkFeedRecorded | MOD-ANC-006 | Domains 3, 8 | Verified feed |
| EVT-ANC-017 | CriticalResultOpened | MOD-ANC-007 | Domains 3, 8 | Critical case opened |
| EVT-ANC-018 | CriticalResultAcknowledged / CriticalResultEscalated / CriticalResultClosed | MOD-ANC-007 | Domains 3, 8 | Case state change. Acknowledgement from any channel: in the Domain 3 work item through IF-ANC-011, or telephone read-back recorded here. This domain is the only publisher of these names |
| EVT-ANC-019 | OrderResultReconciliationReported | MOD-ANC-007 | Domains 2, 8 | Reconciliation run |
| EVT-ANC-020 | ChargeableActivityRecorded | All modules | Domain 5, Domain 8 | Chargeable service step completed, including blood products at the configured point (issue or transfusion). The only Domain 4 event that Domain 5 charges from; it carries the identifier of the clinical event it accompanies. Implants and tracked consumables are excluded: they are charged from ImplantOrConsumableUsed through stock |
| EVT-ANC-021 | ProcedureStarted | MOD-ANC-008, MOD-ANC-010 | Domains 1, 3, 8 | Procedure start or incision |
| EVT-ANC-022 | ProcedureCompleted | MOD-ANC-008, MOD-ANC-010 | Domains 1, 3, 5, 6, 8, 9 | Procedure completed: for theatre, when the operative record is signed |
| EVT-ANC-023 | TheatreCaseScheduled | MOD-ANC-009 | Domains 1, 3, 8 | Case scheduled or rescheduled |
| EVT-ANC-024 | TheatreCaseStatusChanged | MOD-ANC-009, MOD-ANC-010 | Domains 1, 3, 8 | Ready, in theatre, time-out complete, in recovery, cancelled |
| EVT-ANC-025 | ImplantOrConsumableUsed | MOD-ANC-010, MOD-ANC-008 | Domain 5, Domain 8 | Implant or tracked consumable recorded |
| EVT-ANC-026 | PostoperativeHandoffAcknowledged | MOD-ANC-010 | Domains 1, 3, 8 | 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-ANC-027 | ObservationValidated | MOD-ANC-011, MOD-ANC-013 | Domains 3, 8, 9 | Device or ICU observation validated |
| EVT-ANC-028 | IcuEscalationRaised | MOD-ANC-011 | Domains 3, 8, 10 (notification) | Threshold or overdue bundle rule met |
| EVT-ANC-029 | TherapySessionCompleted | MOD-ANC-012 | Domains 3, 5, 8 | Session documented |
| EVT-ANC-030 | DeviceAssociationChanged | MOD-ANC-013 | Domains 3, 8 | Association started or ended |
| EVT-ANC-031 | DeviceDataFaultDetected | MOD-ANC-013 | Clinical engineering, Domain 2 monitoring | Feed loss, drift, unmapped metric, held data |
| EVT-ANC-032 | AncillaryControlTotalsReported | All modules | Domain 8 | Daily control totals for the previous local day (by 01:00 local); re-sent with a higher version on correction |
The event names follow the Diagnostics & Procedures and Orders & Results event families named in REF-003 4.2 (SpecimenCollected, SpecimenReceived, StudyScheduled, ProcedureStarted/Completed, ResultFinalized/Corrected, ResultPublished, CriticalResultEscalated).
AncillaryControlTotalsReported (EVT-ANC-032) follows the Domain 8 control-total contract. One event per facility and business date (local calendar day) carries the producing domain, facility, business date, cutoff time in UTC, and one line per event type with the schema version and the count of events published with an event time in the window. It covers FulfilmentOrderAccepted, SpecimenCollected, ResultFinalized, CriticalResultOpened, TransfusionCompleted, ProcedureCompleted, TheatreCaseStatusChanged and ChargeableActivityRecorded. It carries no patient identifiers and no amounts. It is published by 01:00 local time for the previous local day, and again with a higher version when this domain corrects a day already reported (for example after a dead-letter replay). Domain 8 reconciles at 02:00 local with zero tolerance for safety-relevant events.
Common specification for all events:
- Purpose. State propagation to consuming domains; events carry references and status, with full payloads retrievable through IF-ANC-010 where large.
- Schema and version. Each event has a registered, versioned schema; changes follow the compatibility policy (INF-002, SDLC-006). The envelope follows REF-003 5.2: event_id, event_type, schema_version, aggregate_id, facility, occurred_at, recorded_at, producer, correlation_id, causation_id, actor and purpose context, and payload reference.
- Required identifiers. Enterprise patient identifier, encounter identifier, placer and filler order identifiers where an order exists, and the entity identifier (specimen, result and version, study UID, unit, case, device).
- Timestamps and correlation. occurred_at is the clinical event time in UTC; recorded_at is the commit time; the correlation identifier is carried from the originating order.
- Delivery and ordering. At-least-once delivery. Ordering is preserved per aggregate (per fulfilment order, per result, per unit, per theatre case, per critical-result case), and each event carries the per-aggregate
sequenceof the envelope (IF-ISE-002). There is no ordering across aggregates, for example across the orders of one encounter. Consumers must tolerate redelivery. - Retry and dead-letter handling. Bounded retries with backoff, then dead-letter with operator-controlled replay (INT-004, INF-003). Dead-lettered EVT-ANC-006, EVT-ANC-007, EVT-ANC-017 and EVT-ANC-018 raise an operational alert because they carry clinical risk.
- Duplicate detection and idempotency. event_id is the deduplication key; business keys (result identifier plus version, case identifier plus state) guard against duplicate business effects.
- Retention and replay. Event retention and replay policy are set by Domain 2. Replay into Domain 5 or into notification is never blind: consumers apply idempotency so that replay does not create duplicate charges or duplicate alerts (REF-003 12.3).
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-002 | IdentityUpdated | D01-ADM | Demographic or identifier change | – |
| EVT-ADM-005 | PatientMerged | D01-ADM | Merge committed | – |
| EVT-ADM-006 | PatientUnmerged | D01-ADM | Unmerge committed | – |
| EVT-ADM-008 | EncounterOpened | D01-ADM | Encounter created | – |
| EVT-ADM-009 | PatientAdmitted | D01-ADM | Admission confirmed | – |
| EVT-ADM-010 | PatientTransferred | D01-ADM | Transfer completed | – |
| EVT-ADM-011 | PatientDischarged | D01-ADM | Discharge recorded | – |
| EVT-ADM-015 | EncounterCancelled | D01-ADM | Encounter cancelled | – |
| EVT-ADM-016 | BedStateChanged | D01-ADM | Any bed state change | – |
| EVT-ADM-018 | ResourceReleased | D01-ADM | Bed reservation or scheduled resource released | – |
| EVT-ADM-019 | AppointmentBooked | D01-ADM | Appointment created | – |
| EVT-ADM-020 | AppointmentChanged | D01-ADM | Rescheduled, cancelled or no-show | – |
| EVT-ADM-021 | AppointmentArrived | D01-ADM | Check-in | – |
| EVT-ADM-023 | QueueStateChanged | D01-ADM | Queue item state or priority change | – |
| EVT-ADM-026 | EncounterCorrected | D01-ADM | Compensating correction of an encounter attribute or transition | – |
| 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-014 | EdgeSyncConflictDetected | D02-ISE | Offline action conflicts at synchronization | – |
| 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-004 | AllergyChanged | D03-CLI | Allergy or allergy status created or changed | – |
| 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-027 | ResultReviewed | D03-CLI | Result version acknowledged; release status changed | – |
| EVT-FIN-014 | LotStatusChanged (proposed) | D05-FIN | Lot expired, placed On hold (including recall) or released | – |
| EVT-HIM-001 | ChartDeficiencyOpened | D06-HIM | Deficiency created | – |
| EVT-HIM-002 | ChartDeficiencyClosed | D06-HIM | Deficiency closed, waived or cancelled | – |
| EVT-HIM-004 | RecordLocked | D06-HIM | Record locked or re-locked | – |
| EVT-HIM-008 | LegalHoldApplied | D06-HIM | Hold created or scope changed | – |
| EVT-HIM-009 | LegalHoldReleased | D06-HIM | Hold released | – |
| EVT-EBP-010 | PathwayActivated | D09-EBP | Instance created after validated clinician confirmation | – |
| EVT-ESS-001 | IdentityChanged | D10-ESS | Account, service identity or role assignment created, changed, suspended, revoked | – |
| 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 Domains 1, 3 and 10 have defined timeouts. On timeout the user sees that the data is unavailable and when it was last obtained. A blank is never shown as "none" (SAFE-003).
- Retry policy. Outbound events and messages are retried with backoff by the Domain 2 fabric. Business rejections are not retried.
- Circuit breaker behaviour. Failures of Domain 5, Domain 8, Domain 7, dictation, national exchange and other secondary consumers are isolated and never block a clinical step (INF-004, BCP-007). Failure of the notification service does not stop critical-result cases from being created and worked manually.
- Safety gates fail closed. If the server-side data needed for bedside transfusion verification, human milk verification or the theatre time-out is unavailable, electronic verification cannot be completed and the approved downtime procedure applies. The system does not grant a pass on incomplete data.
- Reconciliation. Sent, acknowledged, rejected and processed messages are reconciled against fulfilment orders and results. Unmatched and stale items appear on UI-ANC-004 and the Domain 2 integration dashboard (INT-005).
- Manual recovery. Quarantined messages and held device data are resolved by authorized staff with reason and audit; replay is operator-controlled.
- No offline recording. Nothing is recorded offline in release 1. When a client loses its connection, the screen stops before recording and shows "Not connected · nothing has been recorded", and staff follow the downtime procedure (INF-007, INF-008; BR-ANC-022, DEC-ANC-006).
- Downtime reconciliation. After downtime, orders, collections, results, transfusions, theatre records and charges recorded on controlled downtime forms are entered on each owning workbench with the "Downtime" tag, their downtime identifiers, original times and authors, with duplicate checks against anything already present (BCP-006, PRS 14.2). Each entry is listed on the downtime reconciliation worklist of UI-ANC-004 until reconciled (BR-ANC-023; FR-ANC-RES-002).
- Consistency after failure. A fulfilment order's state is advanced only by this domain; consumers rebuild their view from events or from IF-ANC-010. No acknowledged clinical transaction may be lost (NFR-005).
← 7. Domain Data Requirements | Contents | Identifier index | 9. Security, Privacy, and Compliance Requirements →