Related Experiment Video
Updated: Feb 15, 2026

TBase - an Integrated Electronic Health Record and Research Database for Kidney Transplant Recipients
Published on: April 13, 2021
Combining information from a clinical data warehouse and a pharmaceutical database to generate a framework to detect
Emmanuelle Sylvestre1,2,3,4, Guillaume Bouzillé5,6,7,8, Emmanuel Chazard9
1INSERM, U1099, F-35000, Rennes, France. emmanuelle.sylvestre@chu-martinique.fr.
Insights
This study developed an algorithm to improve comorbidity detection in electronic health records (EHR) by analyzing drug prescriptions and lab results, addressing under-reporting in medical coding.
Area of Science:
- Medical Informatics
- Clinical Data Analysis
- Pharmacovigilance
Background:
- Medical coding is crucial for healthcare activities but often under-reports comorbidities.
- Electronic Health Records (EHR) contain valuable data for improving medical coding accuracy.
Purpose of the Study:
- To develop and validate an algorithm for detecting under-reported comorbidities in EHR.
- To leverage pharmaceutical databases, drug prescriptions, and laboratory results for enhanced comorbidity identification.
Main Methods:
- Enriched the Theriaque pharmaceutical database with a French Comorbidities List.
- Compared drug indications with ICD-10 billing codes in EHR to identify potential missing comorbidities.
- Integrated drug prescriptions and laboratory test results to refine comorbidity detection.
- Validated the algorithm using retrospective datasets from Rennes University Hospital.
Main Results:
- Over 50% of drugs in the Theriaque database were linked to comorbidities.
- The algorithm identified missing comorbidity codes in 75.4% of ENT patients and 68.4% of general patients.
- Confirmed comorbidity diagnoses ranged from 20.3% to 44.6% across datasets.
Conclusions:
- A straightforward algorithm combining knowledge databases, drug prescriptions, and lab results effectively detects comorbidities.
- This approach enhances the accuracy of medical coding by identifying under-reported conditions.
Background:
Medical coding is used for a variety of activities, from observational studies to hospital billing. However, comorbidities tend to be under-reported by medical coders. The aim of this study was to develop an algorithm to detect comorbidities in electronic health records (EHR) by using a clinical data warehouse (CDW) and a knowledge database.
Methods:
We enriched the Theriaque pharmaceutical database with the French national Comorbidities List to identify drugs associated with at least one major comorbid condition and diagnoses associated with a drug indication. Then, we compared the drug indications in the Theriaque database with the ICD-10 billing codes in EHR to detect potentially missing comorbidities based on drug prescriptions. Finally, we improved comorbidity detection by matching drug prescriptions and laboratory test results. We tested the obtained algorithm by using two retrospective datasets extracted from the Rennes University Hospital (RUH) CDW. The first dataset included all adult patients hospitalized in the ear, nose, throat (ENT) surgical ward between October and December 2014 (ENT dataset). The second included all adult patients hospitalized at RUH between January and February 2015 (general dataset). We reviewed medical records to find written evidence of the suggested comorbidities in current or past stays.
Results:
Among the 22,132 Common Units of Dispensation (CUD) codes present in the Theriaque database, 19,970 drugs (90.2%) were associated with one or several ICD-10 diagnoses, based on their indication, and 11,162 (50.4%) with at least one of the 4878 comorbidities from the comorbidity list. Among the 122 patients of the ENT dataset, 75.4% had at least one drug prescription without corresponding ICD-10 code. The comorbidity diagnoses suggested by the algorithm were confirmed in 44.6% of the cases. Among the 4312 patients of the general dataset, 68.4% had at least one drug prescription without corresponding ICD-10 code. The comorbidity diagnoses suggested by the algorithm were confirmed in 20.3% of reviewed cases.
Conclusions:
This simple algorithm based on combining accessible and immediately reusable data from knowledge databases, drug prescriptions and laboratory test results can detect comorbidities.
More Related Videos
Related Concept Videos
Data Reporting and Recording
Purpose of Health Records I
Here's a breakdown of how health records serve these purposes:
Purpose of Health Records II
Pharmaceutical Equivalents
Statistical Software for Data Analysis and Clinical Trials
Pharmaceutical Poisoning: Potential Scenarios

