ArticlemedRxiv : the preprint server for health sciences2025
SPELL-LLMs: A Scalable and Privacy-Compliant NLP Pipeline Using Locally Hosted Large Language Models for Clinical Information Extraction.
Article in medRxiv : the preprint server for health sciences, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Not yet cited in PubMed.
What it found
Each row is one number read from the abstract, on the scale the paper reported it, with its interval. Left of the dashed line favours the treatment, right favours the comparator. Under each row is the sentence it came from. New to these charts? A ten-minute tutorial.
The abstract states no effect estimate the extractor could read, or names no intervention and outcome on the map, so this paper lights no cell and moves no belief. It is still indexed, cited and linked below.
The trial behind it
Trials whose registry record cites this paper, or whose number appears in the abstract. A trial that started after this paper was published is citing it as background, not reporting it.
Neither the registry nor the abstract names a trial number. If this is a trial report, that itself is worth knowing.
Who cites it
0 citing papers in PubMed.
No citing paper in PubMed yet.
Corrections and comments
- Updated by
Authors and funding
4 authors.
Funding
Abstract
objectiveElectronic health records (EHRs) contain valuable information for clinical research and decision making. However, leveraging these data remains challenging due to data heterogeneity, inconsistent documentation, missing information, and evolving terminology, especially within unstructured clinical notes. We developed a scalable, privacy preserving natural language processing (NLP) workflow to systematically extract structured clinical insights from large volumes of clinical narratives. MATERIALS AND
methodsOur platform employs a hybrid approach combining regular expressions (regex) to rapidly identify relevant textual snippets with locally hosted large language models (LLMs) for accurate clinical interpretation. All data processing occurs securely within institutional environments, adhering strictly to data privacy regulations. The modular Python based workflow facilitates adaptation across institutions and is optimized for computational efficiency, supporting high-throughput processing even in resource-limited settings.
resultsThe pipeline efficiently processed millions of clinical reports (1976 2024) from multiple hospitals. By analyzing targeted snippets rather than entire documents, our approach reduced processing time by 80% compared to traditional full document LLM inference, and by 97% compared to manual physician annotation. Accuracy was rigorously validated using three obstetric tasks: extraction of numerical values (blood loss volumes), dates (estimated delivery dates), and diagnoses (hemolysis, elevated liver enzymes, and low platelets [HELLP] syndrome), achieving 95% agreement with expert annotations. Generalizability was further confirmed by accurately identifying ventricular tachycardia diagnoses in the publicly available MT Samples dataset. DISCUSSION AND
conclusionsOur hybrid NLP framework significantly enhances the usability of unstructured EHR data for clinical research, decision support, and large-scale retrospective analyses.
Identifiers
What OpenQuestion holds
Registered trials
Read under generation 80e0d062 · epoch 390. Bibliography from PubMed, PubMed Central and OpenAlex; grants from NIH RePORTER; trial links from ClinicalTrials.gov; estimates, votes and beliefs from the OpenQuestion graph.