Success Metrics
automation of multi-year CMS data ingestion
reduction in manual data cleansing effort
improvement in query performance after indexing
post-production schema mismatch failures
Introduction
The project focused on ingesting and standardizing CMS public datasets including Medicare Fee-for-Service Provider Enrollment and ACO REACH Model data into Azure SQL. The objective was to build a scalable, production-ready ETL framework capable of handling multi-year schema variations while enabling simplified analytics and reporting for healthcare program monitoring.
Key Highlights
Azure Data Engineering
Cloud ETL Development
Data Modelling & Standardization
Azure SQL Optimization
Data Quality & Schema Harmonization
Business Challenges
CMS changed column structures across years (2021–2025), causing schema inconsistencies
Special characters and UTF-8 BOM issues corrupted column names
Column count varied across files (28 to 45 columns)
SQL truncation errors due to mismatched field lengths
Database capacity limitations during large-volume loads
Primary key inconsistencies in early program-year datasets
Solution
Automatically maps legacy column names to standardized formats
Cleans special characters and normalizes all schema fields
Dynamically aligns varying year structures into a unified SQL model
Inserts data in controlled batches to prevent capacity failures
Uses schema validation before insertion to eliminate column mismatch errors
Implements indexing for optimized analytical queries
Business Impact
The organization now has a centralized and analytics-ready Medicare dataset spanning multiple years and program types. The solution eliminated manual pre-processing, reduced data load failures, and enabled consistent reporting across changing CMS program structures. The simplified 3-table architecture significantly improved query performance and made the system easier for business users to understand.
Technology Stack
Azure Blob Storage
Azure SQL Database
Python (Pandas, PyODBC)
Azure SDK
Git & GitHub (Feature Branch Deployment)
SQL Indexing & Performance Tuning
Files in Blob Storage


