Skip to content

Domain specifications / D06-HIM / 8. Integration and Interoperability Requirements

8. Integration and Interoperability Requirements

8.1 Integration Overview

Domain 6 is mainly a consumer of events and a provider of status. It consumes encounter events from Domain 1, document, signature, amendment and result events from Domains 3 and 4, and document, consent, terminology and audit services from Domain 10. It provides coding and chart-completion status to Domain 5, disclosure constraints and request status to Domain 7, hold and lifecycle state to the Domain 10 document service and to record-holding domains, and indicators to Domain 8.

Synchronous APIs are used where an immediate decision is needed: consent decision, hold-status check, code validation, status queries. Durable, versioned events are used for state propagation (REF-002 section 6). HIM publishes events through a transactional outbox and consumes them idempotently (INT-004, INF-002). No domain reads or writes HIM stores directly, and HIM does not read or write another domain's stores.

All external exchange passes through the Domain 2 integration layer (PRS 9.1). Domain 6 has no direct external connection.

HIM is a secondary consumer in the sense of INF-004: its unavailability must not block bedside or other clinical transactions.

8.2 Internal Integration Catalogue

Integration ID Source Module Target Module Purpose Pattern
INT-HIM-001 Domain 1 encounter and ADT MOD-HIM-003, MOD-HIM-004, MOD-HIM-002 Encounter start, end, discharge, correction and cancellation drive record creation, deficiency evaluation and coding eligibility Event
INT-HIM-002 Domain 1 MPI MOD-HIM-001 Merge, unmerge and identity correction for re-linking Event
INT-HIM-003 Domain 1 MOD-HIM-001, MOD-HIM-005, MOD-HIM-008 Patient and encounter lookup; care team; representative relationships; identity review entry API
INT-HIM-004 Domain 3 clinical documentation MOD-HIM-004, MOD-HIM-003 Note, document, signature, amendment and discharge summary events Event
INT-HIM-005 Domain 3 MOD-HIM-002, MOD-HIM-008 Read diagnoses, procedures, notes for coding and for package assembly API
INT-HIM-006 Domain 4 ancillary services MOD-HIM-004, MOD-HIM-003 Report, result, correction, procedure and theatre record events Event
INT-HIM-007 MOD-HIM-003 Domain 3 clinician and nursing workspaces; Domain 4 workspaces where authors document Clinician deficiency list (own deficiencies only), deep link to the deficient item, and Return to HIM (IF-HIM-002) API / Event
INT-HIM-008 MOD-HIM-002 Domain 5 billing and claims Coding status and final codes API / Event
INT-HIM-009 Domain 5 claims MOD-HIM-002 Coding-related claim rejection or referral for recode: ClaimReturnedForRecoding (EVT-FIN-017) (GAP-HIM-006) Event
INT-HIM-010 MOD-HIM-004 Domains 1, 5, 7 Chart completion and lock status API / Event
INT-HIM-011 Domain 10 document service MOD-HIM-005 Document registration, version, integrity result Event / API
INT-HIM-012 MOD-HIM-005, MOD-HIM-006, MOD-HIM-007 Domain 10 document service; record-holding domains Record class, lifecycle state, hold state, disposition instruction and confirmation API / Event
INT-HIM-013 Domain 10 consent service MOD-HIM-009, MOD-HIM-008 Consent decision; directive change and withdrawal events; restriction request submission API / Event
INT-HIM-014 Domain 10 terminology service MOD-HIM-002, MOD-HIM-005 Code validation, crosswalk lookup, document type codes, version publication, stewardship items API / Event
INT-HIM-015 All HIM modules Domain 10 audit service Audit events Event (durable)
INT-HIM-016 Domain 10 audit service MOD-HIM-010 Access events for a record API
INT-HIM-017 Domain 10 notification and workflow MOD-HIM-001, MOD-HIM-003 Notifications, timers, escalation API
INT-HIM-018 Domain 7 portal MOD-HIM-008, MOD-HIM-004 Disclosure request submission and status; correction request intake, withdrawal and state changes (EVT-HIM-016); delivery of released packages API / Event
INT-HIM-019 MOD-HIM-009, MOD-HIM-005 Domain 7 Disclosure constraints on documents API / Event
INT-HIM-020 All HIM modules Domain 8 Completeness, coding, disclosure, retention and compliance events and extracts Event / Batch
INT-HIM-021 Domain 2 exchange adapters MOD-HIM-010 Disclosure log entries for recordable external exchanges API / Event

