BMJ health & care informatics

Validation of ICD-10-CM algorithms for repeated eGFR-defined chronic kidney disease in the TriNetX network.

Chung-An Wang, Wei-Jie Wang, Jui-Yi Chen, Chung-Yi Cheng, Vin-Cent Wu

Far Eastern Memorial Hospital, New Taipei, Taiwan. · Division of Nephrology, Department of Internal Medicine, Lo-Sheng Hospital, New Taipei, Taiwan.

Key points

From the paper's conclusion
  • ICD-10-CM algorithms provide a valid but incomplete approach for identifying repeated eGFR-defined CKD in the TriNetX network. No single ICD-based phenotype or temporal ascertainment strategy is optimal; algorithm selection should therefore be guided by the research application. Future phenotyping strategies combining diagnosis codes with longitudinal laboratory data may further improve identification.

Abstract

OBJECTIVES: Chronic kidney disease (CKD) is increasingly identified using electronic health records for real-world research, yet the validity of International Classification of Diseases, Tenth Revision, Clinical Modification (ICD-10-CM) CKD algorithms remains uncertain. We evaluated the diagnostic accuracy of ICD-10-CM algorithms against repeated estimated glomerular filtration rate (eGFR)-defined CKD in the TriNetX network. METHODS: Adults with ≥2 eGFR measurements between 2021 and 2025 in the TriNetX US Collaborative Network were included. Repeated eGFR-defined CKD served as the reference standard. Diagnostic performance of algorithms requiring ≥1 or ≥2 ICD-10-CM codes was assessed, with additional temporal analyses restricting code ascertainment to ±3, ±6 and ±12 months around the index eGFR measurement. RESULTS: Among 8 239 691 adults with ≥2 eGFR measurements, 1 328 952 met laboratory-defined criteria for CKD stage ≥3. For stage ≥3, an ICD-10-CM code yielded sensitivity of 64.1%, specificity of 95.6%, positive predictive value (PPV) of 73.8% and negative predictive value (NPV) of 93.3%. For stage ≥4, sensitivity was 79.2%, specificity was 98.0%, PPV was 57.3% and NPV was 99.3%. Requiring ≥2 codes reduced sensitivity but increased PPV. Temporal restriction increased PPV to approximately 96% for stage ≥3 and 93% for stage ≥4, but reduced sensitivity. DISCUSSION: Increasing the number of required ICD-10-CM codes and temporal restriction reduced sensitivity but increased PPV, highlighting trade-offs between diagnostic certainty and case ascertainment. CONCLUSIONS: ICD-10-CM algorithms provide a valid but incomplete approach for identifying repeated eGFR-defined CKD in the TriNetX network. No single ICD-based phenotype or temporal ascertainment strategy is optimal; algorithm selection should therefore be guided by the research application. Future phenotyping strategies combining diagnosis codes with longitudinal laboratory data may further improve identification.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Validation of ICD-10-CM algorithms for repeated eGFR-defined chronic kidney disease in the TriNetX network — Science Skim