Evidence map›Paper›PMID 40313292›Full record

ArticlemedRxiv : the preprint server for health sciences2025

Large language models for extracting histopathologic diagnoses of colorectal cancer and dysplasia from electronic health records.

Brian Johnson, Tyler Bath, Xinyi Huang, Mark Lamm, Ashley Earles, Hyrum Eddington, Anna M Dornisch, Lily J Jih, Samir Gupta, Shailja C Shah and 1 more

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

11 authors.

Brian JohnsonDivision of Biomedical Informatics, Department of Medicine, University of California San Diego, La Jolla, CA, USA.ORCID 0000-0002-9477-4677
Tyler BathDivision of Biomedical Informatics, Department of Medicine, University of California San Diego, La Jolla, CA, USA.
Xinyi HuangVeterans Medical Research Foundation, San Diego, CA, USA.
Mark LammVeterans Medical Research Foundation, San Diego, CA, USA.
Ashley EarlesVeterans Medical Research Foundation, San Diego, CA, USA.
Hyrum EddingtonDivision of Biomedical Informatics, Department of Medicine, University of California San Diego, La Jolla, CA, USA.
Anna M DornischVA San Diego Healthcare System, San Diego, CA, USA.
Lily J JihVA San Diego Healthcare System, San Diego, CA, USA.
Samir GuptaVA San Diego Healthcare System, San Diego, CA, USA.
Shailja C ShahVA San Diego Healthcare System, San Diego, CA, USA.
Kit CurtiusDivision of Biomedical Informatics, Department of Medicine, University of California San Diego, La Jolla, CA, USA.ORCID 0000-0002-2678-0960

Funding

VIRAL MALIGNANCYP30CA023100 · NCI · UNIVERSITY OF CALIFORNIA, SAN DIEGO · PI Jesse Nodora · 1985 to 2026
$124.9M
San Diego Digestive Diseases Research CenterP30DK120515 · NIDDK · UNIVERSITY OF CALIFORNIA, SAN DIEGO · PI Bernd G. Schnabl · 2019 to 2026
$10.8M
San Diego Biomedical Informatics Education & Research (SABER)T15LM011271 · NLM · UNIVERSITY OF CALIFORNIA, SAN DIEGO · PI SHAMIM NEMATI · 2012 to 2026
$9.7M
Multiscale modeling of spatiotemporal evolution in Barrett's esophagusR01CA270235 · NCI · UNIVERSITY OF CALIFORNIA, SAN DIEGO · PI Kathleen M. Curtius · 2023 to 2026
$2.3M
BLRD VA I01 BX005958NCI NIH HHS P30 CA023100NCI NIH HHS R01 CA270235NIDDK NIH HHS P30 DK120515NLM NIH HHS T15 LM011271
6 · The paper itself

Abstract

Background: Accurate data resources are essential for impactful medical research, but available structured datasets are often incomplete or inaccurate. Recent advances in open-weight large language models (LLMs) enable more accurate data extraction from unstructured text in electronic health records (EHRs) but have not yet been thoroughly validated for challenging diagnoses such as inflammatory bowel disease (IBD)-related neoplasia. Objective: Create a validated approach using LLMs for identifying histopathologic diagnoses in pathology reports from the nationwide Veterans Health Administration database, including patients with genotype data within the Million Veteran Program (MVP) biobank. Design: Our approach utilizes simple 'yes/no' question prompts for following phenotypes of interest: any colorectal dysplasia, high-grade dysplasia and/or colorectal adenocarcinoma (HGD/CRC), and invasive CRC. We validated the method on diagnostic tasks by applying prompts to reports from patients with IBD (and validated separately in non-IBD) and calculated F-1 scores as a balanced accuracy measure. Results: In patients with IBD in MVP, we achieved F1-scores of 96.1% (95% CI 92.5-99.4%) for identifying dysplasia, 93.7% (88.2-98.4%) for identifying HGD/CRC, and 98% (96.3-99.4%) for identifying CRC. In patients without IBD in MVP, we achieved F1-scores of 99.2% (98.2-100%) for identifying any colorectal dysplasia, 96.5% (93.0-99.2%) for identifying HGD/CRC, and 95% (92.8-97.2%) for identifying CRC using LLM Gemma-2. Conclusion: LLMs provided excellent accuracy in extracting the diagnoses of interest from EHRs. Our validated methods generalized to unstructured pathology notes, even withstanding challenges of resource-limited computing environments. This may therefore be a promising approach for other clinical phenotypes given the minimal human-led development required.

Indexed as

artificial intelligencebiomedical informaticscolorectal cancerinflammatory bowel diseaselarge language modelsnatural language processing

Identifiers

PMID40313292
PMCPMC12045448

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.