Ontology-Guided Large Language Model Adaptation for Patient-Safety Concept Extraction from Japanese Medication-Incident Reports: Dataset Characterization, Ontology Profiling, and Baseline Evaluation
Background Japanese medication-incident reports contain safety-relevant entities embedded in narrative text, requiring reliable annotation alignment, transparent dataset preparation, and appropriate semantic interpretation. Objective To characterize a Japanese medication-incident corpus, profile the Medication Safety Co-Decision Ontology (MSCDO), and report an exploratory zero-shot LLaMA entity-extraction pilot. Methods The original corpus contained 478,176 annotation rows, 58,389 report identifiers, and 58,340 unique normalized report texts across 13 entity categories. One-based end-exclusive offsets reproduced 456,751 annotated strings (95.52%). Two reports with conflicting translated versions were excluded, yielding 58,387 eligible reports. An earlier report-level split (46,705/5,842/5,842; training/validation/test) supported a separate exact surface-form dictionary evaluation on 5,764 test reports. This baseline achieved micro-precision 0.4183, micro-recall 0.2013, and micro-F1 0.2718 (95% report-bootstrap CI: 0.2655–0.2777). Separately, an exact-match benchmark comprised 51,519 reports and 161,557 annotations, partitioned into training (41,233), validation (5,171), and test (5,115) sets by normalized report text (seed 42). All benchmark spans were exact substrings of their source texts. A 10-report test-set sample was evaluated using zero-shot Llama 3.2 1B Instruct Q4_K_M on CPU. MSCDO.owl was also structurally profiled. Results The focused ontology profile identified 488 triples, four selected classes, 14 object properties, seven hierarchy relationships, and 70 domain–property–range rows; no OWL restrictions were extracted. The LLaMA pilot produced 53 predictions against 38 reference entities, with zero exact matches (micro-F1 = 0.0000). Five outputs were invalid JSON, 52 predicted spans were absent from source texts, and mean inference time was 52.42 seconds per report. Conclusions The study characterizes a medication-incident corpus and profiles MSCDO while documenting limitations in exploratory LLaMA extraction. It does not establish ontology-constrained inference, LoRA adaptation gains, inter-annotator agreement, external validity, or clinical utility.
Authors
- Sharare Taheri Moghadam
- Md Shafiqur Rahman Jabin (ORCID: https://orcid.org/0000-0003-0197-8716)
Institutions
- Iran University of Medical Sciences (IR)
- Linnaeus University (SE)
Publication Details
- Journal
- Intelligence-Based Medicine
- Published
- 2026-12-01
- DOI
- https://doi.org/10.1016/j.ibmed.2026.100536
- Primary Topic
- Biomedical Text Mining and Ontologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00