MOD ISE 003 INT
Domain specifications / D02-ISE / 5. Detailed Functional Requirements / 5.3 Module Specification: Integration Engine and Standards Exchange
5.3 Module Specification: Integration Engine and Standards Exchange¶
5.3.1 Module Overview¶
Module ID: MOD-ISE-003
Purpose: Provide the internally governed integration capability that routes, validates, transforms, orchestrates, monitors and reconciles messages between HIS domains and external systems, the registry and onboarding process for interfaces, and the adapters that implement HL7 v2, FHIR, DICOM, IHE and device connectivity at the HIS boundary.
Business Capabilities: - CAP-ISE-004 Integration routing, transformation and reconciliation - CAP-ISE-005 Healthcare standards exchange
Primary Actors: - Integration Engineer (ACT-ISE-002) - Integration Operations Analyst (ACT-ISE-003) - External Partner System (ACT-ISE-009) - Domain Service Team (ACT-ISE-008)
Dependencies: - MOD-ISE-002 (gateways), MOD-ISE-004 (event backbone), MOD-ISE-006 (certificates), MOD-ISE-008 (monitoring) - Domain 10 (ESS) terminology service for code validation and mapping lookups, audit service - APIs and events of the producing and consuming domain services; external LIS, RIS/PACS, blood bank, payer, device, finance and national or regional systems
5.3.2 Functional Areas¶
Functional Area ID: FA-ISE-006 Integration engine, delivery and reconciliation
Description: Message routing, validation, transformation, orchestration, durable delivery and reconciliation.
Scope: - Included: synchronous and asynchronous patterns, durable queues, retry, quarantine, replay, reconciliation worklists. - Excluded: business decisions about a rejected transaction, which belong to the owning domain.
Functional Area ID: FA-ISE-007 Interface registry and partner onboarding
Description: The authoritative record of every interface and the process that brings a partner into service.
Scope: - Included: registration, endpoint, credential and mapping records, test certification. - Excluded: commercial and legal agreements with partners.
Functional Area ID: FA-ISE-008 Standards exchange adapters
Description: Protocol and format support for HL7 v2, FHIR, DICOM, IHE profiles and device connectivity, with conformance testing and jurisdiction packs.
Scope: - Included: parsing, generation, structural validation, protocol acknowledgement, conformance suites, country profile packaging. - Excluded: the clinical content, profiles' terminology bindings and mapping rules, which are owned by the source domains and Domain 10; the imaging archive and device data semantics (Domain 4).
5.3.3 Detailed Requirements¶
Requirement FR-ISE-INT-001: Internally Governed Integration Capability¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ISE-INT-001 |
| Requirement Name | Internally governed integration capability |
| Requirement Type | Functional |
| Module | Integration Engine and Standards Exchange |
| Functional Area | FA-ISE-006 Integration engine, delivery and reconciliation |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | INT-001, INT-002; DEP-001; PRS section 9.1 |
| Related Business Rule | BR-ISE-001, BR-ISE-003, BR-ISE-004, BR-ISE-007 |
| Related Workflow | WF-ISE-001, WF-ISE-003 |
1. Requirement Statement
The system shall provide an internally governed integration capability for routing, transformation, validation, orchestration, monitoring and reconciliation that supports both synchronous API and asynchronous event/message patterns, such that no external integration engine is mandatory to run the core platform and all external integrations pass through this layer.
2. Business Rationale
Orders, results, ADT, claims and device data cross system boundaries continuously. A governed layer makes each exchange owned, validated and traceable and keeps the organization independent of a proprietary engine.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Integration Engineer | Create / Update routes, transformations and validation profiles | Reviewed change promoted through environments |
| Integration Operations Analyst | Read traffic and status; operate queues | Payload view restricted by data classification |
| Domain Service Team | Read status of own interfaces; own mapping content | |
| Workload | Send / receive on registered routes | Authenticated service identity |
4. Preconditions - The interface is registered and Active (FR-ISE-INT-002).
5. Trigger - Receipt of a message or API call on a registered route; a domain event that a route subscribes to.
6. Functional Behaviour
- The engine shall accept messages on registered endpoints only and shall authenticate the sender.
- The engine shall durably store each received message with its metadata before acknowledging receipt at transport level.
- The engine shall validate each message against the registered contract and profile before processing.
- The engine shall route by registered rules (message type, source, destination, facility) to one or more targets.
- The engine shall transform using a versioned mapping owned by a named party, preserving identifier assigning authority, event time, source system, status and semantic code, and recording the mapping version applied.
- The engine shall support orchestration of multi-step exchanges with explicit state, timeouts and compensation.
- The engine shall carry a correlation identifier and business identifiers on every transaction and record each state transition of section 4.3.
- The engine shall support request/response exchanges with timeouts and circuit breakers, and asynchronous exchanges through durable queues and the event backbone.
- The engine shall preserve the original source payload where legally and operationally appropriate.
- The engine shall expose volume, latency, acknowledgement and error telemetry per interface.
- The engine shall provide managed file transfer for batch interfaces: SFTP (SSH File Transfer Protocol) with key-based authentication per registered partner, a dedicated inbound and outbound folder per interface, a SHA-256 checksum and an acknowledgement file per transfer, retry and an alert when a scheduled file is not sent or not acknowledged, and file retention per the platform payload retention (30 days). Users of the owning domain may instead download an outbound file from an authenticated, audited link that expires after 24 hours. First-release users are the ERP batch (EXT-ISE-007), payment settlement files (EXT-ISE-015) and the monthly and on-demand WHONET export of Domain 4 (EXT-ANC-012) to the hospital AMR control committee and national AMR surveillance.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Message payload | Per contract | Yes | Structural and contract validation | Business content |
| Source endpoint identity | Reference | Yes | Registered and authenticated | Sender |
| Message control identifier | String | Yes | Unique per source | Used for deduplication |
| Correlation ID | String | No | Generated if absent | Trace key |
| Business identifiers | Per contract | Yes | Presence per contract (for example patient, encounter, order identifiers with assigning authority) | Reconciliation keys |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-INT-001-1 | Message from an unregistered or unauthenticated source | Refused and logged |
| PR-INT-001-2 | Validation failure | Message quarantined with reason; negative acknowledgement returned where the protocol supports it |
| PR-INT-001-3 | No route matches | Message quarantined as unroutable; alert raised |
| PR-INT-001-4 | A transformation cannot map a mandatory element | Message quarantined; no partial delivery |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Delivered message | Target contract format | Target system or service | Transformed, validated message |
| Acknowledgement | Protocol-specific | Source system | Transport and, where defined, application acknowledgement |
| Transaction record | Structured | Integration operations; reconciliation | State history, mapping version, correlation ID |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Target times out | Timeout per interface | Retry per policy (FR-ISE-INT-005) | Visible as Retrying |
| Target circuit open | Circuit state | Queue for asynchronous routes; fail fast for synchronous | Alert by tier |
| Mapping version missing | Registry lookup | Route disabled; messages held | Integration Engineer notified |
11. State and Lifecycle Behaviour
Each message follows the delivery state model of section 4.3. Routes and mappings are versioned and promoted through environments.
12. Audit Requirements
Route, mapping and validation-profile changes are audited with before/after values. For exchanges carrying patient data, the engine emits an audit event with sender, receiver, patient or resource reference, purpose where applicable, outcome, time and correlation ID.
13. Security and Privacy Requirements
Payloads are Sensitive when they carry patient data. Operators see metadata by default; payload viewing requires a specific permission and is audited. Stored payloads are encrypted at rest.
14. Acceptance Criteria
- AC-01: Given the core platform in an isolated environment, when interfaces are exercised, then no external integration engine is required (INT-001).
- AC-02: Given a synchronous and an asynchronous interface, when each is tested under normal, retry and outage conditions, then both behave as specified (INT-002).
- AC-03: Given an invalid message, when it is received, then it is quarantined with reason and a replay path and is not processed (PRS section 9.1).
- AC-04: Given any delivered message, when its transaction record is inspected, then correlation ID, business identifiers, mapping version and acknowledgement status are present.
- AC-05: Given a scheduled outbound batch file (for example the monthly WHONET export), when it is transferred, then it reaches the partner folder with its checksum, the acknowledgement is recorded, and a missed or unacknowledged file raises an alert.
15. Dependencies and Integration
- Upstream dependencies: MOD-ISE-002, MOD-ISE-006; Domain 10 terminology service for code validation.
- Downstream dependencies: all domains that exchange with external systems (1, 3, 4, 5, 6, 7, 8).
- Required events or APIs: IF-ISE-003, IF-ISE-004, IF-ISE-005, IF-ISE-007; EVT-ISE-001.
16. Open Questions / Assumptions
- Whether the capability is built or assembled from a maintained, replaceable component is a technology decision under the dependency policy (DEC-ISE-003).
Requirement FR-ISE-INT-002: Interface Registry and Partner Onboarding¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ISE-INT-002 |
| Requirement Name | Interface registry and partner onboarding |
| Requirement Type | Functional |
| Module | Integration Engine and Standards Exchange |
| Functional Area | FA-ISE-007 Interface registry and partner onboarding |
| Priority | Should (onboarding, INT-006); Must (mandatory interface attributes, PRS section 9.1) |
| Criticality | High |
| Requirement Status | Draft |
| Source | INT-006; PRS section 9.1; contributes to CFG-003 (primary Domain 10) |
| Related Business Rule | BR-ISE-002, BR-ISE-008 |
| Related Workflow | WF-ISE-001 |
1. Requirement Statement
The system shall maintain a registry in which every interface has an owner, purpose, data classification, contract, version, endpoint, authentication method, throughput limit, retry policy and support contact, and shall provide partner onboarding with endpoint registration, certificates, credentials, mapping and test certification such that a new partner can be onboarded without modifying unrelated domain services.
2. Business Rationale
Unowned or undocumented interfaces are a common source of lost messages and security exposure. Repeatable onboarding reduces the cost and risk of each new connection.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Integration Engineer | Create / Update registrations; record certification | |
| Interface owner (domain or business role) | Approve registration and activation | |
| Security Engineer | Create / Update credentials and certificates for the endpoint | |
| Release Manager | Approve activation in production | |
| Integration Operations Analyst | Read; Suspend | Suspension recorded with reason, through the one "Suspend interface" dialog that names the tier, the consumers and the clinical functions affected; for a Tier 1 or 2 interface it raises the degraded-state signal of FR-ISE-BCR-003 part 6.1 (OV-113) |
| Integration Engineer | Resume a Suspended interface | After the cause is corrected and re-verified; only on the interface registry (OV-113) |
4. Preconditions - Business owner, purpose, data classification and service criticality are approved.
5. Trigger - Request for a new interface, partner or contract version.
6. Functional Behaviour
- The registry shall store the mandatory attributes listed in the requirement statement plus service criticality, reconciliation procedure, test pack reference and retirement plan.
- The registry shall refuse activation when any mandatory attribute is missing.
- Onboarding shall be configuration-driven: registering an endpoint, binding certificates and credentials, selecting a contract and mapping, and assigning limits shall not require code change in unrelated domain services.
- The system shall provide a partner test facility in a non-production environment with the agreed test pack and shall record certification results.
- The registry shall drive runtime behaviour: only Active registrations accept traffic; throughput limits and retry policies are applied from the registration.
- The registry shall provide extension points so that a new partner of an existing interface type reuses the certified adapter.
- The registry shall record lifecycle transitions of section 4.3 and notify consumers of deprecation.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Interface name, owner, purpose | String / reference | Yes | Owner active | Identity and accountability |
| Data classification | Enumeration | Yes | Section 9.3 values | Classification |
| Contract and version | Reference | Yes | Exists in catalogue | Message or API contract |
| Endpoint | Structured address | Yes | Reachable in target zone | Partner or internal endpoint |
| Authentication method | Enumeration | Yes | Approved methods only | For example mutual TLS, signed token |
| Throughput limit, retry policy | Structured | Yes | Within platform bounds | Runtime policies |
| Support contact | Contact reference | Yes | Present | Partner and internal contacts |
| Certification evidence | Reference | Yes for activation | Test pack passed | Test results |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-INT-002-1 | Activation without certification evidence | Refused |
| PR-INT-002-2 | Traffic on a Suspended or Retired registration | Refused; logged; alert |
| PR-INT-002-3 | Change of contract version on an Active registration | Treated as a new version requiring certification |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Interface registration | Structured record | Integration team, owners, auditors | Authoritative interface record |
| Certification report | Report | Interface owner, partner | Test results |
| Interface inventory | Report | Architecture board, security office | All interfaces with status and owner |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Missing mandatory attribute | Completeness | Save as Proposed only; activation refused | Lists missing attributes |
| Unapproved authentication method | Policy list | Refused | Refer to security office |
| Endpoint unreachable at activation | Connectivity test | Activation refused | Check network allowlist and endpoint |
11. State and Lifecycle Behaviour
Proposed, Approved, In Test, Certified, Active, Suspended, Deprecated, Retired (section 4.3). Screens show Active as "In service", because "Active" is kept for content versions (glossary section 12).
12. Audit Requirements
All registration changes, approvals, activations, suspensions and retirements are recorded with actor, time and before/after values.
13. Security and Privacy Requirements
The registry is Confidential: endpoint addresses and authentication methods are restricted. Credentials are referenced, never stored, in the registry (FR-ISE-KEY-001).
14. Acceptance Criteria
- AC-01: Given a new partner for a certified interface type, when onboarding is completed, then no unrelated domain service is modified (INT-006).
- AC-02: Given a registration missing its retry policy, when activation is requested, then it is refused.
- AC-03: Given the production estate, when the interface inventory is produced, then every active external connection has a registration with all mandatory attributes.
- AC-04: Given a suspended registration, when the partner sends traffic, then it is refused and logged.
15. Dependencies and Integration
- Upstream dependencies: FR-ISE-GWY-002 (catalogue), FR-ISE-KEY-001, FR-ISE-KEY-003.
- Downstream dependencies: FR-ISE-INT-001 runtime; MOD-ISE-008 dashboards.
- Required events or APIs: IF-ISE-007; EVT-ISE-004.
16. Open Questions / Assumptions
- The partners and interfaces of the first release are listed in the first-release interface inventory (GAP-ISE-002, closed).
Requirement FR-ISE-INT-003: HL7 v2 and FHIR Exchange with Jurisdiction Profiles¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ISE-INT-003 |
| Requirement Name | HL7 v2 and FHIR exchange with jurisdiction profiles |
| Requirement Type | Functional |
| Module | Integration Engine and Standards Exchange |
| Functional Area | FA-ISE-008 Standards exchange adapters |
| Priority | Must (jurisdiction profile packaging: Should, per PRS section 9.4 wording) |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | INT-003; DEP-007; PRS sections 9.2, 9.4, 7.4; contributes to ADM-011 and PRS section 21.3 (primary Domain 1), RCM-012 (primary Domain 5) |
| Related Business Rule | BR-ISE-003, BR-ISE-007, BR-ISE-008 |
| Related Workflow | WF-ISE-001 |
1. Requirement Statement
The system shall support HL7 v2 parsing and generation and FHIR API exchange for the approved profiles, shall publish the supported FHIR capability statement, profiles, terminology bindings, scopes, paging and versioning, shall validate every message and resource against its profile, and shall package country-specific exchange requirements as maintained jurisdiction conformance packs outside the domain core.
2. Business Rationale
Departmental and partner systems exchange ADT, order, result, scheduling and billing data in HL7 v2, while modern and national exchange uses FHIR. Conformance must be demonstrable and local rules must be changeable without altering the core.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Integration Engineer | Create / Update adapter configuration, profiles and conformance packs | Reviewed; pipeline-validated (SDLC-003) |
| Domain Service Team | Own resource and message content and mappings for its data | |
| External Partner System | Send / receive per registration | |
| Integration architect and data governance | Approve profile selection | PRS section 19.3 |
4. Preconditions - HL7 v2 message versions, FHIR release and profiles are selected and frozen for the release profile (DEC-ISE-004).
5. Trigger - Inbound or outbound HL7 v2 message; FHIR API request; domain event mapped to an outbound message.
6. Functional Behaviour
- For HL7 v2, the adapter shall parse and generate the agreed message versions and event types and shall validate message type and trigger (MSH-9), control identifier (MSH-10) and version (MSH-12), qualified identifiers with assigning authority, order linkage and result status.
- The adapter shall return ACK or NACK per the agreed acknowledgement mode and record it.
- The adapter shall carry HL7 v2 traffic only over authenticated, encrypted channels; the lower-layer protocol is not treated as encryption (REF-003 section 7.2).
- For FHIR, the facade shall expose the resources of the approved profiles through RESTful interactions with paging, versioning and search as declared in the capability statement.
- The facade shall validate resources against the declared profiles and terminology bindings, using the Domain 10 terminology service.
- The facade shall translate between FHIR resources and domain service APIs through versioned mappings owned by the domains; FHIR is not treated as the persistence schema.
- Mappings shall be versioned, tested and monitored for semantic loss; a mapping that drops a mandatory element fails validation.
- An automated conformance suite shall run the agreed test packs for every adapter and profile change.
- Jurisdiction requirements (national exchange, reporting, claims and identity interfaces) shall be delivered as a selectable conformance pack containing profiles, mappings, endpoints and tests; the core shall run with no pack or with a different pack.
- Exports and exchanges shall use open, documented formats and protocols.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| HL7 v2 message | Encoded message | Yes | Segment and field validation per agreed profile | Inbound or outbound message |
| FHIR resource / request | Resource per profile | Yes | Profile and terminology binding validation | API payload |
| Profile and pack version | Reference | Yes | Active version | Determines validation |
| Qualified identifiers | Identifier with assigning authority | Yes | Assigning authority present and known | Patient, encounter, order identifiers |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-INT-003-1 | Duplicate control identifier from the same source | Acknowledged without reprocessing |
| PR-INT-003-2 | Identifier without assigning authority | NACK and quarantine |
| PR-INT-003-3 | Resource fails profile validation | Rejected with an operation outcome describing the failure |
| PR-INT-003-4 | Result message with corrected or withdrawn status | Passed to the owning domain with status preserved; history is never deleted by the adapter |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| HL7 v2 message and ACK/NACK | HL7 v2 | Partner or departmental system | Per agreed version and events |
| FHIR response | FHIR resource or bundle | Authorized client | Per capability statement |
| Capability statement and profile set | FHIR conformance resources | Consumers | Published in the catalogue |
| Conformance suite report | Report | Integration team, acceptance | Pass/fail per test pack |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Unsupported message version or event | MSH-9 / MSH-12 check | NACK; quarantined | Partner corrects or contract is extended |
| Unknown code in a bound element | Terminology validation | Rejected or flagged per profile strength | Steward queue in Domain 10 for unmapped codes |
| Terminology service unavailable | Dependency health | Messages held in durable queue for validation; not passed unvalidated | Alert |
11. State and Lifecycle Behaviour
Profiles, mappings and conformance packs are versioned artifacts with Draft, Active, Deprecated and Retired states and are promoted through the release pipeline.
12. Audit Requirements
Each exchange involving patient data produces an audit event (sender, receiver, patient reference, message or interaction type, outcome, time, correlation ID). Profile and pack changes are audited.
13. Security and Privacy Requirements
FHIR access is authorized by scope and context through Domain 10; consent and security-label decisions are enforced before release (FR-ISE-GWY-003). HL7 v2 endpoints require node authentication (FR-ISE-KEY-003).
14. Acceptance Criteria
- AC-01: Given the agreed test packs, when the automated conformance suite runs, then it passes (INT-003).
- AC-02: Given an HL7 v2 message with an invalid MSH-9, MSH-10 or MSH-12, when it is received, then it is rejected with NACK and quarantined.
- AC-03: Given the FHIR facade, when the capability statement is retrieved, then it declares supported profiles, terminology bindings, scopes, paging and versioning.
- AC-04: Given the core product, when it is deployed without the Indonesia pack, then it operates; and when the pack is enabled, then the pack's conformance tests pass without change to domain core code.
- AC-05: Given an exported or exchanged payload, when an independent consumer parses it using published specifications, then it succeeds (DEP-007).
15. Dependencies and Integration
- Upstream dependencies: Domain 10 terminology; domain service APIs; profile governance decisions.
- Downstream dependencies: Domain 1 (ADT, identity cross-reference and demographic query transactions), Domain 3 and Domain 4 (orders and results), Domain 5 (billing and financial resources), Domain 7 (patient access).
- Required events or APIs: IF-ISE-003, IF-ISE-004.
16. Open Questions / Assumptions
- The FHIR release is R4 (4.0.1) (DEC-ISE-004), and HL7 v2.5.1 is used for in-hospital administrative messages (DEC-ADM-006). The Indonesia deployment profile is a baseline conformance pack (DEC-ISE-010, resolved 2026-11-17): SATUSEHAT over FHIR R4 REST with OAuth2 client credentials, with patients and practitioners resolved by NIK to an IHS number and Organization and Location registered first; the minimum dataset and terminology named in the decision; the BPJS Kesehatan interfaces VClaim, E-Klaim, Antrean online and Aplicares, which are not built in the first release (DEC-FIN-003); and statutory reporting through SIRS and the referral system. The pack has one named owner, is reviewed every quarter and is confirmed line by line against the official sources; reporting timelines and certification criteria are confirmed in that review.
Requirement FR-ISE-INT-004: DICOM, IHE and Device Connectivity Support¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ISE-INT-004 |
| Requirement Name | DICOM, IHE and device connectivity support |
| Requirement Type | Functional |
| Module | Integration Engine and Standards Exchange |
| Functional Area | FA-ISE-008 Standards exchange adapters |
| Priority | Must (DICOM and IHE transport); Should (device gateway, following NUR-006) |
| Criticality | High |
| Requirement Status | Draft |
| Source | PRS section 9.2; contributes to ANC-003, ANC-009, ANC-015, ANC-021, ANC-022, NUR-006 (primary Domain 4) |
| Related Business Rule | BR-ISE-001, BR-ISE-007, BR-ISE-015 |
| Related Workflow | WF-ISE-001 |
1. Requirement Statement
The system shall provide the integration services through which DICOM imaging exchange, the selected IHE profile transactions and standards-based device connectivity are carried, preserving study, series and instance identifiers and device identity, measurement validity and timestamps, and shall provide actor and transaction conformance tests for the selected profiles.
2. Business Rationale
Imaging, document sharing, analyzers, dispensing cabinets and bedside devices connect through specialised protocols. They need the same governed, authenticated, monitored transport as other interfaces.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Integration Engineer | Create / Update DICOM, IHE and device gateway configuration | Reviewed change |
| Clinical engineering (device owner) | Approve device registration | Device inventory entry required |
| Domain 4 service teams | Own imaging, analyzer and device data semantics | |
| External Partner System / device | Connect per registration | Authenticated node |
4. Preconditions - Relevant IHE profiles and DICOM services are selected. - Devices are inventoried and placed in the device/biomedical network zone.
5. Trigger - A DICOM association or web request; an IHE transaction; a device data message.
6. Functional Behaviour
- The platform shall route DICOM services and approved web access patterns between modalities, the imaging archive and Domain 4 services, without altering study, series or instance identifiers.
- The platform shall carry the IHE transactions of the selected profiles and shall provide actor/transaction conformance tests for each.
- The device gateway shall accept data only from registered, authenticated devices and shall pass device identity, measurement validity, safety classification, timestamp and patient association unaltered to the owning Domain 4 service.
- The device gateway shall buffer device data durably during downstream outages and deliver in order per device.
- High-frequency device streams shall be isolated so that they do not degrade core transaction performance.
- All such connections shall be registered interfaces (FR-ISE-INT-002) and shall be monitored and reconciled like any other.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| DICOM identifiers | Unique identifiers | Yes | Present and well-formed | Study, series, instance |
| Device identity | Identifier | Yes | Registered in device inventory | Source device |
| Measurement with validity and timestamp | Structured | Yes | Validity flag and timestamp present | Device observation |
| Patient association | Reference | Per profile | Passed through; validated by the owning domain | Patient/encounter link |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-INT-004-1 | Data from an unregistered device | Refused; security alert |
| PR-INT-004-2 | Device data without timestamp or validity | Quarantined; not forwarded as valid |
| PR-INT-004-3 | Downstream service unavailable | Buffered durably; delivered in order on recovery |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Routed DICOM object or reference | DICOM | Archive / Domain 4 imaging services | Identifiers preserved |
| Device observation message | Per device contract | Domain 4 device data interface | Identity, validity, timestamp preserved |
| Conformance report | Report | Integration team | IHE actor/transaction results |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Association from an untrusted node | Node authentication | Refused | Register node and certificate |
| Device stream exceeds throughput limit | Limit per registration | Back-pressure; alert | Review device configuration |
11. State and Lifecycle Behaviour
Device and imaging endpoints follow the interface registration lifecycle.
12. Audit Requirements
Connection, rejection and configuration events are recorded. Audit of imaging and device data access is produced by the owning domains and by the gateway for external exchange.
13. Security and Privacy Requirements
Devices reside in an isolated zone with allowlisted protocols and an authenticated gateway. Imaging and device data are Sensitive.
14. Acceptance Criteria
- AC-01: Given a study routed through the platform, when it is archived and retrieved, then study, series and instance identity is preserved (supports ANC-021).
- AC-02: Given a registered bedside device, when it sends observations, then the feed is traceable to device, patient, location and time at the receiving Domain 4 service (supports NUR-006).
- AC-03: Given an unregistered device, when it attempts to send data, then the data is refused.
- AC-04: Given a selected IHE profile, when the actor/transaction conformance tests run, then they pass (PRS section 9.2).
15. Dependencies and Integration
- Upstream dependencies: MOD-ISE-006, MOD-ISE-007 (device zone); device inventory.
- Downstream dependencies: Domain 4 (ANC) imaging, laboratory analyzer, dispensing cabinet and device data interfaces.
- Required events or APIs: IF-ISE-005, IF-ISE-009.
16. Open Questions / Assumptions
- Whether PACS/VNA, LIS and other ancillary systems are built or integrated is an open PRS decision (PRS section 28.1); the transport requirement applies in either case. The set of IHE profiles is not fixed (DEC-ISE-004).
Requirement FR-ISE-INT-005: Reliable Delivery, Idempotency and Controlled Replay¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ISE-INT-005 |
| Requirement Name | Reliable delivery, idempotency and controlled replay |
| Requirement Type | Functional |
| Module | Integration Engine and Standards Exchange |
| Functional Area | FA-ISE-006 Integration engine, delivery and reconciliation |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | INT-004; NFR-005; contributes to SAFE-004 |
| Related Business Rule | BR-ISE-003, BR-ISE-005, BR-ISE-006 |
| Related Workflow | WF-ISE-003 |
1. Requirement Statement
The system shall provide durable queues, idempotency keys, deduplication, retry with backoff, dead-letter and quarantine handling and controlled replay for all asynchronous exchanges, such that no acknowledged transaction is lost and duplicate or delayed delivery does not create a duplicate clinical action.
2. Business Rationale
Message loss causes missing orders and results; duplicate processing causes duplicate orders, administrations and charges. Both are patient-safety and financial hazards.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Integration Operations Analyst | Read queues; Replay; Close with reason | Replay into replay-sensitive targets needs second authorization |
| Owning domain representative | Approve replay into replay-sensitive workflows | |
| Integration Engineer | Update retry policies | Reviewed change |
4. Preconditions - The interface has a registered retry policy and an idempotency key definition.
5. Trigger - Message acceptance; delivery failure; operator replay action.
6. Functional Behaviour
- The platform shall persist a message durably before acknowledging it to the sender.
- Every message shall carry an idempotency key that is stable across retries and replays.
- The platform shall detect duplicates within the configured deduplication window and shall not deliver a duplicate as a new message.
- Failed deliveries shall be retried with bounded attempts and increasing backoff per the interface's policy.
- When attempts are exhausted the message shall move to dead-letter; invalid messages shall move to quarantine; both retain payload, reason and attempt history.
- Replay shall be initiated only by an authorized operator, shall show scope and target before confirmation, shall preserve the original idempotency key and original order per ordering key, and shall be rate-controlled.
- Replay into targets on the replay-sensitive list (medication, billing, identity) shall require second authorization and confirmation from the owning domain. A replay requested by the owning domain from its own queue counts as that confirmation; a second Integration Operations Analyst then authorizes in place (CUX-64) before execution. A replay started on the integration operations console into a sensitive target creates an approval task for the owning domain and waits as "Awaiting approval" until it is decided. The replay-sensitive list (CFG-ISE-007) and the replay confirmation are also used by Domain 10 for workflow step retry (OV-112).
- Queue depth and the age of the oldest message shall be measured and alerted per interface.
- Queues shall survive restart and failover without loss of acknowledged messages.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Idempotency key | String | Yes | Unique per logical transaction | Stable key |
| Ordering key | String | Where order matters | Present per contract | For example patient or order identifier |
| Retry policy | Structured | Yes | Maximum attempts and backoff within platform bounds | CFG-ISE-003 |
| Replay selection and reason | Structured | For replay | Items in Quarantined, Dead-lettered or Rejected state | Operator input |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-INT-005-1 | Duplicate idempotency key within the window | Not redelivered as new; original outcome returned |
| PR-INT-005-2 | Attempts exhausted | Dead-letter with history; alert by tier |
| PR-INT-005-3 | Replay without required second authorization | Refused |
| PR-INT-005-4 | Queue age exceeds threshold | Alert; visible on operations dashboard |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Dead-letter / quarantine item | Structured record with payload reference | Integration operations worklist | Reason, attempts, identifiers |
| Replay record | Structured | Audit; owning domain | Operator, scope, target, outcome per item |
| Queue metrics | Metric | MOD-ISE-008 | Depth, age, retries |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Storage unavailable when accepting a message | Durable write confirmation | Message not acknowledged; sender retries | Alert |
| Replay item invalid against current contract | Contract validation | Held; referred to Integration Engineer | "Payload not valid for current version" |
| Consumer acknowledges then fails business processing | Processed confirmation missing | Item shown as Acknowledged but not Processed on reconciliation | See FR-ISE-INT-006 |
11. State and Lifecycle Behaviour
Delivery state model of section 4.3. Dead-letter and quarantine items are retained until resolved and then for the configured retention period.
12. Audit Requirements
Replay, closure and policy changes are audited with operator, second authorizer where required, reason, scope, time and outcome.
13. Security and Privacy Requirements
Queued payloads are encrypted at rest and access-controlled. Replay permission is separate from read permission.
14. Acceptance Criteria
- AC-01: Given duplicate and delayed delivery tests, when executed, then no duplicate clinical action is created (INT-004).
- AC-02: Given a target outage, when messages are sent, then they are retried with backoff, dead-lettered after the configured attempts and none is lost.
- AC-03: Given a broker or engine restart during traffic, when service resumes, then every acknowledged message is delivered or visible in a queue (NFR-005).
- AC-04: Given dead-lettered items for a medication workflow, when replay is attempted without second authorization, then it is refused.
15. Dependencies and Integration
- Upstream dependencies: MOD-ISE-001 durable storage.
- Downstream dependencies: consuming domain services, which must implement idempotent handling (inbox) for the keys supplied.
- Required events or APIs: IF-ISE-007; EVT-ISE-001, EVT-ISE-002, EVT-ISE-018.
16. Open Questions / Assumptions
- Default retry counts, backoff and deduplication window are not given in the sources; common-practice defaults are set in CFG-ISE-003 and CFG-ISE-005.
Requirement FR-ISE-INT-006: Message-to-Transaction Reconciliation¶
| Attribute | Description |
|---|---|
| Requirement ID | FR-ISE-INT-006 |
| Requirement Name | Message-to-transaction reconciliation |
| Requirement Type | Functional |
| Module | Integration Engine and Standards Exchange |
| Functional Area | FA-ISE-006 Integration engine, delivery and reconciliation |
| Priority | Must |
| Criticality | Critical |
| Requirement Status | Draft |
| Source | INT-005; ACC-005; PRS section 9.1; contributes to RES-005 and ORD-005 (primary Domain 3) |
| Related Business Rule | BR-ISE-004 |
| Related Workflow | WF-ISE-003 |
1. Requirement Statement
The system shall reconcile sent, acknowledged, rejected and processed messages against business transactions and shall present unmatched or stale transactions on operational worklists.
2. Business Rationale
An order is not complete because a message was sent. Reconciliation is the control that reveals an order that never reached the laboratory or a result that never reached the chart.
3. Actors and Permissions
| Actor | Permission | Conditions |
|---|---|---|
| Integration Operations Analyst | Read worklist; Assign; Resolve technical exceptions | |
| Owning domain user | Resolve business exceptions on the domain's own worklist | Per Domain 10 authorization |
| Interface owner | Read reconciliation reports |
4. Preconditions - Each interface has a reconciliation procedure naming the business identifiers used for matching. - Owning domains expose the business transaction references needed for matching through an API or event.
5. Trigger - Scheduled reconciliation run; end of an outage or failover; operator request.
6. Functional Behaviour
- The platform shall match, per interface and period, the set of business transactions expected to produce a message with the messages sent, acknowledged, rejected and confirmed as processed.
- The platform shall classify exceptions as: transaction without message, message without acknowledgement, acknowledged but not processed, rejected, inbound message without matching transaction (for example an orphan result) and stale beyond the configured threshold.
- Each exception shall appear on an operational worklist with interface, identifiers, age, classification and owner.
- Technical exceptions shall be routed to integration operations; exceptions needing a business decision shall be raised to the owning domain through its API or event.
- The platform shall provide reconciliation counts per interface and period and retain them as evidence.
- For critical interfaces, the platform shall demonstrate acknowledgement, error handling, replay, reconciliation and monitoring as acceptance evidence.
7. Input Requirements
| Input Field | Data Type | Mandatory | Validation | Description |
|---|---|---|---|---|
| Interface and period | Reference / time range | Yes | Interface Active in period | Reconciliation scope |
| Business transaction references | List of identifiers | Yes | Supplied by owning domain | Expected transactions |
| Staleness threshold | Duration | Yes | Per interface | CFG-ISE-008 |
8. Processing Rules
| Rule ID | Processing Rule | Expected Result |
|---|---|---|
| PR-INT-006-1 | Transaction with no corresponding message after the threshold | Exception "transaction without message" |
| PR-INT-006-2 | Inbound message whose identifiers match no transaction | Exception "unmatched inbound"; raised to owning domain |
| PR-INT-006-3 | Exception unresolved beyond escalation time | Escalated per interface criticality |
9. Output Requirements
| Output | Format | Recipient | Description |
|---|---|---|---|
| Reconciliation worklist | Worklist | Integration operations; owning domains | Open exceptions |
| Reconciliation report | Report | Interface owner; acceptance authority | Counts sent, acknowledged, rejected, processed, unmatched |
10. Validation and Error Handling
| Scenario | Validation | System Response | User Message / Action |
|---|---|---|---|
| Owning domain reference feed unavailable | Dependency health | Run marked incomplete, not passed | Rerun when available |
| Exception closed without reason | Mandatory reason | Closure refused | "Reason required" |
11. State and Lifecycle Behaviour
A reconciliation exception is Open, Assigned, Resolved or Closed with reason. Resolved exceptions keep their resolution history.
12. Audit Requirements
Reconciliation runs, exception resolutions and closures are recorded with actor, time, reason and outcome.
13. Security and Privacy Requirements
Worklists show identifiers and metadata; payload access follows FR-ISE-INT-001 section 13.
14. Acceptance Criteria
- AC-01: Given a message that was sent but never acknowledged, when reconciliation runs, then it appears on the operational worklist (INT-005).
- AC-02: Given an inbound result with no matching order, when reconciliation runs, then the unmatched result is detected and raised to the owning domain (supports RES-005).
- AC-03: Given each critical interface, when acceptance tests run, then acknowledgement, error handling, replay, reconciliation and monitoring are demonstrated (ACC-005).
- AC-04: Given an outage window, when reconciliation completes, then counts of sent, acknowledged, rejected and processed messages equal the expected transactions or every difference is listed.
15. Dependencies and Integration
- Upstream dependencies: domain services supplying transaction references (Domains 1, 3, 4, 5).
- Downstream dependencies: owning-domain worklists; Domain 8 (integration operations indicators).
- Required events or APIs: IF-ISE-007; EVT-ISE-003.
16. Open Questions / Assumptions
- The critical interfaces for ACC-005 are those marked "Yes" in the first-release interface inventory (GAP-ISE-002, closed); the list is reviewed for each later release.
← 5.2 Module Specification: API, Web and Partner Gateways | Contents | Identifier index | 5.4 Module Specification: Event Backbone and Offline Edge →