ESP_DEMOGRAPHIC Table
This table contains the most recent patient demographic information.
Column | Data Type | Description |
---|---|---|
centerid | character | Center identifier. |
patid | character | Arbitrary person-level identifier. Used to link across tables. |
birth_date | integer | Date of birth, formatted as a SAS Date (number of days since Jan 1, 1960). |
sex | character(1) | Values returned: M=Male F=Female U=Unknown. |
hispanic | character(1) | A person of Hispanic race. Y=Yes, N=No, U=Unknown. |
race | integer | Values returned: |
race_ethnicity | integer | Values returned: 0=Unknown 1=Native American 2=Asian 3=Black 5=White 6=Hispanic |
zip5 | character | 5 character zip code for patient’s primary address. |
smoking | character varying(20) | Values returned: Current, Former, Never, Not Available, Passive |
- PATID is used as a primary key constraint
- There are nine B-tree indexes on the table, one for each field.
- CENTERID, RACE, RACE_ETHNICITY and SEX are constrained by foreign key constraints against their respective UVT tables described below.