ESP_DISEASE Table
This table contains one record per combination of patient and detected disease along with the detection criteria, review workflow status, reviewer notes and derived variables for 5 year, 10 year and Mini-Sentinel age groups. This table is generated via execution of the various ESP disease detection algorithms.
Column | Data Type | Description |
---|---|---|
centerid | character | Center identifier. |
patid | character | Arbitrary person-level identifier. Used to link across tables. |
condition | character | Condition that triggered the disease detection. |
date | integer | Date on which the disease was detectable, formatted as a SAS Date (number of days since Jan 1, 1960). |
age_at_detected_year | integer | Patient age as of January 1 of the year of the disease was detected. |
age_group_5yr | character | Patient age group (specified in 5 year intervals) as of Jan 1 of the year of the encounter. |
age_group_10yr | character | Patient age group (specified in 10 year intervals) as of Jan 1 of the year of the encounter. |
age_group_ms | character | Patient age group (using Mini-Sentinel age groups) as of Jan 1 of the year of the encounter. |
criteria | character | Detection criteria. |
status | character | Review workflow status. One of: AR – Awaiting review |
notes | text | Review notes. |
- PATID, CONDITION, DATE comprise the primary key constraint
- There are ten B-tree indexes on the table, one for each field except NOTES.
- CONDITION, CRITERIA and STATUS are constrained by foreign key constraints against their respective UVT tables described below.
- PATID is constrained by foreign key constraint against ESP_DEMOGRAPHIC.PATID.