Compound Observation Identity
Some analyzer results are compound — a single observation whose identity is carried across multiple fields rather than one scalar code. Vorian Connect models that multi-component topology and resolves each compound observation to a specific analyte slot in shadow mode, so interface engineers can review the proposed identity in Message Trace before it ever changes production behavior.
How It Works
- Vorian's production pipeline maps every result by its collapsed scalar identifier (for HL7, the
OBX-3code; for ASTM, the primary identifier field). Compound Observation Identity adds a parallel, shadow-only resolution that reads the full component vector instead. - The identity of a compound observation is modeled as a topology: a driver identifies the assay by a fixed set of component positions, the observation is matched to an analyte group, and the result is resolved to a positional slot within that group — each slot carrying a human-readable label.
- Resolution is recorded as evidence in a journal with one of nine statuses describing exactly what happened — a clean resolution, or a specific reason it did not resolve.
- The resolved identity is not applied to production. Mapping, auto-verification, rules, reference ranges, delta checks, and delivery continue to consume the scalar identifier. The compound resolution runs alongside, and its evidence is surfaced for review only.
Governed Topology: What Vorian Supplies vs. What the Lab Supplies
Compound identity is modeled in two governed layers, splitting responsibility cleanly between Vorian and the lab:
- Vorian ships the shape. Topology drivers declare which component positions identify the assay and define the analyte slots within it — their human labels, presence conditions, and expected data types. Drivers and slots are read-only at runtime; they are not editable per site.
- The lab supplies the site values. A per-source binding maps a driver to the exact-case component values the lab's analyzer actually emits, the analyte-group values, and the human annotations that make the topology meaningful for that instrument. Bindings carry a
draft/approved/retiredlifecycle, with approval recorded against the approving user and time.
This division keeps the shared topology consistent across sites while letting each lab encode the exact codes and labels its instrument produces.
Resolution Statuses
Every compound observation resolves to exactly one status, rendered in Message Trace as a fixed, plain-language sentence:
resolved— the observation resolved to one configured slot.no_driver— no topology driver is configured for this assay.ambiguous_driver— more than one topology driver matches this assay.case_near_miss— a configured code differs from the observed code only by capitalisation; the exact-case identity is withheld rather than silently accepted.group_unmatched— no configured analyte group matches the observed identity components.ambiguous_group— more than one configured analyte group matches the observed identity components.slot_unmatched— the observed position does not match exactly one configured slot.condition_failed— the assigned slot failed its configured presence condition.condition_unknown— a slot condition could not be evaluated because no semantic map is configured.
Near-misses and failed conditions carry structured detail — the exact component position and the configured-versus-observed values — so an engineer can see why an identity did not resolve, not just that it did not.
Reviewing Evidence in Message Trace
The shadow resolution is joined to Message Trace by the message and observation, so each compound observation shows a direct comparison: the production scalar code and its mapped test name beside the shadow driver, analyte group, slot position and label, resolution status, and any condition evidence.
- Shadow evidence is explicitly labeled as not in production use.
- The raw message payload stays behind the existing audited troubleshooting-reason flow; the identity comparison itself is PHI-free.
- The resolution journal stores no raw payload and no result value — only the protocol identity, selected driver and version, group, slot, human label, and condition evaluations.
Where It Fits
Compound Observation Identity extends the Test Identities model. Test identities map the scalar code of a result to its named test and provenance; compound identity addresses the cases where a single record's meaning is spread across multiple components and needs a richer, topology-aware resolution.
Because it runs in shadow mode, it does not interfere with the existing mapping, Result Correlation, or Auto-Verification paths. Its output is an operator-facing aid in the Observability and Trace surfaces, giving interface engineers a way to validate a compound resolution against real traffic before any change is promoted.
Technical Details (for evaluators)
Resolution supports both ASTM and HL7 observations. Slot presence can be unconditional or dependent on an anchor slot in the same analyte group — either on the anchor's value (DEPENDENT_ON_ANCHOR_VALUE) or its data type (DEPENDENT_ON_ANCHOR_DATATYPE), with each slot able to declare an expected data type.
Both the topology bindings and the resolution journal are tenant-isolated at the database level, so one tenant's drivers, site values, and resolution evidence are never visible to another. The Vorian-shipped driver and slot definitions are write-protected at runtime, while the lab's bindings and the journal remain runtime-owned.