Problem: Auto-Adjudication (AA) reporting is manual, slow, and decision-heavy.
This repository showcases a Streamlit-based UI that automates claims data processing and turns a fragmented AA reporting workflow into a streamlined, end-to-end pipelineβfrom raw mainframe data to shareable, email-ready reports.
The existing AA reporting process is fragmented and labor-intensive:
- Manual data handling β Teams extract JCL data into Excel
- Slow processing β Requires cleanup, validation, and human decision-making
- Error-prone β Inconsistent schemas, manual transformations, and duplicate efforts
- Poor visibility β Stakeholders wait for Excel reports and email handoffs
- Siloed storage β Results scattered across SharePoint, email archives, and local drives
JCL/Mainframe Extract β Manual Excel Cleanup β Validation β Email β SharePoint Storage
β Pain points:
- Time-consuming manual steps
- High risk of human error
- Delayed insights and reporting
- No audit trail or consistency
CSV/TXT Upload β Ingest β Validate β Transform β Aggregate β Export β Email Preview
β Key improvements:
- Centralized Streamlit UI β Single point for file upload and pipeline execution
- Automated data pipeline β Ingest, validate, transform, and aggregate in seconds
- Intelligent AA transformation β Business logic to process claims and compute metrics
- Real-time dashboards β View overall AA rate, segment breakdowns, and key metrics
- Email automation β Generate HTML-ready reports with one click
- Historical tracking β Automatically appends daily AA metrics to historical datasets (
westmarket.xlsx) for trend analysis - Configuration-driven β Easy customization via
config.yamlfor recipients, paths, and templates
| Metric | Improvement |
|---|---|
| Processing Time | β±οΈ From hours to seconds |
| Manual Effort | π ~80% reduction in Excel work |
| Data Quality | β Automated validation eliminates human error |
| Stakeholder Visibility | π Real-time metrics and summaries |
| Consistency | π Repeatable, audit-ready pipeline |
Include screenshots or a GIF here to show the UI flow and output.
- Screenshot: input upload screen

- Screenshot: AA metric summary

- GIF: report preview and email-ready output

- Python 3.8+
- pip or conda package manager
git clone https://github.com/muzammil-13/claims-reporting-ui.git
cd claims-reporting-uipython -m venv venv
# Activate virtual environment
# On Windows:
venv\Scripts\activate
# On macOS/Linux:
source venv/bin/activatepip install -r requirements.txtEdit config.yaml to customize:
- Input and output directories
- Email recipients and sender
- Report subject templates
streamlit run app.pyThe app will open in your browser at http://localhost:8501
claims-reporting-ui/
β
βββ app.py # π¨ Streamlit UI entry point
βββ config.yaml # βοΈ Configuration (paths, email, templates)
β
βββ pipeline/ # π Core data pipeline
β βββ ingest.py # Load CSV/TXT from mainframe exports
β βββ validate.py # Schema validation and data quality checks
β βββ transform.py # AA business logic and claims processing
β βββ aggregate.py # Compute metrics (AA rate, LOB summaries)
β βββ export.py # Generate Excel reports (YTD) and update historical datasets (Westmarket)
β
βββ automation/ # π¬ Reporting automation
β βββ email.py # Generate HTML email content (Outlook/SMTP ready)
β
βββ data/
β βββ input/ # Raw mainframe extracts (CSV/TXT)
β βββ output/ # Generated reports and exports
β
βββ requirements.txt # Python dependencies
βββ README.md # This file
| Component | Technology |
|---|---|
| UI Framework | Streamlit 1.20+ |
| Data Processing | Pandas 1.5+ |
| Configuration | PyYAML 6.0 |
| Excel Support | OpenPyXL 3.1+ |
| Formatting | Tabulate 0.9+ |
- Upload β User uploads raw claims data (CSV/TXT from mainframe)
- Preview β Pipeline shows data preview for validation
- Execute β Click "Run Pipeline" to trigger automated workflow
- Process β
- β Data Ingested (load into DataFrame)
- β Data Validated (schema checks, required fields)
- β Data Transformed (apply AA business logic)
- β Metrics Aggregated (calculate AA rates, LOB summaries)
- β Reports Generated (export YTD reports with Raw Data & Segment Summary sheets, and update historical trends)
- Review β See AA rate, segment summaries, and key metrics
- Share β Generate HTML email preview or send directly
paths:
input_dir: "data/input" # Where uploads are stored
output_dir: "data/output" # Where reports are generated
email:
sender: "pipeline@example.com"
recipients: ["stakeholders@example.com"]
subject_template: "Daily Healthcare Claims AA Report - {date}"- π SharePoint API integration β Automated report publishing to SharePoint
- π Interactive dashboards β Charts for AA trends over time
- β° Scheduler support β Cron / Apache Airflow integration for automated runs
- π Backend authentication β Real database integration for secure data access
- π PDF export β Direct PDF generation for archival
- π§ͺ Unit testing β Comprehensive test coverage for pipeline stages
- π³ Containerization β Docker support for easy deployment
- π Advanced analytics β Drill-down analysis by line of business, claim type, etc.
This project demonstrates:
- Enterprise workflow automation β Translating manual processes into scalable pipelines
- Data engineering in production β Ingest β validate β transform β aggregate β export
- Rapid prototyping with Streamlit β Building functional UIs without frontend overhead
- Configuration-driven design β Easy customization without code changes
- Error handling & validation β Robust schema validation and graceful failure modes
- Business logic implementation β Real-world AA calculation rules and metrics
- Built during: Internship at IBM Consulting Client Innovation Center
- Domain: Healthcare Claims Processing & Auto-Adjudication (AA) Reporting
- Inspired by: Real-world challenges in enterprise claims processing workflows
- Status: π Active and ready for customization
| Task | Command |
|---|---|
| Install dependencies | pip install -r requirements.txt |
| Run the app | streamlit run app.py |
| View config options | cat config.yaml |
| Access UI | http://localhost:8501 |
If you're working on similar automation, data pipeline, or healthcare integration projects, feel free to reach out!
β If you found this useful, consider giving it a star!
Made with β€οΈ for healthcare data automation.