Leveraging Artificial Intelligence for Rare Cancer Identification: An Ontology-Guided NLP Framework Using Structured Electronic Health Records.
Ohoud Almadani, Hanan Almanea, Raseel Alroba, Maha Aldoughaim, Ibrahim Asiri
Saudi Food and Drug Authority, Riyadh, Saudi Arabia. · College of Pharmacy, King Saud University, Riyadh, Saudi Arabia.
Key points
From the paper's conclusion- Ontology-based NLP greatly improved diagnostic precision of rare cancers using only structured clinical data in EHRs.
Abstract
PURPOSE: Rare cancers constitute nearly one-quarter of all cancer diagnoses worldwide and pose major challenges due to delayed diagnosis and limited treatment options. However, systematic data on their detection remain limited. Although international classification of diseases, tenth revision (ICD-10) codes provide valuable information regarding the patient's medical history, they lack sufficient detail to identify many rare cancers. This study aimed to develop and validate an ontology-based natural language processing (NLP) pipeline, using the Saudi Real-World Evidence Network (SRWEN) data to improve the detection and classification of rare cancers. METHODS: This cross-sectional analysis examined electronic health record (EHR) diagnostic descriptions from SRWEN database, covering 2015-2025. The NLP pipeline used SciSpaCy, term frequency-inverse document frequency (TF-IDF), and SapBERT to map diagnostic descriptions to concepts from four biomedical references: Orphanet, Orphanet rare disease ontology (ORDO), national cancer institute thesaurus (NCIt), and unified medical language system (UMLS). Two authors manually reviewed all the concepts mapped by the three approaches. Positive predictive value (PPV) was the primary performance measure. RESULTS: Mapping was performed on 45,118 unique diagnostic descriptions against 832 unique rare-cancer concepts. The ICD-10 anchored TF-IDF approach achieved a PPV of 88% (95% CI: 81-93%), while SciSpaCy yielded a PPV of 19% (95% CI: 17-20%), and SapBERT yielded a PPV of 47% (95% CI: 44-51). A total of 4,971 patients were identified with rare cancers (median age = 60 years; IQR = 34 years; 62.0% male). The three most common rare malignancies, grouped by primary organ system, were liver and intrahepatic bile duct cancers (36.6%), brain-related cancers (13.3%), and bronchus and lung cancers (6.9%). CONCLUSION: Ontology-based NLP greatly improved diagnostic precision of rare cancers using only structured clinical data in EHRs.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Accurate Clinical Entity Recognition and Code Mapping of Anatomopathological Reports Using BioClinicalBERT Enhanced by Retrieval-Augmented Generation: A Hybrid Deep Learning ApproachBioengineering · 2025
- Lung cancer research: how natural language processing enhances clinical data extraction.Journal of thoracic disease · 2026
- RESCUE: An end-to-end multi-agent LLM system for proactive rare-disease patient screening in the EHRmedRxiv · 2026
- Systematic identification of rare disease patients in electronic health records enables evaluation of clinical outcomesScientific Reports · 2026
- A weakly supervised transformer for rare disease diagnosis and subphenotyping from EHRs with pulmonary case studiesnpj Digital Medicine · 2026
- RareCure: An Open-Source Artificial Intelligence Pipeline for Context-Adaptive Treatment Discovery in Rare Solid TumorsCureus · 2026