8.3 External Integration Catalogue

Domain 6 owns no external connection. The following external exchanges concern HIM data and are implemented by Domain 2 adapters.

Integration ID External System Direction Purpose Standard / Protocol
EXT-HIM-001 External healthcare organisations sending documents (referral letters, external reports) Inbound External documents enter the indexing queue with source provenance FHIR R4 (4.0.1) DocumentReference with the document as a PDF or CDA attachment, or a FHIR document Bundle (DEC-ADM-006); HL7 v2.5.1 MDM^T02 or ORU^R01 with an embedded PDF for partners without FHIR (COMP-ISE-003); received through the Domain 2 FHIR facade (IF-ISE-004) or HL7 v2 adapter (IF-ISE-003)
EXT-HIM-002 External recipients of released information (other providers, insurers, authorities) Outbound Secure electronic delivery of release packages Default package: PDF/A-2b documents plus a JSON manifest (request and package identifiers, document list, checksums), or a FHIR R4 document Bundle (JSON) for portability and FHIR-capable providers (CFG-HIM-019). Delivered over HTTPS (TLS 1.2 or higher) through the Domain 2 partner gateway (IF-ISE-001) as a recipient-bound download with a one-time code sent on a second channel, valid for the period of CFG-HIM-021; organisations with a FHIR endpoint receive the Bundle by FHIR REST (IF-ISE-004). A recipient agreement may select one of these two formats, not a third
EXT-HIM-003 SATUSEHAT (Kemenkes national health data platform) Outbound, with responses Submission of the encounter resources the Indonesia conformance pack requires. This domain owns the submission (FR-HIM-ROI-005; DEC-HIM-018); content comes from Domains 1, 3 and 4 FHIR R4 REST/JSON with OAuth2 through Domain 2 (IF-HIM-006). SIRS is owned by Domains 1 and 8
EXT-HIM-004 Legacy document and coding systems Inbound (migration) One-time and trial migration loads (section 7.7) Default load formats: documents as PDF, TIFF or JPEG files with a CSV or JSON index (patient identifier, encounter, document type, date, author, source identifier, SHA-256 checksum); codes, deficiencies, holds and disclosure logs as CSV (UTF-8) or JSON with a data dictionary per source. Files arrive by SFTP into the migration staging zone; a source that cannot produce these is converted by the migration team before load
EXT-HIM-005 SITB (tuberculosis information system) and SIHA (HIV information system), Kemenkes programme registries Outbound, with responses Statutory programme reporting: TB and HIV case notification and results, content from Domain 3 and Domain 4 (EXT-ANC-011). This domain owns the submission (FR-HIM-ROI-005 part 6.12) Registry interface per the current Kemenkes technical guide, through the Domain 2 gateway; entry by the HIM national exchange officer where no interface exists

8.4 Interface Specification

Interface IF-HIM-001: Coding Status API

Interface Purpose: Give Domain 5 the coding status and final codes of an encounter.

Producer: MOD-HIM-002

Consumer: Domain 5 (billing, claims); Domain 8 through events only

Interface Type: REST API

Protocol and Standard: Versioned REST over the internal API gateway; resource-oriented contract published in the API catalogue (CFG-004).

Authentication and Authorization: Service identity with a scope limited to coding status read; authenticated, encrypted service-to-service channel (PRS 8.2).

Request Structure: Encounter identifier (mandatory); coding purpose (optional); version selector (current or a specific version).

Response Structure: Encounter identifier, coding record identifier and version, status, finalised time, list of codes (code system, code-set version, code, role, sequence). No clinical narrative.

Error Handling: Not found when no coding record exists; an explicit "not final" status rather than an error when coding is pending; standard error body with correlation ID. Consumers retry on transient failure with backoff.

