A software pipeline for medical information extraction with large language models, open source and suitable for oncology

Scritto il 17/09/2025
da Isabella Catharina Wiest

NPJ Precis Oncol. 2025 Sep 17;9(1):313. doi: 10.1038/s41698-025-01103-4.

ABSTRACT

In medical oncology, text data, such as clinical letters or procedure reports, is stored in an unstructured way, making quantitative analysis difficult. Manual review or structured information retrieval is time-consuming and costly, whereas Large Language Models (LLMs) offer new possibilities in natural language processing for structured Information Extraction (IE) from medical free text. This protocol describes a workflow (LLM-AIx) for extracting predefined clinical entities from unstructured oncology text using privacy-preserving LLMs. It addresses a key barrier in clinical research and care by enabling efficient information extraction to support decision-making and large-scale data analysis. It runs on local hospital infrastructure, eliminating the need to transfer patient data externally. We demonstrate its utility on 100 pathology reports from The Cancer Genome Atlas (TCGA) for TNM stage extraction. LLM-AIx requires no programming skills and offers a user-friendly interface for rapid, structured data extraction from clinical free text.

PMID:40962856 | DOI:10.1038/s41698-025-01103-4