A lightweight, reproducible, and contract‑driven data‑engineering pipeline for ingesting, validating, profiling, and reporting on large CMS POS and CMS QIES public datasets.
Branch 1 delivers a fully deterministic, multi‑stage workflow (Stages 01–05) with structured artifacts, diagnostics, and deployment guarantees.
Branch 1 implements a clean, testable workflow:
- Stage 01 — schema definition & validation
- Stage 02 — raw ingestion into canonical structures
- Stage 03 — baseline data‑quality profiling
- Stage 04 — structured reporting artifacts
- Stage 05 — deterministic pipeline orchestration
Future branches introduce CCN/NPI alignment, facility enrichment, synthetic claims, and AI/RAG/agentic inference.
See also:
- Architecture
- Pipeline Flow
- Data Dictionary
- Schema Reference
cms-data-quality-and-ingestion/
│
├── configs/ # logging + pipeline configs
├── data/ # stage01–stage05 artifacts
├── deployment/ # Docker, CI/CD, Terraform, security
├── diagrams/ # architecture + schema diagrams
├── docs/ # full documentation suite
├── logs/ # ingestion + quality + runner logs
├── scripts/ # diagnostics + utilities
├── src/ # stage01–stage05 pipeline code
├── tests/ # pytest suites for all stages
├── utils/ # shared utilities
│
├── Makefile # deterministic workflow
├── compose.yml # deployment runner
├── environment.yml # conda environment
└── README.md # project landing page
Branch 1 ingests two CMS public datasets:
- POS — large, sparse, provider‑type‑specific fields
- QIES — smaller, structured facility certification metadata
These datasets are ideal for demonstrating real ingestion, validation, and profiling workflows.
- deterministic ingestion of POS/QIES
- schema validation + minimal column guarantees
- baseline quality checks (nulls, duplicates, drift, sparsity)
- structured JSON/CSV reporting artifacts
- reproducible Makefile workflow
- deterministic Docker + Compose deployment
make env
conda activate pos_qies_pipelinemake runmake smokemake stage01
make stage02
make stage03
make stage04
make stage05make diagnostics
make diag-pos
make diag-qies FILE=/path/to/qies.csvmake testmake clean-cacheBranch 1 includes a full deterministic deployment subsystem:
- Dockerfile + Compose
- provenance validation
- SBOM validation
- artifact registry
- drift detection
- governance + compliance + access control
Run deployment:
make deployBring down the environment:
docker compose downFull documentation lives under docs/.
Brian Deng
Los Angeles, CA
bdeng.data.pipelines@gmail.com
- healthcare data engineering
- analytics systems design
- scientific computing
- data quality & governance
- technical writing