Skip to main content
Next Defence - Next-Gen AI Cyber Security Firm
Australia & New Zealand[email protected](02) 9064 2614
INSIGHT

Clinical Messaging Integrations Need a Destination-Specific Security Model

A hospital integration engine forwards lab results between clinics and external providers. Practical checks, containment and acceptance criteria for clinical integration managers.

A trusted laboratory message can still reach the wrong practice

A hospital integration engine receives laboratory results and forwards them to external clinics. Its messages may be correctly authenticated, correctly formatted and successfully acknowledged while reaching an obsolete endpoint. The immediate hazard is not an attacker forging a result; it is the system faithfully delivering clinical information to a destination that is no longer responsible for the patient or has been reassigned to another practice. Treat destination selection as a security and clinical-safety decision, not just an interface configuration item.

Routing tables often combine provider identifiers, facility codes, practice addresses, message types and historical delivery preferences. Some changes originate in a clinical directory while others are manually applied to the integration engine. A practice may merge, close, move to a new messaging provider or transfer its patients without every upstream record being updated. A stale destination can therefore persist even after a support ticket says the change was completed. The review needs a current register of endpoint owners and an explanation of how routing changes are authorised, applied, tested and retired.

Follow a synthetic result to its final recipient

Take a fictional pathology result for a fictional patient. Identify the originating laboratory, the requesting clinician, the intended practice and the exact destination identifier that the engine will use. The test should inspect both the chosen route and any alternative route used on retries or failover. A positive case shows a message arriving only at the current authorised recipient and being acknowledged under the expected organisation identity. A negative case replaces the destination with a retired practice endpoint; the system should quarantine the message or require a validated route change rather than delivering it because an old identifier still exists.

Do not run the negative test using identifiable patient data or send a test result into a live clinical inbox without agreement from the clinical owner. Use synthetic records and approved non-production destinations. Where a vendor cannot safely reproduce the route, obtain configuration exports, delivery traces and evidence of endpoint verification. That is a narrower assurance claim than a successful live negative test; the distinction should remain visible in the report. Likewise, testing the interface engine alone does not prove what an external provider does with a forwarded copy.

A message identifier should survive across the laboratory, integration engine, delivery broker and destination acknowledgement. If the receiving service replaces identifiers, record the translation. Time zones, retries, cached directory lookups and queued messages can complicate the sequence. A successful ‘200 OK’ from a gateway may mean only that a broker accepted the payload, not that an authorised clinician received it. The evidence must say which stage was observed and whether a later business acknowledgement is expected.

Ownership of the destination directory

The clinical integration manager needs a defined change authority. A request to redirect results must be verified with the relevant practice or provider through a trusted contact, not merely through an email from a user who knows an interface name. The change record should show the old and new endpoint, reason for change, effective date, approving clinician or practice representative, and rollback condition. Where a practice is closed, the old route should be deactivated rather than left as a silent fallback. Retention and deletion requests for misdelivered results may involve both the sending and receiving organisations.

A common operational exception occurs when urgent treatment requires rapid rerouting. Create an emergency pathway with a named clinical decision-maker, a second verification where feasible, restricted duration and a post-event reconciliation. The alternative is an unrecorded manual override that remains active for months. Operational staff also need a safe process for undeliverable messages: route them into a monitored work queue, not a default mailbox that anyone in IT can open. Clinical escalation should distinguish a communication failure from an incorrectly reported test result.

Investigating a suspected misdelivery

Start by defining what was actually observed. A configuration error may be present without evidence that a result left the hospital. An outbound delivery event is different from proof that an external practice accessed a document. Gather message IDs, routing snapshots, acknowledgements, affected date ranges, destination ownership records and support tickets. Restrict access to the evidence because it may contain patient information. Preserve the original route and sequence before updating the table so investigators can establish which messages may have been affected.

