Evidence map›Paper›PMID 42225359›Full record

ArticleBMJ health & care informatics2026

Open-source large language model-based on-premises pipeline for automated data extraction from unstructured electronic health records: a pilot study.

Vasileios Ntinopoulos, Hector Rodriguez Cetina Biefer, Laura Rings, Rodney Alexander Rosalia, Omer Dzemali

Abstract read
In one paragraph

Article in BMJ health & care informatics, 2026. 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

PubMed lists nothing against this paper. Absence here is not a guarantee, only a check that was made.

5 · Who and what money

Authors and funding

5 authors.

Vasileios NtinopoulosDepartment of Cardiac Surgery, University Hospital Zurich, Zurich, Switzerland.ORCID http://orcid.org/0000-0002-8573-1018
Hector Rodriguez Cetina BieferDepartment of Cardiac Surgery, University Hospital Zurich, Zurich, Switzerland.
Laura RingsDepartment of Cardiac Surgery, University Hospital Zurich, Zurich, Switzerland.
Rodney Alexander RosaliaDepartment of Cardiac Surgery, University Hospital Zurich, Zurich, Switzerland.
Omer DzemaliDepartment of Cardiac Surgery, University Hospital Zurich, Zurich, Switzerland omer.dzemali@usz.ch.ORCID http://orcid.org/0000-0001-7910-5152

Funding

No grant is acknowledged in the PubMed record.

6 · The paper itself

Abstract

objectivesWe evaluated an on-premises, open-source large language model (LLM)-based data extraction pipeline for automated data extraction from unstructured electronic health records (EHRs).

methodsAutomated script-based EHR data preprocessing extracted 50 medical texts in German, which were entered into the LLM pipeline. 4-bit and 8-bit quantizations of 14 mid-sized LLMs (30B-90B parameters) were evaluated in 6 information extraction, 11 binary classification and 5 multilevel classification tasks comprising all variables of the European System for Cardiac Operative Risk Evaluation 2 (EuroSCORE 2) model for 1100 predictions each. LLM response consistency was assessed over three same-prompt iterations.

resultsIn overall accuracy, Qwen3-30b-a3b-q8 presented the highest value (0.954) and 13 LLMs had values over 0.90. In information extraction accuracy, 12 LLMs exhibited a value of 1.0 and all 14 LLMs had values over 0.96. In binary classification accuracy, Llama3.2-vision-90b-q4 exhibited the highest value (0.972), 5 LLMs had values of at least 0.95 and all 14 LLMs showed values over 0.93. In multilevel classification accuracy, Qwen3-30b-a3b-q8 exhibited the highest value (0.940), four LLMs had values over 0.90 and all LLMs presented values over 0.80. Nine LLMs exhibited perfect response consistency and the remaining five LLMs had a Krippendorff's alpha value of 0.999. DISCUSSION: Multiple LLMs exhibited high accuracy in information extraction, binary classification, multilevel classification and response consistency and seem able to reliably automate data extraction from EHRs.

conclusionThis pilot study demonstrates the feasibility of on-premises, privacy-preserving, LLM-based automated EHR data extraction pipelines. Larger-scope studies are warranted to validate their potential in healthcare.

Indexed as

Data MiningElectronic Health RecordsLarge Language ModelsHumansNatural Language ProcessingPilot ProjectsData MiningElectronic Data ProcessingElectronic Health RecordsLarge Language Models

Identifiers

PMID42225359
PMCPMC13239439

What OpenQuestion holds

Textmetadata
LicenceCC BY-NC
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.