Building a Scalable & Isolated Architecture for Preprocessing Medical Records
summary
A pipeline that stores raw records in S3, persists intermediate outputs to Redshift, and uses Airflow + Livy triggering Spark jobs to parallelize preprocessing at scale. Plain-text EMRs go through OCR fixes (example error 1988→2088), per-record transformations, then run Apache cTAKES inside cTAKES in Kubernetes containers built from a custom Docker image to emit XMI semantic graphs. Tasks are versioned and measurable but Airflow UI lacks per-DAG-version error tracing; goal is to handle thousands–millions of records and add Spark Streaming.
AI-written summary · about
chapters (9)
- 0:00Introduction to medical records preprocessing
- 1:05Challenges in medical record data
- 3:18Data structure and quality issues
- 6:59Semantic transformation with UMLS
- 9:47Data preparation and processing pipeline
- 13:06Architecture design steps
- 18:31Workflow and component integration
- 21:20Key takeaways and lessons learned
- 24:09Future improvements and next steps
