Learning lab · PostgreSQL · OHDSI stack

Harish Mohankumar

OMOP Engineer Lab

Hands-on journey from Synthea CSVs to a validated OMOP CDM 5.4 warehouse — ETL, Athena vocabulary, Rabbit-in-a-Hat, and Data Quality Dashboard.

CDM version

5.4

Synthetic cohort

100 patients

Latest DQD (v6)

910 pass · 5 fail

End-to-end pipeline

  1. 1

    Generate

    Synthea 100-patient cohort → CSV exports

  2. 2

    Stage

    synthea_src tables (patients, encounters, conditions, meds, observations)

  3. 3

    Vocabulary

    Athena v5 → ~2M concepts in omop_cdm.concept

  4. 4

    Map

    WhiteRabbit scan + Rabbit-in-a-Hat ETL specs

  5. 5

    Load

    10_load_synthea_omop.sql → CDM clinical tables

  6. 6

    Validate

    DataQualityDashboard (Java 17, R 4.5)

  7. 7

    Next

    Achilles characterization · MIMIC OMOP demo · ATLAS

CDM load snapshot

TableRows (lab)
person107
observation_period107
visit_occurrence5,721
condition_occurrence3,796
drug_exposure4,403
measurement72,327
observationIn progress (LOINC Observation domain)

Data Quality Dashboard

Full DQD runs on omop_cdm with cohort/era tables excluded until those pipelines exist. Errors cleared after Java 17 and table exclusions.

MilestonePassedFailedErrors
First full DQD8421833
Exclude cohort tables1001160
v3 exclusions + period type948100
v4 exclude DRUG_STRENGTH90690
v5 cdm_source 5.4 concept90780
v6 visit + domain fixes91050

Mapping & quality lessons

Skills demonstrated

Toolchain

Lab layout (local)

Publish on GitHub Pages

This site is a static Next.js export. Push to GitHub, enable Pages from Actions, and the workflow deploys on every push to main.

  1. Create a GitHub repo (e.g. omop-lab-portfolio).
  2. Push this project: git remote add github https://github.com/harishedu11-hash/omop-path.git
    git push -u github main
  3. Repo → Settings → Pages → Build and deployment → Source: GitHub Actions.
  4. Site URL: https://harishedu11-hash.github.io/omop-path/

For a user site (username.github.io root), set GITHUB_PAGES_BASE_PATH to empty in the workflow and remove basePath from the build step.

Update lib/content.ts with your GitHub link and fresh row counts after each ETL run.