ResearchBritish Journal of General Practice · Jun 25, 2026
Using large language models to identify prediagnostic clinical features of ovarian cancer from healthcare records: a population-based case-control study
Funston G, Park N, Thompson M, Yetisgen M, Goff BA, Kessler L, et al
Study type: Observational study: it can show a link, but not prove that one thing causes another.
Abstract
Background
Most women with ovarian cancer are diagnosed after developing symptoms. However, symptoms are often recorded as free text within electronic health records (EHRs), which is not readily accessible for research. Aim
To use EHRs to examine associations between coded and large language model (LLM)-extracted free-text clinical features with ovarian cancer diagnosis. Design and setting
Population-based case-control study using EHRs and cancer registry data from women attending primary care, outpatient, and emergency clinics associated with the University of Washington, US. Method
In total, 136 women with ovarian cancer cases (diagnosed 2012-2019) were matched (age, clinic type) to 1360 control participants. Twelve months of prediagnosis coded and free-text data were extracted from EHRs. LLMs were tested on annotated notes, before extracting information on 17 prespecified clinical features. Univariate conditional logistic regression analyses were used to identify clinical features associated with ovarian cancer. Results
There were 14 clinical features that were more commonly identified from free text using LLMs than from codes in both the case and control groups. There were 14 features that were significantly associated with ovarian cancer when using codes and LLM-extracted data, but only eight features were significant using codes alone. Using both coded and LLM-extracted data, 11 features had odds ratios >2. Thirteen features were significantly associated when restricting analysis to early-stage (I-II) diagnosis. Conclusion
There is an identifiable ovarian cancer symptom signature within EHRs, with LLM-based natural language processing approaches enabling extraction of key non-coded symptom information. LLMs could support EHR-based research, while LLM-based clinical decision support tools may improve identification of patients with symptoms of possible cancer.
Topics
Humans; Female; Ovarian Neoplasms; Large Language Models; Case-Control Studies; Electronic Health Records; Middle Aged; Aged; Registries
DOI: 10.3399/BJGP.2025.0366 · PubMed: 42055579
Spotted a mistake? Suggest a correction
More in Family Medicine & Primary Care
ResearchJ Am Board Fam Med · Nov 14, 2026 · Family Medicine & Primary Care
Use Vaginal Swabs, Not Urine, to Test for Gonorrhea and Chlamydia
ResearchJ Am Board Fam Med · Nov 14, 2026 · Family Medicine & Primary Care
Will We Stay? Building Family Medicine Obstetrics in a Maternity Care Desert
ResearchJ Am Board Fam Med · Nov 14, 2026 · Family Medicine & Primary Care
Creating a Globally Relevant PBRN Research Agenda: Highlights from a CASFM International Workshop at NAPCRG 2025
ResearchJ Am Board Fam Med · Nov 14, 2026 · Family Medicine & Primary Care
Presence
ResearchJ Am Board Fam Med · Nov 14, 2026 · Family Medicine & Primary Care
Primary Care Visit Patterns and Quality of Care in the Veterans Health Administration