Vitals  /  Data Catalog & Lineage

Data Catalog & Lineage

Auto-generated from dbt's manifest.json + catalog.json (python -m vitals.catalog). Regenerated whenever the models change, so documentation can't drift from the code.

Lineage

Sources
claim
condition
note
observation
patient
pro
target
wearable_daily
Staging & facts
dim_patient
fct_claim
fct_observation
fct_pro
fct_wearable_daily
omop_person
Marts & OMOP
mart_condition_outcomes
mart_cost_outcomes
omop_condition_occurrence
omop_measurement

10 models · 17 edges — the full graph regenerates from dbt's manifest on every model change.

Tables

dim_patient

Conformed patient dimension (de-identified) with primary condition + target.

ColumnType
patient_keyVARCHAR
surgery_90dINTEGER
genderVARCHAR
ageINTEGER
primary_condition_codeVARCHAR
primary_conditionVARCHAR

fct_claim

Conservative-care claim fact (leakage-free).

ColumnType
patient_keyVARCHAR
claim_dateDATE
procedure_codeVARCHAR
procedure_displayVARCHAR
dx_codeVARCHAR
billedDOUBLE
paidDOUBLE
deniedBOOLEAN

fct_observation

Standardized observation fact.

ColumnType
patient_keyVARCHAR
metricVARCHAR
unit_stdVARCHAR
obs_dateDATE
loinc_codeVARCHAR
value_stdDOUBLE

fct_pro

Oswestry Disability Index over time.

ColumnType
scoreBIGINT
patient_keyVARCHAR
survey_dateDATE
instrumentVARCHAR

fct_wearable_daily

Cleaned wearable daily series.

ColumnType
patient_keyVARCHAR
dayDATE
stepsBIGINT
active_minutesBIGINT
resting_hrBIGINT
sleep_hoursDOUBLE

mart_condition_outcomes

Per-condition analytics mart with surgery-rate / pain / adherence metrics.

ColumnType
primary_conditionVARCHAR
primary_condition_codeVARCHAR
n_patientsBIGINT
surgery_rateDOUBLE
avg_painDOUBLE
avg_adherence_pctDOUBLE

mart_cost_outcomes

Per-condition conservative-care spend, imaging rate, surgery rate.

ColumnType
primary_conditionVARCHAR
n_patientsBIGINT
surgery_rateDOUBLE
avg_conservative_spendDOUBLE
imaging_rateDOUBLE
claim_denial_rateDOUBLE

omop_condition_occurrence

OMOP CDM CONDITION_OCCURRENCE — ICD-10 mapped to standard concepts.

ColumnType
condition_occurrence_idBIGINT
person_idBIGINT
condition_concept_idINTEGER
condition_source_valueVARCHAR
condition_concept_nameVARCHAR
condition_start_dateDATE

omop_measurement

OMOP CDM MEASUREMENT — LOINC observations mapped to standard concepts.

ColumnType
measurement_idBIGINT
measurement_concept_idINTEGER
person_idBIGINT
measurement_concept_nameVARCHAR
measurement_source_valueVARCHAR
value_as_numberDOUBLE
unit_source_valueVARCHAR
measurement_dateDATE

omop_person

OMOP CDM PERSON — de-identified, standard gender concepts.

ColumnType
person_idBIGINT
gender_concept_idINTEGER
patient_keyVARCHAR
year_of_birthINTEGER