Blocking an order because a server is down is worse than not checking at all
Clinical decision support at order time sounds simple. A physician places an order, a service checks it against the patient record, and the screen either confirms the order or offers alternatives. In practice the check h
Clinical decision support at order time sounds simple. A physician places an order, a service checks it against the patient record, and the screen either confirms the order or offers alternatives. In practice the check has to meet three requirements at once: it runs inside the ordering screen the physician already uses, it answers fast enough not to break their train of thought, and it gives a reason rather than a bare refusal.
Almost every hard decision in this kind of integration follows from those three.
Decide the failure behaviour before anything else
The call sits inside a synchronous workflow, so a slow or missing answer is not a background problem. It is a physician waiting. That means:
- A strict timeout on every call
- A defined fail-open path, because blocking an order when the service is unreachable is the worse outcome
- A log entry for every fail-open, so the gap is visible afterwards instead of silent
Alert fatigue is a design bug
Firing on marginal cases trains clinicians to dismiss everything, including the alerts that matter. Tune the evoke conditions, the rules for when a module runs, rather than polishing the wording of the warning.
When a determination is negative, give the physician two clean paths: pick a suggested alternative, or record a justification and proceed. Store that decision as part of the audit trail.
Arden Syntax rules do not copy between hospitals
Veradigm Sunrise Clinical Manager runs clinical rules as Medical Logic Modules written in Arden Syntax. A module declares when it is evoked, the logic it evaluates and the action it returns, and it can call an external service through a linked library component.
The persistent difficulty is the curly-brace problem: the data-access expressions inside a module are bound to each institution's own tables and fields. A module written for one deployment is not simply copied to the next. Keep site-specific mappings in their own layer so that only that layer changes per installation, and pin your test environment to a specific product version, because slot behaviour and data access differ between releases.
One engine, two response shapes
Embedded surfaces want rendered markup. System-to-system callers want structured messages. Serve both from one engine so the determination underneath is identical and the two never disagree.
Several record platforms without a third engine
- A canonical internal model, with a thin adapter per vendor translating payloads in and out
- A rules engine that only ever sees the canonical form
- Terminology mapping in the same layer, reconciling procedure, diagnosis, observation and medication codes
- FHIR-based hooks and app-launch specifications running alongside the module path, not replacing it in one step
Keep patient data out of logs
Protected health information ends up in application logs and error payloads unless the design prevents it from the start. Validate with de-identified scenarios that cover missing data, ambiguous codes and contradictory record entries, not only the expected determinations, and write an audit record for every determination so the organisation can show why an order was placed the way it was.
Full case study: Veradigm EHR Integration and Clinical Decision Support Engineering
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.