The clinical owner should determine whether patient care was delayed, whether a treating clinician needs direct notification and whether a privacy assessment is required. Do not describe all incorrect routing as a reportable privacy breach without examining the facts, recipient, information involved and applicable legal requirements. At the same time, avoid assuming a message was harmless because a transport-level acknowledgement succeeded. Clinical and privacy consequences depend on the receiving party and the information actually exposed.

If messages are replayed after correcting the destination, prevent duplicate clinical actions. The receiving service may already have processed the first copy, or a clinician may have acted on a phone notification. Use idempotent message handling, explicit supersession status and clinical reconciliation for uncertain results. Restore delivery in a way that preserves the original timestamps and makes the correction traceable; silently editing the old record can obscure the sequence of care.

What a complete review should prove

A satisfactory demonstration covers onboarding a new destination, retiring an old one, emergency rerouting, retry behaviour and the handling of unknown recipients. It confirms who may change routing, how practice ownership is independently verified and what evidence the sender receives after delivery. It also documents what happens if the endpoint directory and the integration engine disagree. Endpoint certificates and encrypted transport protect the path, but neither substitutes for evidence that the intended practice was selected.

Keep a recurring review of high-risk destinations and recent route changes, particularly after clinic mergers or messaging-provider migrations. Report undelivered queues, unauthorised reroutes, stale entries and the time taken to reconcile uncertain deliveries. The core security objective is destination correctness that clinicians can rely on, not simply an interface dashboard showing a green connection state.

A migration can reintroduce a destination you thought was retired

When a messaging provider changes, the integration team may export a routing table, transform identifiers and import it into a new engine. Old practice routes can be carried across as apparently valid configuration, particularly where the migration does not include a fresh endpoint ownership check. Compare the source and destination directory entries as a clinical change-control exercise, not merely an IT reconciliation. A newly created route should be supported by evidence that the receiving practice still exists, is authorised for the message type and has accepted the communication arrangement.

For queued messages, define which configuration version applies. An engine may retry a failed message after the route has changed; sending it to the new destination without checking clinical intent might be inappropriate, but sending it to the retired one can be worse. A controlled replay should require an explicit decision about the intended recipient and preserve the original delivery attempt in the audit history. The team should also agree when a message must be escalated to a clinician by telephone rather than left indefinitely in an interface queue.

Maintain a distinction between laboratory result transport and clinical responsibility. An endpoint owner can confirm it received bytes, while the requesting clinician or care team must determine whether the result was clinically acknowledged and acted upon. Strong technical delivery evidence supports care continuity, but it does not replace the clinical workflow for critical results. Include that hand-off in interface acceptance tests and post-incident reviews.

Retire the fallback that was once useful

A common legacy pattern keeps a default recipient configured for messages whose normal route cannot be found. That fallback may have been useful during initial installation but can quietly become a source of inappropriate disclosure when a clinic closes or a provider code is reused. Review the default and exception routes explicitly. Unknown destinations should enter a monitored reconciliation queue with restricted access and clear clinical ownership, not a broadly accessible general mailbox. When a practice requests rerouting, the integration owner should confirm how outstanding undelivered messages will be processed and whether any require direct clinician notification. This prevents a straightforward configuration correction from creating a second problem with delayed or duplicate clinical communication.

Sources and further reading

How Next Defence supports this work

Next Defence can work with the clinical integration manager to verify the specific exposure, help implement the proposed control (bind routing to verified recipient organisations and require lifecycle reviews after mergers) and document a repeatable test using message routing tables, endpoint ownership, interface engine logs and acknowledgement responses. Engagement scope and outcomes depend on the organisation’s systems and agreed testing authority.

Explore related security capabilities

LET'S TALK

Let’s talk about your security.

Tell us what you are protecting, where you need greater visibility or what you want to achieve. We will help identify the right next step.

Talk to a Security Specialist

Describe your security requirements. Please do not submit passwords, credentials or confidential incident evidence. This form is not an emergency incident-response channel.

Form powered by HubSpot. Review our Privacy Policy. If the form doesn’t load, email [email protected].