Idempotency and Duplicate Handling: Read-only; safe to repeat.

Monitoring and Audit: Latency, error rate and call volume are monitored. Calls are logged at service level with consumer identity and correlation ID.

Interface IF-HIM-002: Chart Completion Status and Deficiency API

Interface Purpose: Provide chart status per encounter and open deficiencies per clinician, and accept a clinician's "Return to HIM" of a deficiency.

Producer: MOD-HIM-003, MOD-HIM-004

Consumer: Domains 1, 5 and 7 (status); Domain 3 clinician and nursing workspaces and the Domain 4 workspaces where authors document (deficiency list and return to HIM, shown as UI-HIM-004)

Interface Type: REST API

Protocol and Standard: Versioned REST over the internal API gateway.

Authentication and Authorization: Service identity scopes separate status read from deficiency list read. The deficiency list is returned only for the authenticated clinician, as authorized by Domain 10: it lists the deficiencies owned by that person. Deficiencies owned by a unit or the fallback queue are not returned; HIM staff work them on UI-HIM-001 and UI-HIM-003. Unit supervisors see their unit's deficiencies on UI-HIM-003 in stage 5, not through this interface. "Return to HIM" is accepted only from the owner of the deficiency.

Request Structure: By encounter: encounter identifier. By clinician: practitioner identifier, state filter, paging. Return to HIM: deficiency identifier, return reason (not mine, already done, not required, other), reason text when other, idempotency key.

Response Structure: Status: encounter identifier, chart status, completed time, locked time, open mandatory deficiency count. Deficiency list: deficiency identifier, encounter, required component, type, due time, state, derived priority (High or Normal), Disputed flag, link to the item in the owning workspace. For an unsigned or incomplete deficiency the link opens the existing item. For a missing deficiency the link opens the owning workspace's editor for the encounter with a new document of the required type. Return to HIM: deficiency identifier, state (unchanged), Disputed flag set.

Error Handling: Unknown encounter returns not found. If HIM is unavailable the consumer shows the status as unavailable and does not block clinical work. A return to HIM without a reason, by a user who is not the owner, or for a deficiency already flagged Disputed is rejected with the reason.

Idempotency and Duplicate Handling: Reads are read-only. A return to HIM carries a client-generated idempotency key; a repeated key returns the existing result.

Monitoring and Audit: Deficiency list reads are audited at user level because they reveal the existence of documents. Returns to HIM are audited with actor, time and reason.

Interface IF-HIM-003: Hold, Retention and Lifecycle Status API

Interface Purpose: Let record-holding services check hold status before destructive actions, obtain record class, lifecycle state and the effective retention rule, and receive and confirm disposition instructions.

Producer: MOD-HIM-005, MOD-HIM-006, MOD-HIM-007

Consumer: Domain 10 document service; Domains 1, 3, 4 and 5 where they hold records subject to disposal; Domain 2 storage lifecycle

Interface Type: REST API and events

Protocol and Standard: Versioned REST for checks; LegalHoldApplied, LegalHoldReleased and disposition instruction events for propagation.

Authentication and Authorization: Service identities; the hold-status response to non-legal callers contains hold identifiers only.

Request Structure: Hold check: record, patient or encounter reference and intended action. Disposition confirmation: batch identifier, record reference, outcome.

Response Structure: Hold check: held or not held, hold identifiers. Lifecycle query: record class, lifecycle state, hold indicator, eligibility dates.

Error Handling: On timeout or error the caller must treat the record as held for destructive actions (fail closed). Disposition instructions are retried until confirmed or manually resolved.

Idempotency and Duplicate Handling: Disposition instructions carry batch and record identifiers as the idempotency key; repeated instructions return the earlier outcome.

Monitoring and Audit: Refused destructive actions, unconfirmed hold propagation and unconfirmed dispositions raise alerts. All disposition instructions and confirmations are audited.

Interface IF-HIM-004: Disclosure Request and Correction Request API

Interface Purpose: Let Domain 7 submit a disclosure request or a record correction request for an authenticated patient or representative, withdraw a correction request, read its status and retrieve a package released to the portal channel.

