Patient demographics. Root entity of the EHR; every clinical record links back to a patient.
Id| Column | Type | Description | Lineage |
|---|---|---|---|
BIRTHDATE | DATE | Date the patient was born. | — |
CITY | VARCHAR | Patient's home city. | — |
DEATHDATE | DATE | Date the patient died, if applicable. | — |
ETHNICITY | VARCHAR | Description of the patient's primary ethnicity. | — |
FIRST | VARCHAR | First (given) name of the patient. | — |
GENDER | VARCHAR | Gender. M is male, F is female. | — |
HEALTHCARE_COVERAGE | DECIMAL | Total lifetime cost of healthcare covered by payers. | — |
HEALTHCARE_EXPENSES | DECIMAL | Total lifetime cost of healthcare to the patient (i.e. self-pay). | — |
Id | VARCHAR | Primary key. Unique patient identifier (UUID). | ↓ 7 downstream
|
LAST | VARCHAR | Last (family) name of the patient. | — |
RACE | VARCHAR | Description of the patient's primary race. | — |
SSN | VARCHAR | Patient Social Security Number. | — |
STATE | VARCHAR | Patient's home state. | — |
ZIP | VARCHAR | Patient's zip code. | — |
Per-column derivations, validations, downstream links. Click any column above to jump.
BIRTHDATEDate the patient was born.
Examples: 1980-04-12, 1955-11-30
CITYPatient's home city.
Examples: Boston, Worcester
DEATHDATEDate the patient died, if applicable.
ETHNICITYDescription of the patient's primary ethnicity.
Examples: hispanic, nonhispanic
FIRSTFirst (given) name of the patient.
Examples: Maria, James
GENDERGender. M is male, F is female.
| Rule | Severity | Description |
|---|---|---|
expect_column_values_to_be_in_set | critical | Gender is recorded as M or F. |
Examples: M, F
HEALTHCARE_COVERAGETotal lifetime cost of healthcare covered by payers.
Examples: 89210.00
HEALTHCARE_EXPENSESTotal lifetime cost of healthcare to the patient (i.e. self-pay).
Examples: 12450.30
IdPrimary key. Unique patient identifier (UUID).
| Rule | Severity | Description |
|---|---|---|
expect_column_values_to_not_be_null | critical | Every patient must have a primary key. |
Examples: 3b3d3f..., a1c2e4...
LASTLast (family) name of the patient.
Examples: Gonzalez, Smith
RACEDescription of the patient's primary race.
Examples: white, black, asian
SSNPatient Social Security Number.
Examples: 999-21-1234
STATEPatient's home state.
Examples: Massachusetts
ZIPPatient's zip code.
Examples: 02118