Title
Development and validation of a structured query language implementation of the Elixhauser comorbidity index.
Abstract
Objective: Comorbidity adjustment is often performed during outcomes and health care resource utilization research. Our goal was to develop an efficient algorithm in structured query language (SQL) to determine the Elixhauser comorbidity index. Materials and Methods: We wrote an SQL algorithm to calculate the Elixhauser comorbidities from Diagnosis Related Group and International Classification of Diseases (ICD) codes. Validation was by comparison to expected comorbidities from combinations of these codes and to the 2013 Nationwide Readmissions Database (NRD). Results: The SQL algorithm matched perfectly with expected comorbidities for all combinations of ICD-9 or ICD-10, and Diagnosis Related Groups. Of 13 585 859 evaluable NRD records, the algorithm matched 100% of the listed comorbidities. Processing time was similar to 0.05 ms/record. Discussion: The SQL Elixhauser code was efficient and computationally identical to the SAS algorithm used for the NRD. Conclusions: This algorithm may be useful where preprocessing of large datasets in a relational database environment and comorbidity determination is desired before statistical analysis. A validated SQL procedure to calculate Elixhauser comorbidities and the van Walraven index from ICD-9 or ICD-10 discharge diagnosis codes has been published.
Year
DOI
Venue
2017
10.1093/jamia/ocw181
JOURNAL OF THE AMERICAN MEDICAL INFORMATICS ASSOCIATION
Keywords
Field
DocType
comorbidity,computing methodologies,algorithms,software validation
SQL,Data mining,Relational database,Computer science,Databases as Topic,Discharge diagnosis,Comorbidity,Preprocessor,Diagnosis-related group,Statistical analysis
Journal
Volume
Issue
ISSN
24
4
1067-5027
Citations 
PageRank 
References 
0
0.34
0
Authors
2
Name
Order
Citations
PageRank
Richard H. Epstein153.18
Franklin Dexter202.03