User Tools

Site Tools


documentation:cdm:measurement

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
documentation:cdm:measurement [2016/06/03 14:33]
cgreich
documentation:cdm:measurement [2016/06/04 06:13]
cgreich
Line 19: Line 19:
 |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 ​as stored in the source data.|+|value_source_value|No|varchar(50)|The source value associated with the content of the value_as_number or value_as_concept_id ​as stored in the source data.|
 ==== 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 '​Albumin [Mass/time] in 24 hour Urine' is the lab test to measure a certain chemical in a urine sample.   * 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 '​Albumin [Mass/time] in 24 hour Urine' is the lab test to measure a certain chemical in a urine sample.
   * Even though each Measurement always have a result, the fields value_as_number and value_as_concept_id are not mandatory. When the result is not known, the Measurement record represents just the fact that the corresponding Measurement was carried out, which in itself is already useful information for some use cases.   * Even though each Measurement always have a result, the fields value_as_number and value_as_concept_id are not mandatory. When the result is not known, the Measurement record represents just the fact that the corresponding Measurement was carried out, which in itself is already useful information for some use cases.
-  * Note that the value of value_as_concept_id may be provided through mapping from a source Concept which contains the result (like positive pregnancy test codes). In those situations, the CONCEPT_RELATIONSHIP table in addition to the "Maps to" record contains a second record with the relationship_id set to "Maps to value"​. 
   * Valid Measurement Concepts (measurement_concept_id) belong to the '​Measurement'​ domain, but could overlap with the '​Observation'​ domain. This is due to the fact that there is a continuum between systematic examination or testing (Measurement) and a simple determination of fact (Observation). When the Measurement Source Value of the code cannot be translated into a standard Measurement Concept ID, a Measurement entry is stored with only the corresponding source_concept_id and measurement_source_value and a measurement_concept_id of 0.   * Valid Measurement Concepts (measurement_concept_id) belong to the '​Measurement'​ domain, but could overlap with the '​Observation'​ domain. This is due to the fact that there is a continuum between systematic examination or testing (Measurement) and a simple determination of fact (Observation). When the Measurement Source Value of the code cannot be translated into a standard Measurement Concept ID, a Measurement entry is stored with only the corresponding source_concept_id and measurement_source_value and a measurement_concept_id of 0.
   * 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),​ or a numerical value (value_as_number) with a Unit (unit_concept_id). ​   * 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),​ or a numerical value (value_as_number) with a Unit (unit_concept_id). ​
   * 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, ​SNOMED-CT 71628007 ​concept_id ​4325125 '​Abnormal presence ​of albumin' ​indicates a Measurement ​(albumin in sample) ​and the result (abnormal). In future releases of the Standardized Vocabulariesthese will be split into the correct Measurement and result.+  * For some Measurement Concepts, the result is included in the test. For example, ​ICD10 concept_id ​45595451 "​Presence ​of alcohol in blood, level not specified" ​indicates a Measurement and the result (present).  In those situations, ​the CONCEPT_RELATIONSHIP table in addition to the “Maps to” record contains a second record with the relationship_id set to “Maps to value”. In this example, the “Maps to” relationship directs to 4041715 "Blood ethanol measurement"​ as well as a “Maps to value” record to 4181412 "​Present"​.
   * 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 '​='​ is identical to omission of a operator_concept_id value. Since the use of this field is rare, it's important when devising analyses to not to forget testing for the content of this field for values different from =.   * The meaning of Concept 4172703 for '​='​ is identical to omission of a operator_concept_id value. Since the use of this field is rare, it's important when devising analyses to not to forget testing for the content of this field for values different from =.
documentation/cdm/measurement.txt · Last modified: 2017/09/25 15:02 by clairblacketer