Skip to main content

lab_result

One row per laboratory result, holding both the order and the component measured. Source and normalized codes, units and reference ranges are kept side by side so you can compare a value against the range the performing lab actually used, or against a normalized range.

At a glance​

Schemadax_core
Tablelab_result
LayerCore Data Model
Object typetable
Columns34
Grainlab_result_id, data_source
Tagscore

Columns​

ColumnTypeKeyTerminologyConstraintsDescription
lab_result_idvarcharPK—not nullDax identifier for the lab result.
person_idvarchar—not nullThe individual the specimen was taken from.
patient_idvarchar———
encounter_idvarchar——Encounter the result is associated with, where known.
accession_numbervarchar——Laboratory accession number for the specimen.
source_order_typevarcharCode type——
source_order_codevarcharLOINC——
source_order_descriptionvarchar———
source_component_typevarchar———
source_component_codevarcharLOINC—Code for the measured component, as received.
source_component_descriptionvarchar———
normalized_order_typevarcharCode type——
normalized_order_codevarcharLOINC——
normalized_order_descriptionvarchar———
normalized_component_typevarchar———
normalized_component_codevarcharLOINC—Measured component after terminology normalization.
normalized_component_descriptionvarchar———
statusvarchar———
resultvarchar——The result value.
result_datetimetimestamp——When the result was reported.
collection_datetimetimestamp——When the specimen was collected.
source_unitsvarchar——Units as reported by the source.
normalized_unitsvarchar——Units after normalization.
source_reference_range_lowvarchar——Lower bound of the source reference range.
source_reference_range_highvarchar——Upper bound of the source reference range.
normalized_reference_range_lowvarchar———
normalized_reference_range_highvarchar———
source_abnormal_codevarchar——Abnormal flag as reported by the source.
normalized_abnormal_codevarchar———
specimenvarchar——Specimen type.
ordering_practitioner_idvarcharProvider——
ingest_datetimetimestamp———
dax_last_runtimestamp——Timestamp of the warehouse build that produced this row.
data_sourcevarcharPK—not nullLabel for the contributing system.

Querying​

select *
from dax_core.lab_result
limit 100;