Producer: MOD-HIM-008, MOD-HIM-004

Consumer: Domain 7

Interface Type: REST API and events

Protocol and Standard: Versioned REST over the internal API gateway.

Authentication and Authorization: Domain 7 service identity acting for a portal account whose identity link and representative status were established by Domains 1 and 7; HIM applies its own verification rules for the request type.

Request Structure: Submission: patient, requester (portal account reference), purpose, requested scope, recipient, delivery preference, attachments by document reference. Correction withdrawal: request number, portal account reference and time. Status: request number. Retrieval: request number and package version.

Response Structure: Submission: request number, state, due date. Correction withdrawal: state Withdrawn, or a refusal when an outcome is already recorded. Status: state and, where permitted, reason text for the requester; for a correction request also the portal state it maps to (FR-HIM-RAC-003 part 6.8). Retrieval: time-limited document access references.

Error Handling: Validation errors name the missing field. Retrieval after expiry returns an expiry error.

Idempotency and Duplicate Handling: Submissions carry a client-generated idempotency key; a repeated key returns the existing request.

Monitoring and Audit: Submissions, status reads and retrievals are audited with the portal account reference.

Interface IF-HIM-005: Disclosure Log Write API

Interface Purpose: Let services that execute disclosures to external parties record them in the disclosure log.

Producer (of the log): MOD-HIM-010

Consumer (caller): MOD-HIM-008; Domain 2 exchange adapters; Domain 7 where it executes a recordable disclosure

Interface Type: REST API or event

Protocol and Standard: Versioned contract in the API and event catalogue.

Authentication and Authorization: Service identity with write-only scope.

Request Structure: Patient, time, requester, recipient, purpose, scope description, basis, content references, channel, executor, correlation ID.

Response Structure: Entry identifier.

Error Handling: Entries missing a mandatory attribute are rejected with the field named. Callers buffer durably and retry on transient failure; unmatched exchanges appear in reconciliation.

Idempotency and Duplicate Handling: Correlation ID with content reference is the idempotency key.

Monitoring and Audit: Rejected entries and buffer age are monitored.

Interface IF-HIM-006: SATUSEHAT Submission

Interface Purpose: Submit encounter resources to SATUSEHAT and receive the platform's responses (FR-HIM-ROI-005).

Producer: MOD-HIM-008. Consumer: SATUSEHAT platform (Kemenkes), through the Domain 2 gateway.

Interface Type: REST API (outbound)

Protocol and Standard: FHIR R4 REST/JSON with the SATUSEHAT profiles of the Indonesia conformance pack (DEC-ISE-010, CFG-ISE-026); OAuth2 client credentials; transaction bundles where the platform allows.

Authentication and Authorization: Organization credentials held by Domain 2; one client per registered facility.

Request Structure: FHIR resources or a bundle, with the submission points and content of FR-HIM-ROI-005 parts 6.9 to 6.11: Domain 1 Encounter; Domain 3 Condition, Observation, Procedure, AllergyIntolerance, QuestionnaireResponse, Composition, MedicationRequest (including prescriptions signed for an external pharmacy, with KFA codes, triggered by EVT-CLI-017) and MedicationDispense; Domain 4 content as listed in EXT-ANC-011. Local record identifiers carried as resource identifiers; patient and practitioner IHS references; Encounter reference for dependent resources.

Response Structure: Resource identifiers and versions, or an OperationOutcome listing the issues. A MedicationDispense returned for an external-pharmacy prescription is passed to Domain 3 as external information (IF-CLI-008). Submissions to the SITB and SIHA programme registries use the same route and register (FR-HIM-ROI-005 part 6.12).

Error Handling: Transport errors are retried by Domain 2 with backoff. OperationOutcome rejections are recorded and routed as in FR-HIM-ROI-005.

Idempotency and Duplicate Handling: The local record identifier is carried as a resource identifier; a resubmission updates the resource by its SATUSEHAT identifier; conditional create is used where the platform supports it.

Monitoring and Audit: Queue depth, acceptance rate by resource type, rejection reasons and age of the oldest Pending item are monitored; completeness is reported as KPI-HIM-012.

