Hybrid AI framework for automated prostate cancer disease state ascertainment from real-world electronic health records.

U Umair Ayub (1Mayo Clinic, Division of Hematology/Oncology, Department of Internal Medicine, Phoenix, United States) S Syed Arsalan Ahmed Naqvi (Mayo Clinic, Phoenix, AZ) M Muhammad Uzair Sarfraz (1Mayo Clinic, Division of Hematology/Oncology, Department of Internal Medicine, Phoenix, United States) F Fouad Nahhat (1Mayo Clinic, Division of Hematology/Oncology, Department of Internal Medicine, Phoenix, United States) M Muhammad Umar Afzal (Mayo Clinic Arizona, Scottsdale, AZ) M Muhammad Hussnain Sadiq (5Mayo Clinic, Pheonix, United States) M Muhammad Abdullah Humayun (1Mayo Clinic, Phoenix, United States) P Parminder Singh (Department of Medicine, Mayo Clinic Alix School of Medicine, Phoenix, AZ) Y Yousef Zakharia (Division of Hematology and Medical Oncology, Department of Internal Medicine Mayo Clinic Phoenix Arizona USA) I Irbaz Bin Riaz (Irbaz Bin Riaz, MD, PhD; R. Bryan Rumble, MSc; Thomas A. Hope, MD; Giuseppe Procopio, MD; and Neha Vapiwala, MD; Mayo Clinic, Phoenix, AZ; American Society of Clinical Oncology, Alexandria, VA; University of California, San Francisco, San Francisco, CA; Fondazione IRCCS Istituto Nazionale dei Tumori di Milano, Milan, Italy; and University of Pennsylvania Abramson Cancer Center, Philadelphia, PA)

Abstract

e17003 Background: Accurate ascertainment of prostate cancer (PCa) disease states—biochemical recurrence (BCR), castration-sensitive prostate cancer (CSPC), and castration-resistant prostate cancer (CRPC)—is critical for automated clinical trial enrollment, quality improvement initiatives, and real-world evidence generation. Essential information for disease state ascertainment resides in unstructured EHR data, requiring labor-intensive manual abstraction that is inconsistent and not scalable. We developed an automated hybrid AI framework using large language models to identify PCa disease states from real-world EHR data. Methods: This retrospective study included patients with histopathologically confirmed PCa (2017-2022) and ≥3 years follow-up. Sequential EHR data—including PSA and testosterone levels, clinical notes, pathology and radiology reports—were retrieved across temporal points. BCR was identified using rule-based algorithms (post-radical prostatectomy [RP]: PSA ≥0.2 ng/mL ×2; post-radiation therapy [RT]: nadir + 2 ng/mL ×2). CRPC was determined using androgen deprivation therapy (ADT) timing, PSA kinetics, testosterone < 50 ng/dL, and radiographic progression per PCWG/EAU-ASCO criteria. GPT-4o with structured parametrized prompts extracted metastatic status and radiographic progression. Independent clinicians performed manual annotation for validation. The framework was developed on 10% of data with evaluation on 90%. External validation used a held-out cohort of clinical trial patients. Results: Among 200 PCa patients (median age 66 years [IQR 60-71]; 91% White, 93% non-Hispanic), the framework demonstrated high accuracy: PCa diagnosis (92%), RP dates (94%), RT dates (93%), and ADT initiation (92%). For disease state identification, BCR detection achieved 90% accuracy, castration status 93%, and metastatic state (M0/M1) 87%. External validation on trial-enrolled patients confirmed robust performance: 26/31 (84%) CRPC trial patients and 26/27 (96%) CSPC trial patients were correctly classified, validating the framework’s reliability for clinical trial matching. Conclusions: This hybrid LLM-based framework accurately identifies PCa disease states using real-world EHR data with minimal manual intervention. The system offers a scalable, reproducible approach for automated disease state identification, enabling streamlined clinical trial matching and enhanced real-world data curation in oncology.

Article Details

Volume / Issue Vol. 44, Issue 16_suppl
Published June 01, 2026
ISSN 0732-183X
Publisher Lippincott Williams & Wilkins

Journal Info

Journal of Clinical Oncology

Lippincott Williams & Wilkins

ISSN: 0732-183X Health Sciences

Authors (10)

U

Umair Ayub

1Mayo Clinic, Division of Hematology/Oncology, Department of Internal Medicine, Phoenix, United States

S

Syed Arsalan Ahmed Naqvi

Mayo Clinic, Phoenix, AZ

M

Muhammad Uzair Sarfraz

1Mayo Clinic, Division of Hematology/Oncology, Department of Internal Medicine, Phoenix, United States

F

Fouad Nahhat

1Mayo Clinic, Division of Hematology/Oncology, Department of Internal Medicine, Phoenix, United States

M

Muhammad Umar Afzal

Mayo Clinic Arizona, Scottsdale, AZ

M

Muhammad Hussnain Sadiq

5Mayo Clinic, Pheonix, United States

M

Muhammad Abdullah Humayun

1Mayo Clinic, Phoenix, United States

P

Parminder Singh

Department of Medicine, Mayo Clinic Alix School of Medicine, Phoenix, AZ

Y

Yousef Zakharia

Division of Hematology and Medical Oncology, Department of Internal Medicine Mayo Clinic Phoenix Arizona USA

I

Irbaz Bin Riaz

Irbaz Bin Riaz, MD, PhD; R. Bryan Rumble, MSc; Thomas A. Hope, MD; Giuseppe Procopio, MD; and Neha Vapiwala, MD; Mayo Clinic, Phoenix, AZ; American Society of Clinical Oncology, Alexandria, VA; University of California, San Francisco, San Francisco, CA; Fondazione IRCCS Istituto Nazionale dei Tumori di Milano, Milan, Italy; and University of Pennsylvania Abramson Cancer Center, Philadelphia, PA