Related Experiment Video
Updated: May 20, 2025

TBase - an Integrated Electronic Health Record and Research Database for Kidney Transplant Recipients
Published on: April 13, 2021
Validation of an Algorithm to Identify End-Stage Kidney Disease in Electronic Health Records Data
Chenxi Gao1, Yunwen Xu2, Sneha Mehta3
1Department of Epidemiology, Johns Hopkins Bloomberg School of Public Health, Baltimore, Maryland; Department of Surgery, New York University Grossman School of Medicine, New York, New York.
Rationale & Objectives:
Accurate ascertainment of end-stage kidney disease (ESKD) in electronic health records (EHRs) data is important for much epidemiological research. This study developed and validated an algorithm using diagnosis and procedure codes to identify patients with ESKD (treated with maintenance dialysis or kidney transplantation) in EHR data.
Study Design:
Study of diagnostic algorithms.
Setting & Participants:
The development cohort included 559,615 patients treated at the Geisinger Health System (January 1996-June 2018). The validation cohort included 767,186 patients treated at New York University Langone Health System (January 2018 to December 2020).
Algorithms Compared:
The algorithm used diagnosis and procedure codes compared with a nominal gold standard designation within the United States Renal Data System (USRDS) data. The performance of the algorithm was characterized by sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV). The dates of incident ESKD between the algorithm and USRDS were compared in a subset of cases.
Outcome:
ESKD (maintenance dialysis, prior recipient of a kidney transplant, or kidney transplantation surgery) cases.
Results:
In Geisinger, we developed an ESKD algorithm that identified 4,766 (0.85%) ESKD cases; there were 5,155 (0.92%) ESKD cases reported by the USRDS. The sensitivity, specificity, PPV, and NPV of the algorithm were 73.9% (95% CI, 72.7-75.1%), 99.83% (99.82-99.84%), 79.9% (78.9-81.0%), and 99.76% (99.75-99.77%), respectively. When applying the algorithm to New York University Langone Health System data, the sensitivity, specificity, PPV, and NPV were 71.8% (95% CI, 70.7-73.0%), 99.95% (99.95-99.96%), 91.6% (90.8-92.4%), and 99.79 (99.78-99.80%), respectively. The median difference between dates of incident ESKD (algorithms minus USRDS) was-3 (IQR, -21 to 83) days for Geisinger and 0 (IQR, -12 to 69) days for New York University Langone Health.
Limitations:
Use of structured EHRs data only.
Conclusions:
Algorithms combining diagnosis and procedure codes show high specificity and modest sensitivity for identifying patients with ESKD, providing a research tool to inform future EHRs-based studies.
Plain-Language Summary:
Although electronic health records (EHRs) data holds great promise for advancing kidney research, little work has been done to accurately identify ESKD cases in these data. This study developed and validated an algorithm using diagnosis and procedure codes to identify ESKD in EHRs. Our findings showed that the algorithm performed consistently in 2 different health systems, demonstrating high specificity and negative predictive values but lower sensitivity and positive predictive value. This algorithm may inform future ESKD research using EHR data.
Related Concept Videos
Factors Affecting Renal Clearance: Renal Impairment
One condition associated with renal failure is uremia. Uremia is characterized by impaired glomerular filtration and fluid accumulation in the body. This condition hinders the renal clearance of drugs, resulting in drug accumulation and potential...
Dialysis
Acute kidney injury develops suddenly and can be caused by pre-renal causes (e.g., hypovolemia, shock), intrinsic renal causes (e.g., acute tubular necrosis), or post-renal causes (e.g., urinary obstruction). In contrast, chronic renal failure progresses gradually over time and is often...

