Related Experiment Video
Updated: Jul 4, 2026

Inverse Probability of Treatment Weighting (Propensity Score) using the Military Health System Data Repository and National Death Index
Published on: January 8, 2020
Assessing the Concordance Between LLM-Based ICD-10 Coding and a Drug Database for Antihypertensive Drug
Samya Adrouji1, Abdelmalek Mouazer2, Jean-Baptiste Lamy1
1Sorbonne Université, INSERM, Université Sorbonne Paris Nord, LIMICS, Paris France.
Large language models (LLMs) show substantial agreement with expert drug contraindication codes when they identify the same information. However, differences in data coverage limit overall entity-level concordance.
Area of Science:
- Pharmacology
- Medical Informatics
- Natural Language Processing
Background:
- Manual International Classification of Diseases, 10th Revision (ICD-10) coding for drug contraindications is labor-intensive and difficult to scale.
- Large language models (LLMs) show potential for clinical information extraction, but their reliability for structured pharmacological coding needs evaluation against expert databases.
Purpose of the Study:
- To evaluate the agreement between LLM-generated ICD-10 codes and the Thésorimed drug database for antihypertensive drug contraindications.
- To compare automated coding performance against a validated expert-curated resource.
Main Methods:
- Extracted contraindications from free-text Summary of Product Characteristics for 301 antihypertensive drugs using a retrieval-augmented generation pipeline.
- Aligned extracted contraindications with Thésorimed ICD-10 codes.
- Assessed agreement using binary kappa (κ1) for entity presence and hierarchical weighted kappa (κ2) for ICD-10 code concordance on 5,074 entities.
Main Results:
- Entity-level agreement was slight (κ1 = -0.30), indicating structural differences in source coverage.
- Code-level agreement for matched contraindications was substantial (κ2 = 0.70), with 76.9% identical ICD-10 codes.
Conclusions:
- LLM-based coding demonstrates substantial concordance with expert ICD-10 assignments when contraindications are identified by both sources.
- Significant differences in data coverage and representation between LLMs and expert databases were observed at the entity level.
Related Concept Videos
Bioequivalence of Drugs: Drugs with Multiple Indications
Drug Product Performance: In Vitro–In Vivo Correlation
Drug Dosing: Obese Patients
Types of Biopharmaceutical Studies: Controlled and Non-Controlled Approaches
Non-controlled studies, commonly employed for initial exploration, lack a control group, rendering them susceptible to biases and external influences. In contrast, controlled...
Kendall's Coefficient of Concordance
Agonism and Antagonism: Quantification
To quantify these effects, researchers use a dose-response curve, which provides valuable information about the potency and efficacy of a drug. Potency refers to...