Accurate Clinical Entity Recognition and Code Mapping of Anatomopathological Reports Using BioClinicalBERT Enhanced by Retrieval-Augmented Generation: A Hybrid Deep Learning Approach
Hamida Abdaoui, Chamseddine Barki, Ismail Dergaa, Karima Tlili, Halil İbrahim Ceylan, Nicola Luigi Bragazzi, Andrea de Giorgio, R. Ben Salah,
Tunis El Manar University · Manouba University
Key points
From the paper's conclusion- We developed and evaluated an automated pipeline for entity extraction and multi-ontology normalization of anatomopathological reports.
Abstract
BACKGROUND: Anatomopathological reports are largely unstructured, which limits automated data extraction, interoperability, and large-scale research. Manual extraction and standardization are costly and difficult to scale. OBJECTIVE: We developed and evaluated an automated pipeline for entity extraction and multi-ontology normalization of anatomopathological reports. METHODS: A corpus of 560 reports from the Military Hospital of Tunis, Tunisia, was manually annotated for three entity types: sample type, test performed, and finding. The entity extraction utilized BioBERT v1.1, while the normalization combined BioClinicalBERT multi-label classification with retrieval-augmented generation, incorporating both dense and BM25 sparse retrieval over SNOMED CT, LOINC, and ICD-11. The performance was measured using precision, recall, F1-score, and statistical tests. RESULTS: BioBERT achieved high extraction performance (F1: 0.97 for the sample type, 0.98 for the test performed, and 0.93 for the finding; overall 0.963, 95% CI: 0.933-0.982), with low absolute errors. For terminology mapping, the combination of BioClinicalBERT and dense retrieval outperformed the standalone and BM25-based approaches (macro-F1: 0.6159 for SNOMED CT, 0.9294 for LOINC, and 0.7201 for ICD-11). Cohen's Kappa ranged from 0.7829 to 0.9773, indicating substantial to near-perfect agreement. CONCLUSIONS: The pipeline provides robust automated extraction and multi-ontology coding of anatomopathological entities, supporting transformer-based named entity recognition with retrieval-augmented generation. However, given the limitations of this study, multi-institutional validation is needed before clinical deployment.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A modular workflow for biomedical entity normalization across heterogeneous biological ontologiesbioRxiv · 2026
- Digital Registrar: A Schema-First Framework for Multi-Cancer Privacy-Preserving Pathology Abstraction via Local LLMsDiagnostics · 2026
- Leveraging large language models for structured information extraction from pathology reportsJournal of Pathology Informatics · 2025
- OncoNoteBERT: A Foundation Representation Model for Natural Language Processing of Real-World Outpatient Oncology NotesarXiv · 2026
- Hybrid Lexical-Semantic AI Architecture for Automated Cancer Registry Coding for the Vet-ICD-O-Canine-1 System from Free-Text Veterinary Pathology Reports.Cancers · 2026
- OncoGenRAG: Evidence-Grounded Retrieval and BioBERT Classification for Precision Oncology Variant InterpretationbioRxiv · 2026