Entity - episode_event link
Properties |
Name | Value | ||||||||||||||||||||||||||||||||||||||
Description |
EPISODE_EVENTTable Description The EPISODE_EVENT table connects qualifying clinical events (such as CONDITION_OCCURRENCE, DRUG_EXPOSURE, PROCEDURE_OCCURRENCE, MEASUREMENT) to the appropriate EPISODE entry. For example, linking the precise location of the metastasis (cancer modifier in MEASUREMENT) to the disease episode. User Guide This connecting table is used instead of the FACT_RELATIONSHIP table for linking low-level events to abstracted Episodes. ETL Conventions Some episodes may not have links to any underlying clinical events. For such episodes, the EPISODE_EVENT table is not populated.
|
||||||||||||||||||||||||||||||||||||||
Data Model | Physical | ||||||||||||||||||||||||||||||||||||||
Primary Key Clustered | Unspecified | ||||||||||||||||||||||||||||||||||||||
Unlogged | false |
Columns Summary |
Column Name | Data Type | PK / FK | Nullable | Description | |||||
episode_id | int8 | PK / FK | No | ||||||
event_id | int8 | No | |||||||
episode_event_field_concept_id | int4 | PK / FK | No |
Relationships Summary |
Columns Detail |
Name | Value | ||
Name | episode_id | ||
Type | int8 | ||
Nullable | false | ||
Unique | false | ||
Primary Key | true | ||
Index | false | ||
Type Name | int8 | ||
Length | 0 | ||
Scale | 0 | ||
Id Generator | native | ||
Foreign Key | true | ||
Generated | Unspecified | ||
Sync To Attribute | Yes |
Name | Value | ||
Name | event_id | ||
Type | int8 | ||
Nullable | false | ||
Unique | false | ||
Primary Key | false | ||
Index | false | ||
Type Name | int8 | ||
Length | 0 | ||
Scale | 0 | ||
Id Generator | native | ||
Foreign Key | false | ||
Generated | Unspecified | ||
Sync To Attribute | Yes |
Name | Value | ||
Name | episode_event_field_concept_id | ||
Type | int4 | ||
Nullable | false | ||
Unique | false | ||
Primary Key | true | ||
Index | false | ||
Length | 0 | ||
Scale | 0 | ||
Id Generator | native | ||
Foreign Key | true | ||
Generated | Unspecified | ||
Sync To Attribute | Yes |
Relationships Detail |
Name | Value | ||||||||
Name | fpk_episode_event_episode_id | ||||||||
Foreign Key |
|
||||||||
Primary Key |
|
||||||||
To Multiplicity | 0..* | ||||||||
From Multiplicity | 1 | ||||||||
Sync To Association | Yes | ||||||||
Data Model | Physical |
Name | Value | ||||||||
Name | fpk_episode_event_episode_event_field_concept_id | ||||||||
Foreign Key |
|
||||||||
Primary Key |
|
||||||||
To Multiplicity | 0..* | ||||||||
From Multiplicity | 0..1 | ||||||||
Sync To Association | Yes | ||||||||
Data Model | Physical |
Appears In |
Diagram | |||
|
|||
|