Evidence map›Paper›PMID 40119150›Full record

ArticleCommunications medicine2025

Transformers and large language models are efficient feature extractors for electronic health record studies.

Kevin Yuan, Chang Ho Yoon, Qingze Gu, Henry Munby, A Sarah Walker, Tingting Zhu, David W Eyre

Abstract read
In one paragraph

Article in Communications medicine, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 8 papers.

0numbers the graph read from it
0cells of the map it votes in
8citing 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

8 citing papers in PubMed.

  1. Article
  2. Scaling Biomedical Text-Mining: Transformers, GenAI, and Drug Discovery.Methods in molecular biology (Clifton, N.J.) · 2026
    Article
  3. Article
  4. Article
  5. Review
  6. Article
  7. Review
  8. Article
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

7 authors.

Kevin Yuan *Big Data Institute, Nuffield Department of Population Health, University of Oxford, Oxford, UK. kevin.yuan@ndph.ox.ac.uk.
Chang Ho Yoon *Big Data Institute, Nuffield Department of Population Health, University of Oxford, Oxford, UK.
Qingze Gu *Nuffield Department of Medicine, University of Oxford, Oxford, UK.
Henry MunbyUniversity Hospitals Bristol & Weston NHS Trust, Bristol, UK.
A Sarah WalkerNuffield Department of Medicine, University of Oxford, Oxford, UK.
Tingting ZhuInstitute of Biomedical Engineering, University of Oxford, Oxford, UK.ORCID http://orcid.org/0000-0002-1552-5630
David W EyreBig Data Institute, Nuffield Department of Population Health, University of Oxford, Oxford, UK.ORCID http://orcid.org/0000-0001-5095-6367

Funding

No grant is acknowledged in the PubMed record.

6 · The paper itself

Abstract

backgroundFree-text data is abundant in electronic health records, but challenges in accurate and scalable information extraction mean less specific clinical codes are often used instead.

methodsWe evaluated the efficacy of feature extraction using modern natural language processing methods (NLP) and large language models (LLMs) on 938,150 hospital antibiotic prescriptions from Oxfordshire, UK. Specifically, we investigated inferring the type(s) of infection from a free-text "indication" field, where clinicians state the reason for prescribing antibiotics. Clinical researchers labelled a subset of the 4000 most frequent unique indications (representing 692,310 prescriptions) into 11 categories describing the infection source or clinical syndrome. Various models were then trained to determine the binary presence/absence of these infection types and also any uncertainty expressed by clinicians.

resultsWe show on separate internal (n = 2000 prescriptions) and external test datasets (n = 2000 prescriptions), a fine-tuned domain-specific Bio+Clinical BERT model performs best across the 11 categories (average F1 score 0.97 and 0.98 respectively) and outperforms traditional regular expression (F1 = 0.71 and 0.74) and n-grams/XGBoost (F1 = 0.86 and 0.84) models. A zero-shot OpenAI GPT4 model matches the performance of traditional NLP models without the need for labelled training data (F1 = 0.71 and 0.86) and a fine-tuned GPT3.5 model achieves similar performance to the fine-tuned BERT-based model (F1 = 0.95 and 0.97). Infection sources obtained from free-text indications reveal specific infection sources 31% more often than ICD-10 codes.

conclusionsModern transformer-based models have the potential to be used widely throughout medicine to extract information from structured free-text records, to facilitate better research and patient care.

Identifiers

PMID40119150
PMCPMC11928488

What OpenQuestion holds

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