Medical Clinic Fax Automation
AI-Powered Medical Document Processing with Human Verification
HIPAA-compliant medical fax automation system processing lab results, referrals, and consults. AI-powered extraction with human verification reduces manual data entry from 5-10 minutes to under 60 seconds per document.

The Challenge
The Problem
Medical staff spent 5-10 minutes per fax manually extracting patient data from 50+ daily faxes (lab results, referrals, consults). High error rates in manual data entry created compliance risks and potential patient safety issues. HIPAA compliance requirements made automation complex and risky.
Why Existing Solutions Failed
Generic OCR solutions couldn't handle the variety of medical document formats (text PDFs, scanned forms, handwritten notes). Off-the-shelf systems lacked the accuracy needed for medical data extraction. Existing solutions didn't provide the human-in-the-loop verification required for medical contexts. HIPAA compliance and EMR integration were afterthoughts.
Business Impact
Staff spending 4-8 hours daily on fax processing meant higher labor costs and reduced time for patient care. Data entry errors led to treatment delays and potential liability. Manual processes couldn't scale with clinic growth. HIPAA compliance risks created legal exposure.
Our Solution
Approach
Built an event-driven microservices pipeline on AWS ECS Fargate. WestFax API ingests faxes, triggering a processing chain: OCR Worker (dual-system with pdfparse and AWS Textract), Extract Worker (Claude AI via Bedrock extracts 6-8 fields with confidence scores), LLM Worker for validation, and Review Dashboard (Next.js 14) for human verification before EMR delivery. Full HIPAA compliance with KMS encryption, audit logs, and PHI-redacted logging.
Workflow
WestFax API receives fax → Ingest API stores PDF in S3 + creates DB record + sends SQS message → OCR Worker (pdfparse for text PDFs, AWS Textract for scanned) → Extract Worker (Claude AI extracts patient name, DOB, MRN, provider, date, document type with confidence scores) → LLM Worker validates → Review Dashboard for human verification → EMR delivery via API → Audit trail logged
Key Features
Technology Stack
Results & Impact
Before
5-10 minutes manual data entry per fax, high error rates, HIPAA compliance risks, 50+ faxes/day overwhelming staff, no audit trail
After
60-second AI processing with human verification, 98%+ accuracy, full HIPAA compliance with audit trails, unlimited scalability, complete traceability
ROI Impact
$60,000 in annual savings from 80% time reduction (5-10 minutes to 1 minute per document). 95% fewer errors eliminated treatment delays and reduced liability risk. Staff reallocation to patient care improved clinic capacity. Full audit trails and HIPAA compliance passed all regulatory audits. Human-in-the-loop verification ensured medical accuracy while maintaining speed gains.
Technical Details
Architecture Overview
Event-driven microservices on AWS ECS Fargate. Fastify (TypeScript) services communicate via AWS SQS queues. PostgreSQL stores structured data, S3 stores encrypted PDFs with KMS. Dual OCR system: pdfparse for text-based PDFs, AWS Textract for scanned forms. Claude AI via Bedrock extracts medical fields with confidence scores. Next.js 14 dashboard provides human verification interface. All PHI encrypted at rest (S3 KMS) and in transit (TLS 1.2+).
Integrations
Security & Compliance
Technologies Used
Ready for Similar Results?
Let's discuss how we can transform your business with custom AI automation solutions.