THIS IS OUTDATED. All documentation is now on the github wiki. Please refer there or to the CDM working group for more information
The FACT_RELATIONSHIP table contains records about the relationships between facts stored as records in any table of the CDM. Relationships can be defined between facts from the same domain (table), or different domains. Examples of Fact Relationships include: Person relationships (parent-child), care site relationships (hierarchical organizational structure of facilities within a health system), indication relationship (between drug exposures and associated conditions), usage relationships (of devices during the course of an associated procedure), or facts derived from one another (measurements derived from an associated specimen).
Field | Required | Type | Description |
---|---|---|---|
domain_concept _id_1 | Yes | integer | The concept representing the domain of fact one, from which the corresponding table can be inferred. |
fact_id_1 | Yes | integer | The unique identifier in the table corresponding to the domain of fact one. |
domain_concept_id_2 | Yes | integer | The concept representing the domain of fact two, from which the corresponding table can be inferred. |
fact_id_2 | Yes | integer | The unique identifier in the table corresponding to the domain of fact two. |
relationship_concept_id | Yes | integer | A foreign key to a Standard Concept ID of relationship in the Standardized Vocabularies. |