COHORT_ATTRIBUTE table

THIS IS OUTDATED. All documentation is now on the github wiki. Please refer there or to the CDM working group for more information

The COHORT_ATTRIBUTE table contains attributes associated with each subject within a cohort, as defined by a given set of criteria for a duration of time. The definition of the Cohort Attribute is contained in the ATTRIBUTE_DEFINITION table.

FieldRequiredTypeDescription
cohort_definition_idYesintegerA foreign key to a record in the COHORT_DEFINITION table containing relevant Cohort Definition information.
subject_idYesintegerA foreign key to the subject in the Cohort. These could be referring to records in the PERSON, PROVIDER, VISIT_OCCURRENCE table.
cohort_start_dateYesdateThe date when the Cohort Definition criteria for the Person, Provider or Visit first match.
cohort_end_dateYesdateThe date when the Cohort Definition criteria for the Person, Provider or Visit no longer match or the Cohort membership was terminated.
attribute_definition_idYesintegerA foreign key to a record in the ATTRIBUTE_DEFINITION table containing relevant Attribute Definition information.
value_as_numberNofloatThe attribute result stored as a number. This is applicable to attributes where the result is expressed as a numeric value.
value_as_concept_idNointegerThe attribute result stored as a Concept ID. This is applicable to attributes where the result is expressed as a categorical value.

Conventions