8.5 Event Requirements

Event ID Event Name Producer Consumers Trigger
EVT-HIM-001 ChartDeficiencyOpened MOD-HIM-003 Domain 3 and Domain 4 author workspaces (UI-HIM-004), Domain 8 Deficiency created
EVT-HIM-002 ChartDeficiencyClosed MOD-HIM-003 Domain 3 and Domain 4 author workspaces (UI-HIM-004), Domain 8 Deficiency closed, waived or cancelled
EVT-HIM-003 ChartCompleted MOD-HIM-004 Domains 1, 5, 7, 8 Chart status becomes Complete
EVT-HIM-004 RecordLocked MOD-HIM-004 Domains 3, 4, 10 (document service), 8 Record locked or re-locked
EVT-HIM-005 CodingFinalized MOD-HIM-002 Domains 1, 5, 8 Coding record version becomes Final
EVT-HIM-006 CodingRevised MOD-HIM-002 Domains 5, 8 Revision of a Final coding record finalised
EVT-HIM-007 DocumentIndexed MOD-HIM-005 MOD-HIM-004, Domain 10 (document service), Domain 8 Document indexed, reclassified or re-indexed
EVT-HIM-008 LegalHoldApplied MOD-HIM-007 Domain 10 (document service), record-holding domains, Domain 8 Hold created or scope changed
EVT-HIM-009 LegalHoldReleased MOD-HIM-007 Same as EVT-HIM-008 Hold released
EVT-HIM-010 RetentionDispositionCompleted MOD-HIM-006 Domains 8, 10 Archival or disposal batch finished
EVT-HIM-011 DisclosureRequestReceived MOD-HIM-008 Domain 8 Request registered
EVT-HIM-012 DisclosureDelivered MOD-HIM-008 Domain 7 (portal channel), Domains 8, 10 Release package delivered and logged
EVT-HIM-013 DisclosureRestrictionApplied MOD-HIM-009 MOD-HIM-008, Domain 8 A consent change or restriction affected a pending disclosure
EVT-HIM-014 HimWorkItemChanged MOD-HIM-001 Domain 8 Work item created, assigned, escalated or closed
EVT-HIM-015 RecordReopened MOD-HIM-004 Domains 5, 8 Locked record reopened by late content, amendment or authorised action
EVT-HIM-016 CorrectionRequestStateChanged MOD-HIM-004 Domain 7 (request status shown to the patient), Domain 8 Correction request acknowledged, given an outcome (Amended, Partly Amended, Declined) or Withdrawn; carries the HIM state and the portal state it maps to
EVT-HIM-017 HimControlTotalsReported MOD-HIM-001 Domain 8 Daily control totals for the previous local day (by 01:00 local); re-sent with a higher version on correction

ChartCompleted and LegalHoldApplied are events the Architecture names for the HIM & Compliance context (REF-003 section 5). REF-003 also names DocumentReleased there; this domain publishes that fact as DisclosureDelivered, because DocumentReleased is the Domain 7 portal release event (EVT-PEX-006) and each event name has one owner.

For all HIM events:

  • Purpose. State propagation only. Events carry identifiers, state and times, not clinical content or matter detail.
  • Schema and version. Each event has a versioned, registered schema. Changes follow the compatibility and deprecation policy (CFG-004, SDLC-006).
  • Required identifiers. Event ID, event type and version, patient identifier, encounter identifier where applicable, the HIM record identifier and version, facility.
  • Timestamps and correlation. Event time (when the business fact occurred), recorded time, and a correlation ID that links to the triggering source event (DAT-004).
  • Delivery and ordering. At-least-once delivery. Ordering is preserved per health record (per encounter) for chart and coding events and per hold for hold events, because consumers depend on the latest state (INF-003).
  • Retry and dead-letter. Failed deliveries are retried with backoff; undeliverable events go to dead-letter or quarantine handling with a controlled replay path provided by Domain 2 (INT-004).
  • Duplicate detection and idempotency. Consumers deduplicate by event ID. HIM consumers of other domains' events do the same.
  • Retention and replay. Events are retained and replayable under the event backbone policy of Domain 2. Hold and disposition events are additionally reconstructable from the HIM registers.

