Evidence map›Paper›PMID 39832824›Full record

ArticleBMJ health & care informatics2025

Large language models for data extraction from unstructured and semi-structured electronic health records: a multiple model performance evaluation.

Vasileios Ntinopoulos, Hector Rodriguez Cetina Biefer, Igor Tudorache, Nestoras Papadopoulos, Dragan Odavic, Petar Risteski, Achim Haeussler, Omer Dzemali

Abstract read
In one paragraph

Article in BMJ health & care informatics, 2025. The graph could read no effect estimate from its abstract, so it casts no vote on the map. Cited by 43 papers, 1 of them a synthesis that pooled it.

0numbers the graph read from it
0cells of the map it votes in
43citing papers in PubMed, 1 pooled it
–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

43 citing papers in PubMed, 1 synthesis or guideline pooled it.

  1. Pooled it
  2. Article
  3. Article
  4. Review
  5. Article
  6. Article
  7. Article
  8. Article
  9. Article
  10. Article
  11. Article
  12. Review
  13. Article
  14. Article
  15. Article
  16. Article
  17. Article
  18. Article
  19. Article
  20. 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

8 authors.

Vasileios NtinopoulosDepartment of Cardiac Surgery, University Hospital of Zurich, Zurich, Switzerland.ORCID http://orcid.org/0000-0002-8573-1018
Hector Rodriguez Cetina BieferDepartment of Cardiac Surgery, University Hospital of Zurich, Zurich, Switzerland.
Igor TudoracheDepartment of Cardiac Surgery, University Hospital of Zurich, Zurich, Switzerland.
Nestoras PapadopoulosDepartment of Cardiac Surgery, University Hospital of Zurich, Zurich, Switzerland.
Dragan OdavicDepartment of Cardiac Surgery, University Hospital of Zurich, Zurich, Switzerland.
Petar RisteskiDepartment of Cardiac Surgery, University Hospital of Zurich, Zurich, Switzerland.
Achim HaeusslerDepartment of Cardiac Surgery, University Hospital of Zurich, Zurich, Switzerland.
Omer DzemaliDepartment of Cardiac Surgery, University Hospital of 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 aimed to evaluate the performance of multiple large language models (LLMs) in data extraction from unstructured and semi-structured electronic health records.

methods50 synthetic medical notes in English, containing a structured and an unstructured part, were drafted and evaluated by domain experts, and subsequently used for LLM-prompting. 18 LLMs were evaluated against a baseline transformer-based model. Performance assessment comprised four entity extraction and five binary classification tasks with a total of 450 predictions for each LLM. LLM-response consistency assessment was performed over three same-prompt iterations.

resultsClaude 3.0 Opus, Claude 3.0 Sonnet, Claude 2.0, GPT 4, Claude 2.1, Gemini Advanced, PaLM 2 chat-bison and Llama 3-70b exhibited an excellent overall accuracy >0.98 (0.995, 0.988, 0.988, 0.988, 0.986, 0.982, 0.982, and 0.982, respectively), significantly higher than the baseline RoBERTa model (0.742). Claude 2.0, Claude 2.1, Claude 3.0 Opus, PaLM 2 chat-bison, GPT 4, Claude 3.0 Sonnet and Llama 3-70b showed a marginally higher and Gemini Advanced a marginally lower multiple-run consistency than the baseline model RoBERTa (Krippendorff's alpha value 1, 0.998, 0.996, 0.996, 0.992, 0.991, 0.989, 0.988, and 0.985, respectively). DISCUSSION: Claude 3.0 Opus, Claude 3.0 Sonnet, Claude 2.0, GPT 4, Claude 2.1, Gemini Advanced, PaLM 2 chat bison and Llama 3-70b performed the best, exhibiting outstanding performance in both entity extraction and binary classification, with highly consistent responses over multiple same-prompt iterations. Their use could leverage data for research and unburden healthcare professionals. Real-data analyses are warranted to confirm their performance in a real-world setting.

conclusionClaude 3.0 Opus, Claude 3.0 Sonnet, Claude 2.0, GPT 4, Claude 2.1, Gemini Advanced, PaLM 2 chat-bison and Llama 3-70b seem to be able to reliably extract data from unstructured and semi-structured electronic health records. Further analyses using real data are warranted to confirm their performance in a real-world setting.

Indexed as

Data MiningElectronic Health RecordsInformation Storage and RetrievalNatural Language ProcessingHumansLarge Language ModelsArtificial intelligenceElectronic Data ProcessingElectronic Health RecordsHealth Information Management

Identifiers

PMID39832824
PMCPMC11751965

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.