Deep learning-based NLP Data Pipeline for EHR Scanned Document Information Extraction
Not on the map. Why?
Abstract (arXiv)
Scanned documents in electronic health records (EHR) have been a challenge for decades, and are expected to stay in the foreseeable future. Current approaches for processing often include image preprocessing, optical character recognition (OCR), and text mining. However, there is limited work that evaluates the choice of image preprocessing methods, the selection of NLP models, and the role of document layout. The impact of each element remains unknown. We evaluated this method on a use case of two key indicators for sleep apnea, Apnea hypopnea index (AHI) and oxygen saturation (SaO2) values, from scanned sleep study reports. Our data that included 955 manually annotated reports was secondarily utilized from a previous study in the University of Texas Medical Branch. We performed image preprocessing: gray-scaling followed by 1 iteration of dilating and erode, and 20% contrast increasing. The OCR was implemented with the Tesseract OCR engine. A total of seven Bag-of-Words models (Logistic Regression, Ridge Regression, Lasso Regression, Support Vector Machine, k-Nearest Neighbor, Na"ive Bayes, and Random Forest) and three deep learning-based models (BiLSTM, BERT, and Clinical BERT) were evaluated. We also evaluated the combinations of image preprocessing methods (gray-scaling, dilate & erode, increased contrast by 20%, increased contrast by 60%), and two deep learning architectures (with and without structured input that provides document layout information). Our proposed method using Clinical BERT reached an AUROC of 0.9743 and document accuracy of 94.76% for AHI, and an AUROC of 0.9523, and document accuracy of 91.61% for SaO2. We demonstrated the proper use of image preprocessing and document layout could be beneficial to scanned document processing.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 8 of its 39 references that are in the map. First posted on arXiv 14 Sep 2021.
Builds on
8 of 39 references.
References · 8
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,346
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,201
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2019Publicly Available Clinical BERT Embeddingscited by 995
- 2021ICDAR2019 Competition on Scanned Receipt OCR and Information Extractioncited by 254
- 2014word2vec Parameter Learning Explainedcited by 53
- 2019Deep Learning Approach for Receipt Recognitioncited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Cancer Diagnosis Categorization in Electronic Health Records Using Large Language Models and BioBERT: Model Performance Evaluation Studycited by 0
- 2025Clinical Document Metadata Extraction: A Scoping Reviewcited by 0
- 2026SIFTING: A Novel LLM-Based Framework for Structured and Transparent Information Extraction from Clinical Free-Text Reports, with Application to Tumor Staging in Lung Cancercited by 0
- 2026Can large language models unlock discrete data in ophthalmic diagnostic reports?cited by 0
- 2026Can large language models unlock discrete data in ophthalmic diagnostic reports?30 Sep 2026
- 2026SIFTING: A Novel LLM-Based Framework for Structured and Transparent Information Extraction from Clinical Free-Text Reports, with Application to Tumor Staging in Lung Cancer7 Sep 2026
- 2025Clinical Document Metadata Extraction: A Scoping Review28 Dec 2025
- 2025Cancer Diagnosis Categorization in Electronic Health Records Using Large Language Models and BioBERT: Model Performance Evaluation Study8 Oct 2025