e13676 Background: Clinically relevant information is primarily embedded in unstructured narrative documents, limiting the scalability of clinical research and the development of registries. While large language models (LLMs) enable advanced clinical text mining, adoption is constrained by concerns regarding data sovereignty, multilingual performance, and reproducibility. We developed and validated a secure, on-premise LLM-based pipeline for structured data extraction from non-English pathology reports. Methods: CIDER (ClinIcal Data ExtractoR) is an on-premise, asynchronous pipeline for high-throughput extraction of structured clinical variables from pathology reports. The system uses vLLM-based inference with the open-source Qwen3-VL-32B-Instruct-FP8 model deployed in an air-gapped institutional environment. Validation was performed on 2,073 Hungarian-language histopathology reports. Seven clinical variables were evaluated against expert-curated reference data. Extraction accuracy, technical reproducibility (three independent runs at temperature T = 0.1), and robustness across stochastic sampling settings (T = 0–2.0) were assessed. Results: CIDER achieved near-expert concordance with manual abstraction, with accuracy exceeding 98% for sex and year of surgery, > 95% for T stage, and > 92% for N stage. Technical reproducibility was high, with negligible variability across repeated runs. The pipeline substantially improved dataset completeness by recovering clinically valid values omitted during manual abstraction, including 62.8% of missing T-stage annotations and 91.5% of missing tumor size measurements. Performance remained stable across sampling temperatures, with optimal accuracy at low stochasticity (T ≤ 0.2). Conclusions: CIDER demonstrates that locally deployed, open-source LLMs can reliably extract structured clinical data from complex, non-English pathology narratives while preserving full data sovereignty and reproducibility. By enabling scalable transformation of unstructured text into research-ready datasets, CIDER provides a secure and practical solution for clinical registry development and real-world evidence generation.
Posta et al. (Thu,) studied this question.