Litcius/Paper detail

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

Isabella C. Wiest, Fabian Wolf, Marie-Elisabeth Leßmann, Marko van Treeck, Dyke Ferber, Jiefu Zhu, H. BOEHME, Keno K. Bressem, Hannes Ulrich, Matthias Ebert, Jakob Nikolas Kather

2025npj Precision Oncology16 citationsDOIOpen Access PDF

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.

Topics & Concepts

WorkflowComputer scienceInformation extractionPipeline (software)SoftwareProtocol (science)Interface (matter)Unstructured dataKey (lock)Medical informationData extractionText messagingInformation retrievalApplication programming interfaceMatching (statistics)Software engineeringNatural languageOpen sourceRelationship extractionStage (stratigraphy)Data miningInformation systemMedical recordData scienceOpen source softwareUser interfaceUnified Medical Language SystemCancer stageText miningSource codeBiomedical Text Mining and OntologiesTopic ModelingMachine Learning in Healthcare
A software pipeline for medical information extraction with large language models, open source and suitable for oncology | Litcius