Clinical Rules Engine

Vorian Connect's Clinical Rules Engine lets labs define, test, and deploy auto-verification rules through a visual builder. Rules can reference any field in an HL7 message — OBX results, patient demographics, specimen conditions, sending application, and priority — using boolean expression trees with comparison operators. An AI-assisted generator converts natural language into draft rules, and a five-stage lifecycle with simulation and validation exports ensures every rule is proven before it touches a live result.

How It Works

The Rules Engine is the fourth and final stage of Vorian's auto-verification pipeline. After the emergency brake, physiological range check, and delta check run, the engine evaluates every enabled rule against the parsed HL7 message:

Rule Builder

The dashboard provides two paths for creating rules:

Every new rule requires an explicit source-scope choice before it can be saved — all sources or a named set of selected sources. A rule cannot be created with a blank or implied scope.

Rule Lifecycle

Every rule moves through a five-stage lifecycle that enforces safe activation:

Versioning is live-pointer based. Each rule pins a live version, and evaluation always runs against that pinned version so a given message produces the same disposition every time. Editing a rule creates an unpromoted draft; promoting the draft advances the live pointer and pins that version for evaluation. Equal-priority rules evaluate in a deterministic order (priority, then rule identity), and every firing records the rule version, action, and contributed disposition for validation evidence.

Rules created before source scoping shipped retain their prior tenant-wide behavior as all sources, but are marked unreviewed until a manager confirms the scope is intentional. Unreviewed rules surface in a source-scope review queue, where a manager can mark the scope reviewed or narrow the rule to selected sources.

Rule Simulation

Before a rule goes live, the simulation engine validates it against real data:

AI-Assisted Rule Generation

Operators can describe a rule in plain language — for example, "flag potassium results above 6.0 mmol/L from the main chemistry line" — and the AI generator produces a structured rule proposal:

Supported Conditions

Rules can reference any of these HL7 field paths:

Supported operators: = (equality), !=, >, >=, <, <=, between (inclusive range), in (set membership). Conditions combine with and, or, and not to arbitrary depth.

Where It Fits

The Rules Engine runs in the cloud gateway as part of the auto-verification pipeline, after the HL7 message is parsed and persisted. It is not on the critical path for instrument ACKs — the instrument receives its ACK from the edge agent before the message reaches the gateway. Rule evaluation performance never impacts instrument throughput.

Rule results flow into the delivery subsystem: destinations can filter by verification status, routing only auto-verified results to the LIS while holding flagged results for operator review in the Worklist. Rule-fired notes appear in the Worklist and Trace Inspector with PHI-safe prefixes (rule auto_verify, rule flagged, rule rejected) — observed values are hidden until the operator opens an audited PHI troubleshooting surface.

Permissions

Last updated: September 1, 2026