patients

patientsingested

Overview

Patient demographics. Root entity of the EHR; every clinical record links back to a patient.

Primary key
Id
Total columns
14

Columns

ColumnTypeDescriptionLineage
BIRTHDATEDATEDate the patient was born.—
CITYVARCHARPatient's home city.—
DEATHDATEDATEDate the patient died, if applicable.—
ETHNICITYVARCHARDescription of the patient's primary ethnicity.—
FIRSTVARCHARFirst (given) name of the patient.—
GENDERVARCHARGender. M is male, F is female.—
HEALTHCARE_COVERAGEDECIMALTotal lifetime cost of healthcare covered by payers.—
HEALTHCARE_EXPENSESDECIMALTotal lifetime cost of healthcare to the patient (i.e. self-pay).—
IdVARCHARPrimary key. Unique patient identifier (UUID).
LASTVARCHARLast (family) name of the patient.—
RACEVARCHARDescription of the patient's primary race.—
SSNVARCHARPatient Social Security Number.—
STATEVARCHARPatient's home state.—
ZIPVARCHARPatient's zip code.—

Engineering detail

Per-column derivations, validations, downstream links. Click any column above to jump.

BIRTHDATE

DATE

Date the patient was born.

Examples: 1980-04-12, 1955-11-30

CITY

VARCHARlen ≤ 100

Patient's home city.

Examples: Boston, Worcester

DEATHDATE

DATE

Date the patient died, if applicable.

ETHNICITY

VARCHARlen ≤ 40

Description of the patient's primary ethnicity.

Examples: hispanic, nonhispanic

FIRST

VARCHARlen ≤ 100

First (given) name of the patient.

Examples: Maria, James

GENDER

VARCHARlen ≤ 1

Gender. M is male, F is female.

Validation rules
RuleSeverityDescription
expect_column_values_to_be_in_setcriticalGender is recorded as M or F.

Examples: M, F

HEALTHCARE_COVERAGE

DECIMAL

Total lifetime cost of healthcare covered by payers.

Examples: 89210.00

HEALTHCARE_EXPENSES

DECIMAL

Total lifetime cost of healthcare to the patient (i.e. self-pay).

Examples: 12450.30

Id

VARCHARlen ≤ 36

Primary key. Unique patient identifier (UUID).

Downstream consumers

Validation rules
RuleSeverityDescription
expect_column_values_to_not_be_nullcriticalEvery patient must have a primary key.

Examples: 3b3d3f..., a1c2e4...

LAST

VARCHARlen ≤ 100

Last (family) name of the patient.

Examples: Gonzalez, Smith

RACE

VARCHARlen ≤ 40

Description of the patient's primary race.

Examples: white, black, asian

SSN

VARCHARlen ≤ 11

Patient Social Security Number.

Examples: 999-21-1234

STATE

VARCHARlen ≤ 40

Patient's home state.

Examples: Massachusetts

ZIP

VARCHARlen ≤ 10

Patient's zip code.

Examples: 02118