Preserve patient and order groups
V2Lift supports repeated ORU patient-result contexts and repeated OBR order groups. Patient references stay within their source patient group. Within that context, an OBX result belongs to the most recent preceding supported order. An OBX before any OBR is rejected. A prior order group must not suppress identifiers or supply context to a later unrelated group.
When reviewing a multi-patient example, compare Observation.subject references and the related report/order links. Counting the expected number of Observations is useful, but it does not prove that the relationships are correct. Reference isolation is a separate requirement.
Build the supported result resources
OBR contributes a ServiceRequest and, in the ORU result context, a DiagnosticReport. OBX contributes Observation resources. A supported SPM can add Specimen information. The result/report/specimen links remain scoped to the current order group. Specimen support depends on the source version and native definition; an old source does not acquire a modern SPM layout by assumption.
| Source field | Supported target | Review focus |
|---|---|---|
| OBR-4 | ServiceRequest / DiagnosticReport code | Keep order/result context |
| OBX-3 | Observation.code | Preserve supported code and system |
| OBX-5 | Observation.value[x] | Choose by the supported OBX-2 type |
| OBX-6 | Quantity units for NM | Use a canonical system only when known |
| OBX-11 / OBX-14 | Status / effective time | Use supported statuses and explicit offsets |
Choose the value type from OBX-2
The implemented OBX-5 subset includes NM numeric quantities, ST/FT/TX text and CE/CNE/CWE coded values. The source datatype determines the target value type. A number-like string is not silently promoted to a measured Quantity, and a coded result is not flattened to display text merely because that is easier to render.
For scalar results, later OBX-5 repetitions remain visible as unmapped data rather than overwriting the first value. SN, ED and other unsupported result datatypes require additional typed handling; loading a source rule does not make an unimplemented handler available. Embedded-document handling in MDM is a separate context.
Preserve code-system and unit meaning
Known source system abbreviations such as LN, SCT and UCUM have explicit canonical-URI translations in the supported handlers. Unknown abbreviations are not relabeled as LOINC, SNOMED CT or UCUM. The code, display and system should be inspected together. A familiar unit display alone does not prove that a result uses a valid standardized unit code.
Offline base-profile validation does not check every external laboratory terminology combination or establish whether the measured value makes clinical sense. A receiving laboratory guide may add specimen, method, organism, reporting-facility or timing requirements beyond the supported conversion fields.
Use a source guide for the actual interface
The source-only validator can execute selected published laboratory XML definitions separately from conversion. Some published APHL test packages require external constraint plugins. Missing classes and unavailable terminology remain explicit exclusions or incomplete checks; they must not be represented as a fully passing guide assessment.
An upstream fixture is not automatically a positive conformance example. The pinned NIST fixtures include inputs that return source errors and one with an actual declared truncation marker. V2Lift preserves those originals as execution tests and rejects incomplete clinical values instead of rewriting the fixture into a different message.
Review a synthetic laboratory conversion
Load Lab results or Two patient results. Convert the message and inspect the FHIR Bundle, then follow each Observation.subject and order/report reference. Check the value type, units, result status and effective time. Read source findings separately from target validation and keep unsupported fields in the review record.
The resulting Bundle is a documented R4 projection. It does not demonstrate that a laboratory or EHR has received the result, reconciled its patient identity or accepted its terminology. Those are integration contracts outside the hosted synthetic demonstration.
Common questions
Does every OBX become a numeric FHIR Observation?
No. OBX-2 selects a supported value type. Numeric, text and coded values have different typed handlers, while unsupported types remain visible as unmapped.
Can ORU R01 contain more than one patient?
The supported ORU converter handles repeated patient-result groups. Each result and its report/order references must stay inside the correct patient and order context.
Source references and implementation scope
These guides explain the implemented V2Lift subset. Source specifications and guide requirements must be checked for the actual interface; the hosted workspace is a synthetic demonstration.
Follow the mapping in the workspace.
Inspect a synthetic message, review field origins and compare source findings with FHIR R4 checks.
Open the converter →