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_idvarcharPKnot nullDax identifier for the lab result.
person_idvarcharnot nullThe individual the specimen was taken from.
patient_idvarchar
encounter_idvarcharEncounter the result is associated with, where known.
accession_numbervarcharLaboratory accession number for the specimen.
source_order_typevarcharCode type
source_order_codevarcharLOINC
source_order_descriptionvarchar
source_component_typevarchar
source_component_codevarcharLOINCCode for the measured component, as received.
source_component_descriptionvarchar
normalized_order_typevarcharCode type
normalized_order_codevarcharLOINC
normalized_order_descriptionvarchar
normalized_component_typevarchar
normalized_component_codevarcharLOINCMeasured component after terminology normalization.
normalized_component_descriptionvarchar
statusvarchar
resultvarcharThe result value.
result_datetimetimestampWhen the result was reported.
collection_datetimetimestampWhen the specimen was collected.
source_unitsvarcharUnits as reported by the source.
normalized_unitsvarcharUnits after normalization.
source_reference_range_lowvarcharLower bound of the source reference range.
source_reference_range_highvarcharUpper bound of the source reference range.
normalized_reference_range_lowvarchar
normalized_reference_range_highvarchar
source_abnormal_codevarcharAbnormal flag as reported by the source.
normalized_abnormal_codevarchar
specimenvarcharSpecimen type.
ordering_practitioner_idvarcharProvider
ingest_datetimetimestamp
dax_last_runtimestampTimestamp of the warehouse build that produced this row.
data_sourcevarcharPKnot nullLabel for the contributing system.

Querying

select *
from dax_core.lab_result
limit 100;