Evidence map›Paper›PMID 40778122›Full record

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.

Ricardo Kleinlein, Kathryn J Gray, David Bates, Vesela P Kovacheva

Abstract readPreprint
In one paragraph

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.

0numbers the graph read from it
0cells of the map it votes in
0citing papers in PubMed
–field-weighted citation impact
1 · What the graph read from it

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.

2 · The registry

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.

3 · Its place in the literature

Who cites it

0 citing papers in PubMed.

No citing paper in PubMed yet.

4 · The record

Corrections and comments

5 · Who and what money

Authors and funding

4 authors.

Funding

Precision medicine approaches to understand and prevent stillbirthR01HD117802 · NICHD · UNIVERSITY OF WASHINGTON · PI Kathryn Johnson Gray · 2025 to 2026
$1.3M
NICHD NIH HHS R01 HD117802
6 · The paper itself

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

PMID40778122
PMCPMC12330431

What OpenQuestion holds

Textmetadata
Read underepoch 390

Registered trials

None linked

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.