documentation:cdm:concept_relationship
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| documentation:cdm:concept_relationship [2014/11/15 02:38] – created cgreich | documentation:cdm:concept_relationship [2017/09/25 14:58] (current) – clairblacketer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== CONCEPT_RELATIONSHIP table ===== | ===== CONCEPT_RELATIONSHIP table ===== | ||
| + | **THIS IS OUTDATED. All documentation is now on the [[https:// | ||
| - | The CONCEPT_RELATIONSHIP table contains records that define direct relationships between any two Concepts and the nature or type of the relationship. Each type of a relationship is defined in the RELATIONSHIP table, whcih can generally be classified as hierarchical (parent-child) or non-hierarchical (lateral). All Relationships are directional, | + | The CONCEPT_RELATIONSHIP table contains records that define direct relationships between any two Concepts and the nature or type of the relationship. Each type of a relationship is defined in the [[documentation: |
| ^Field^Required^Type^Description^ | ^Field^Required^Type^Description^ | ||
| - | |concept_id_1|Yes|integer|A foreign key to a Concept in the CONCEPT table associated with the relationship. Relationships are directional, | + | |concept_id_1|Yes|integer|A foreign key to a Concept in the [[documentation: |
| - | |concept_id_2|Yes|integer|A foreign key to a Concept in the CONCEPT table associated with the relationship. Relationships are directional, | + | |concept_id_2|Yes|integer|A foreign key to a Concept in the [[documentation: |
| - | |relationship_id|Yes|varchar(20)|A unique identifier to the type or nature of the Relationship as defined in the RELATIONSHIP table.| | + | |relationship_id|Yes|varchar(20)|A unique identifier to the type or nature of the Relationship as defined in the [[documentation: |
| |valid_start_date|Yes|date|The date when the instance of the Concept Relationship is first recorded.| | |valid_start_date|Yes|date|The date when the instance of the Concept Relationship is first recorded.| | ||
| |valid_end_date|Yes|date|The date when the Concept Relationship became invalid because it was deleted or superseded (updated) by a new relationship. Default value is 31-Dec-2099.| | |valid_end_date|Yes|date|The date when the Concept Relationship became invalid because it was deleted or superseded (updated) by a new relationship. Default value is 31-Dec-2099.| | ||
| Line 12: | Line 13: | ||
| ==== Conventions ==== | ==== Conventions ==== | ||
| + | * Relationships can generally be classified as hierarchical (parent-child) or non-hierarchical (lateral). | ||
| + | * All Relationships are directional, | ||
| * There is one record for each Concept Relationship connecting the same Concepts with the same relationship_id. | * There is one record for each Concept Relationship connecting the same Concepts with the same relationship_id. | ||
| - | * Since all Concept Relationships exist with their mirror image (concept_id_1 and concept_id_2 swapped, and the relationship_id replaced by the reverse_relationship_id from the [[documentation:cdm: | + | * Since all Concept Relationships exist with their mirror image (concept_id_1 and concept_id_2 swapped, and the relationship_id replaced by the reverse_relationship_id from the [[documentation: |
| - | * Concept Relationships define direct relationships between Concepts. Indirect relationships through 3rd concepts | + | * Concept Relationships define direct relationships between Concepts. Indirect relationships through 3rd Concepts |
| - | * In previous versions of the CDM, the relationship_id used to be a numerical identifier. See the [[documentation:cdm: | + | * In previous versions of the CDM, the relationship_id used to be a numerical identifier. See the [[documentation: |
| - | ~~DISQUS~~ | ||
documentation/cdm/concept_relationship.1416019109.txt.gz · Last modified: by cgreich