HimControlTotalsReported follows the Domain 8 control-total contract. It carries facility, business date (local calendar day), cutoff time in UTC, and one line per event type with the schema version and the count of events this domain published with an event time in that day: ChartDeficiencyOpened, ChartDeficiencyClosed, ChartCompleted, CodingFinalized, CodingRevised, DisclosureRequestReceived, DisclosureDelivered and HimWorkItemChanged. It carries no patient identifiers. It is published by 01:00 local for the previous local day, and again with a higher version when a day already reported is corrected.

For LegalHoldApplied, consumers must confirm application; an unconfirmed consumer leaves the hold Partially Applied and raises an alert. For CodingFinalized and ChartCompleted, Domain 5 must tolerate later CodingRevised and RecordReopened events.

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-007 PatientRegistered D01-ADM Person registered at a facility –
EVT-ADM-008 EncounterOpened D01-ADM Encounter created –
EVT-ADM-009 PatientAdmitted D01-ADM Admission confirmed –
EVT-ADM-011 PatientDischarged D01-ADM Discharge recorded –
EVT-ADM-014 EncounterClosed D01-ADM Closure criteria met or waived –
EVT-ADM-015 EncounterCancelled D01-ADM Encounter cancelled –
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-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-017 MedicationOrdered D03-CLI Medication order signed; carries the fulfilment channel of a discharge or outpatient prescription, and Domain 6 submits a prescription for an external pharmacy to SATUSEHAT as a MedicationRequest –
EVT-ANC-006 ResultFinalized (ResultPublished; includes preliminary releases with status) D04-ANC Result version or report released –
EVT-ANC-007 ResultCorrected / ResultWithdrawn D04-ANC Correction or withdrawal –
EVT-ANC-022 ProcedureCompleted D04-ANC Procedure completed: for theatre, when the operative record is signed –
EVT-FIN-017 ClaimReturnedForRecoding (proposed) D05-FIN Claim rejected or denied with a coding-related reason, or referred to coding by the claims officer –
EVT-PEX-005 ResultReleased D07-PEX Release decision for a result becomes Released –
EVT-PEX-006 DocumentReleased D07-PEX Release decision for a document becomes Released –
EVT-PEX-007 ReleaseWithdrawn D07-PEX Released decision becomes Withdrawn, Withheld or Superseded –
EVT-ANL-005 ExtractReleased D08-ANL An extract package is released, expired or revoked –
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-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-013 DocumentRegistered D10-ESS Document or new version registered; flag changed –
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 have explicit timeouts. A timeout on the consent decision or hold-status check is treated as deny or held (fail closed) for disclosure and destructive actions. A timeout on patient lookup, terminology or source read leaves the user's work saved as draft with a clear message.
  • Retry policy. Event consumption and outbound instructions are retried with backoff and are idempotent. User-initiated irreversible actions (release, disposal) are not retried automatically after a partial failure without checking the recorded outcome.
  • Circuit breaker behaviour. Calls to Domains 3, 4 and 10 are isolated so that a failing dependency degrades only the function that needs it: candidate codes are unavailable while manual coding continues; deficiency evaluation is deferred; indexing waits.
  • Reconciliation. Periodic reconciliation covers the record component list against sources, coding eligibility against encounters, deficiency state against source state, hold propagation, disposition confirmations and disclosure log entries against executed exchanges. Differences appear on work items (INT-005).
  • Manual recovery. Quarantined events and unconfirmed dispositions have a documented manual resolution procedure with audit.
  • Data consistency after failure. HIM state changes and their events commit together through the outbox. A disclosure log entry and the Released state commit together. After recovery, reconciliation is run before disposition batches are executed.
  • Isolation of clinical work. Failure of any HIM service does not fail a clinical transaction; producers of source events do not wait for HIM (INF-004, RCM-003).

← 7. Domain Data Requirements | Contents | Identifier index | 9. Security, Privacy, and Compliance Requirements →