Validating Type 2 Diabetes Diagnoses Across the Madrid Hospital Network: Evidence for Secondary Use of the CMBD in the European Health Data Space.
Rafael Gómez-Coronado-Martín, Ana Chacón-García, Ana López-de-Andrés, Miguel A Salinero-Fort, Daniala L Weir, Carmen de Burgos-Lunar
Servicio de Admisión y Documentación Clínica, Hospital Clínico San Carlos, Instituto de Investigación Sanitaria del Hospital Clínico San Carlos (IdISSC), 28040 Madrid, Spain. · Department of Public Health and Maternal & Child Health, Universidad Complutense de Madrid, Instituto de Investigación Sanitaria del Hospital Clínico San Carlos (IdISSC), 28040 Madrid, Spain.
Key points
From the paper's conclusion- We aimed to quantify the precision and completeness of E11 coding across the public hospital network of the Region of Madrid.
Abstract
Background/Objectives: Hospital discharge data are increasingly reused for research and within health data spaces, but their value depends on accurate diagnostic coding. The validity of type 2 diabetes mellitus (T2DM) coding in the Spanish hospital discharge database (CMBD) had not been assessed across a whole regional network. We aimed to quantify the precision and completeness of E11 coding across the public hospital network of the Region of Madrid. Methods: We conducted a retrospective validation study in the public hospitals of the Region of Madrid (2016-2025). In each of four hospital complexity groups, we selected admissions with and without an ICD-10-ES E11 code, matched by age and sex (787 and 781 analysed). The reference standard was the American Diabetes Association criteria, checked in health records. Predictive values were estimated directly; sensitivity, specificity and prevalence were reconstructed for the whole population, adjusting for sex and age. Results: Of 4,707,924 discharges, 918,797 (19.5%) had a T2DM code. The positive predictive value was 94.2% (95% CI: 92.1-96.0), the negative predictive value 94.0% (91.3-96.3), specificity 98.5% (98.0-99.0) and sensitivity 79.3% (72.4-86.2), a lower bound. The estimated prevalence of T2DM among discharges was 23.2%, against 19.5% coded; about 226,000 admissions with T2DM had no code. Only the positive predictive value differed between hospital groups (p = 0.006). Conclusions: The E11 code is highly precise but incomplete: it is reliable for building cohorts, whereas counts based on it underestimate the number of cases by about one in five.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Validation studies of ICD-10 diagnostic codes for identifying common causes of hospitalization: a scoping review.Journal of clinical epidemiology · 2026
- Development and internal validation of a logistic regression model for predicting in-hospital mortality among hospitalized patients with type 2 diabetes and COVID-19: a retrospective cohort studyEuropean Journal of Medical Research · 2026
- Under-Coding of Diabetes Mellitus and Its Financial Impact in the G-DRG System: A Six-Year Trauma Center Study.Healthcare (Basel, Switzerland) · 2026
- DiabetIA: A Longitudinal Electronic Health Record Dataset for Diabetes Research from MexicomedRxiv · 2026
- Quality of ICD-10 Diagnoses for Cataract in the Danish National Patient Register.Ophthalmic epidemiology · 2026
- Diabetes prevalence, monitoring, and targets in Irish primary care: a cross-sectional studyEuropean Journal of Public Health · 2026