documentation:cdm:measurement
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| documentation:cdm:measurement [2014/12/06 17:46] – cgreich | documentation:cdm:measurement [2017/09/25 15:02] (current) – clairblacketer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== MEASUREMENT table ===== | ===== MEASUREMENT table ===== | ||
| + | **THIS IS OUTDATED. All documentation is now on the [[https:// | ||
| + | |||
| + | This table changed in version 5.1 of the OMOP CDM. The field measurement_datetime was added. | ||
| + | |||
| + | ----- | ||
| + | |||
| The MEASUREMENT table contains records of Measurement, | The MEASUREMENT table contains records of Measurement, | ||
| ^Field^Required^Type^Description^ | ^Field^Required^Type^Description^ | ||
| Line 6: | Line 12: | ||
| |measurement_concept_id|Yes|integer|A foreign key to the standard measurement concept identifier in the Standardized Vocabularies.| | |measurement_concept_id|Yes|integer|A foreign key to the standard measurement concept identifier in the Standardized Vocabularies.| | ||
| |measurement_date|Yes|date|The date of the Measurement.| | |measurement_date|Yes|date|The date of the Measurement.| | ||
| - | |measurement_time|No|time|The time of the Measurement.| | + | |measurement_datetime|No|datetime|The date and time of the Measurement. |
| |measurement_type_concept_id|Yes|integer|A foreign key to the predefined Concept in the Standardized Vocabularies reflecting the provenance from where the Measurement record was recorded.| | |measurement_type_concept_id|Yes|integer|A foreign key to the predefined Concept in the Standardized Vocabularies reflecting the provenance from where the Measurement record was recorded.| | ||
| |operator_concept_id|No|integer|A foreign key identifier to the predefined Concept in the Standardized Vocabularies reflecting the mathematical operator that is applied to the value_as_number. Operators are <, ≤, =, ≥, >.| | |operator_concept_id|No|integer|A foreign key identifier to the predefined Concept in the Standardized Vocabularies reflecting the mathematical operator that is applied to the value_as_number. Operators are <, ≤, =, ≥, >.| | ||
| Line 19: | Line 25: | ||
| |measurement_source_concept_id|No|integer|A foreign key to a Concept in the Standard Vocabularies that refers to the code used in the source.| | |measurement_source_concept_id|No|integer|A foreign key to a Concept in the Standard Vocabularies that refers to the code used in the source.| | ||
| |unit_source_value|No|varchar(50)|The source code for the unit as it appears in the source data. This code is mapped to a standard unit concept in the Standardized Vocabularies and the original code is stored here for reference.| | |unit_source_value|No|varchar(50)|The source code for the unit as it appears in the source data. This code is mapped to a standard unit concept in the Standardized Vocabularies and the original code is stored here for reference.| | ||
| - | |value_source_value|No|varchar(50)|The source value associated with the content of the value_as_number or value_as_concept | + | |value_source_value|No|varchar(50)|The source value associated with the content of the value_as_number or value_as_concept_id |
| ==== Conventions ==== | ==== Conventions ==== | ||
| * Measurements differ from Observations in that they require a standardized test or some other activity to generate a quantitative or qualitative result. For example, LOINC 1755-8 concept_id 3027035 ' | * Measurements differ from Observations in that they require a standardized test or some other activity to generate a quantitative or qualitative result. For example, LOINC 1755-8 concept_id 3027035 ' | ||
| - | * Even though each Measurement | + | * Even though each Measurement |
| - | * Valid Measurement Concepts (measurement_concept_id) belong to the ' | + | * Valid Measurement Concepts (measurement_concept_id) belong to the ' |
| * Measurements are stored as attribute value pairs, with the attribute as the Measurement Concept and the value representing the result. The value can be a Concept (stored in value_as_concept), | * Measurements are stored as attribute value pairs, with the attribute as the Measurement Concept and the value representing the result. The value can be a Concept (stored in value_as_concept), | ||
| * Valid Concepts for the value_as_concept field belong to the 'Meas Value' domain. | * Valid Concepts for the value_as_concept field belong to the 'Meas Value' domain. | ||
| - | * For some Measurement Concepts, the result is included in the test. For example, | + | * For some Measurement Concepts, the result is included in the test. For example, |
| * The operator_concept_id is optionally given for relative Measurements where the precise value is not available but its relation to a certain benchmarking value is. For example, this can be used for minimal detection thresholds of a test. | * The operator_concept_id is optionally given for relative Measurements where the precise value is not available but its relation to a certain benchmarking value is. For example, this can be used for minimal detection thresholds of a test. | ||
| * The meaning of Concept 4172703 for ' | * The meaning of Concept 4172703 for ' | ||
| Line 34: | Line 40: | ||
| * The Visit during which the observation was made is recorded through a reference to the VISIT_OCCURRENCE table. This information is not always available. | * The Visit during which the observation was made is recorded through a reference to the VISIT_OCCURRENCE table. This information is not always available. | ||
| * The Provider making the observation is recorded through a reference to the PROVIDER table. This information is not always available. | * The Provider making the observation is recorded through a reference to the PROVIDER table. This information is not always available. | ||
| - | |||
documentation/cdm/measurement.1417888017.txt.gz · Last modified: by cgreich
