Abstract
In hospitalized patients, acute kidney injury (AKI) is an important adverse event associated with high mortality and medical costs. Accurate diagnosis and timely management of AKI are essential for improving the outcomes of in-hospital AKI, and delayed diagnosis or misdiagnosis hinders advancements in AKI care. To ameliorate this problem, several electronic AKI alert systems have been proposed but have shown inconsistent effects on AKI outcomes. Before electronic systems can improve AKI outcomes, it is important to confirm their diagnostic accuracy. The purposes of the present study were to establish an easy-to-construct computerized algorithm for the diagnosis of renal impairment and to test its accuracy. The present study retrospectively included 1551 patients hospitalized in Wanfang Hospital with serum creatinine (SCr) levels > 1.3 mg/dL. A computerized algorithm was constructed to identify AKI events and chronic kidney disease (CKD) in these patients. Previous SCr tests were reviewed to define baseline SCr levels. A SCr level increased > 1.5 times from baseline was defined as AKI. An estimated glomerular filtration rate (eGFR) of < 60 mL/min/1.73 m2 for > 90 days was defined as CKD. Discharge diagnoses made by the attending physicians were defined as “clinician’s diagnoses.” The researcher’s diagnoses, made by experienced nephrologists according to the same criteria, were the gold standard to which the computerized algorithms and the clinician’s diagnoses were compared. The diagnoses made by the computerized algorithm and clinician were compared with the researcher’s diagnoses to define their accuracy. Among the included patients, the mean age was 73.0 years; in-hospital mortality was 14.8%, and AKI was present in 28.6% of patients. Regarding the diagnostic accuracy for AKI, the computerized algorithm achieved a sensitivity of 85.6% and a specificity of 98.8%. The main cause of false-negative (FN) AKI diagnosis was AKI occurring prior to the outpatient visit, before the indexed hospitalization. Regarding the diagnostic accuracy for CKD, the computerized algorithm achieved a sensitivity of 94.7% and specificity of 100%. The main cause of FN CKD diagnosis was the lack of previous eGFR records. The computerized algorithm exhibited significantly superior accuracy compared to the clinician’s diagnoses for both AKI (95.0% vs. 57.0%) and CKD (96.5% vs. 73.6%). We developed a simple and easy-to-construct computerized algorithm for the diagnosis of renal impairment that demonstrated significantly improved diagnostic accuracy for AKI and CKD compared to that of clinicians. In the future, an algorithmic approach for the differential diagnosis of AKI and a decision guide should be incorporated into this system.
Similar content being viewed by others
Introduction
Acute kidney injury (AKI) is one of the most common complications among hospitalized patients1, is associated with high in-hospital mortality and long hospital stays2. If not treated appropriately, AKI may become irreversible and progress to chronic kidney disease (CKD) or end-stage renal disease (ESRD)3. In official reports, the annual cost associated with AKI was as high as £1 billion in the United Kingdom and $5.4–$24.0 billion in the United States, causing a heavy burden on the healthcare system4,5. Early and accurate diagnosis is one of the most accepted strategies for attenuating the medical burden associated with AKI6,7.
Although the criteria for AKI are clearly defined by clinical guidelines, it is often overlooked by clinicians, which increases medical costs and mortality among hospitalized patients5,8. One solution to improve the diagnosis of AKI is to use an electronic AKI alert system. In a previous study conducted in intensive care units (ICUs), an electronic AKI alert system significantly improved renal function9. In another multicenter study of hospitalized patients, a computerized clinical-decision support system resulted in small decreases in hospital mortality, dialysis use, and length of hospital stay10. The results of these studies suggest that computerized or electronic AKI alert systems may be a solution for improving in-hospital AKI outcomes. However, this approach has certain drawbacks. In an observational cohort study with segmented regression analysis conducted in the United Kingdom, implementation of an electronic AKI alert system and AKI-related staff education did not reduce the severity or mortality associated with AKI11. In a previous study conducted in Korea, although the implementation of electronic AKI alerts with automated nephrologist consultations improved the likelihood of AKI recovery, the mortality of patients with AKI was not affected12. In another multicenter trial involving electronic AKI alert systems, AKI care bundles, and educational programs, the incidence of AKI paradoxically increased, and 30-day AKI mortality was not reduced13. To date, whether electronic AKI alert systems with automated nephrologist consultation or AKI care bundles improve the outcome of AKI remains unclear14,15,16.
While the early recognition of AKI is beneficial, the electronic AKI alert system has not been shown to improve AKI outcomes. One reason for this disappointing result is that electronic AKI alert systems do not change the clinical management of AKI11. Frequent automatic alerts are likely to cause alert fatigue, which means clinicians become desensitized to the alerts and fail to response effectively17. In addition, the uncertain accuracy of the electronic AKI alert system hinders its application in clinical practice. In our experience, electronic AKI alert systems often provide excessive alerts containing CKD or ESRD results that do not require immediate evaluation. To avoid this, an electronic AKI alert system must provide accurate and streamlined alerts. The accuracy of electronic AKI alert systems, however, has not been validated in previous studies, rendering it infeasible to evaluate their real effect on the outcomes of patients with AKI.
To compensate for this gap, the present study aimed to develop and test the accuracy of a computerized algorithm for the assessment of renal impairment that is capable of accurately classifying renal impairment data into the diagnosis of AKI or CKD, providing correct AKI alerts, and avoiding overabundant messages to clinicians.
Material and methods
Study design and participants
The study was conducted at Wanfang Hospital, Taipei Medical University. Medical records of patients hospitalized between March 2020 to December 2020 were retrospectively reviewed. All patients older than 20 years with at least one record of a serum creatinine (SCr) level > 1.3 mg/dL were included in the analysis. The “clinicians’ diagnoses” of AKI or CKD were made independently by the attending physician or surgeon and documented in discharge summaries. Remarkably, the clinicians’ diagnoses were made without further validation, further demonstrating the need to verify the accuracy of such diagnoses. The series of SCr data from more than 90 days before admission to the end of hospitalization was interpreted using the computerized algorithm established in this study to automatically generate the diagnoses. The “researcher’s diagnosis,” made by two experienced nephrologists based on a review of the same series of laboratory data, was the gold standard to which the computerized algorithm and clinician’s diagnoses were compared to define their accuracy. The present study was approved by the Ethics Committee and Institutional Review Board of Taipei Medical University (N202111017). All the participants provided informed consent. This study was conducted in accordance with the tenets of the 1975 Declaration of Helsinki, revised in 2000.
Researcher’s definitions for AKI and CKD
The definition of AKI was adapted from the Kidney Disease: Improving Global Outcomes (KDIGO) Clinical Practice Guideline for AKI. As an abnormal SCr value was identified (> 1.3 mg/dL), data from previous SCr tests were reviewed. AKI was defined in the following situations: 1. For those who underwent previous SCr tests within 7 days before the indexed abnormal SCr values, an increase in the SCr value > 1.5 was defined as AKI. However, AKI was not observed. 2. For those who had previous SCr tests more than 7 days before the indexed abnormal SCr values, the nearest previous SCr value was assumed to be the baseline SCr level, and an increase in SCr value of > 1.5 times this level was defined as AKI. Otherwise, AKI was not observed. 3. For those without any previous SCr tests, the patient was assumed to have a normal baseline SCr level, and AKI was defined as present. Notably, in the present study, the AKI criterion of decreased urine output in the KDIGO Clinical Practice Guidelines was not adopted because the documentation of urine output was unconfirmed.
The definition of CKD was adapted from the KDIGO Clinical Practice Guideline for CKD. The estimated glomerular filtration rate (eGFR) was calculated using the CKD Epidemiology Collaboration (CKD-EPI) equation18. If an abnormal eGFR was identified (< 60 mL/min/1.73 m2), the data of the previous eGFR were reviewed. CKD was defined in the following situations: 1. For those with abnormal eGFR values > 90 days before the indexed abnormal eGFR value, CKD was defined as present. 2. For those with normal eGFR values > 90 days before the indexed abnormal eGFR values, CKD was defined as absent. Notably, the CKD criteria for ultrasonographic findings and proteinuria in the KDIGO Clinical Practice Guidelines were not adopted because these examinations were not routinely performed; thus, these data were not generally available for the computerized algorithms.
Programmatic approach for the diagnosis of renal impairment
The program code was edited using Node.js 14.19.1 (OpenJS Foundation, San Francisco, CA, USA). For cases in which an abnormal SCr level (> 1.3 mg/dL) was identified by the program, the presence of AKI or CKD was defined independently. For cases in which the patient had record of a previous SCr test within 90 days, AKI was defined as an increase in the SCr value of > 1.5 times the baseline value. For cases in which there were no records of previous SCr testing in the database, the patient was assumed to have a normal baseline SCr, and AKI was defined as present. For cases in which there were records of SCr testing > 90 days prior, the previous SCr value was assumed to be the baseline, and the presence of AKI was defined as an increase in SCr of > 1.5 times this value. For case in which there were records of eGFR < 60 mL/min/1.73 m2 more than 90 days prior, CKD was defined as present (Fig. 1). The pseudocode for the algorithm is provided as a supplementary file.
Algorithm chart. indexDate, the date when we detect abnormal SCr level; indexSCr, the detected abnormal SCr level; eGFR < 60Intervals, the intervals between tests with eGFR < 60; D1-7SCrLowest, the lowest SCr level between 1 and 7 days before indexDate; D8-90SCrLowest, the lowest SCr level between 8 and 90 days before indexDate; D>90SCrNearest, the latest SCr level before 90 days before indexDate. eGFR, estimated glomerular filtration rate; SCr, serum creatinine.
Statistical analyses
Continuous variables with normal distribution were expressed as mean ± standard deviation (SD); continuous variables that deviated from normal distribution were expressed as medians and interquartile ranges; categorical variables were expressed as frequencies and percentages. Statistical tests for continuous variables with normal distribution were performed using a two-tailed t-test for unpaired samples. Statistical tests for continuous variables deviating from normal distribution were performed using non-parametric methods. Statistical tests for categorical variables were performed using the chi-squared test. P < 0.05 was defined as significant. Diagnostic accuracy was evaluated using a diagnostic table. Statistical analyses were performed using SAS 9.4 (SAS Institute Inc., Cary, NC, USA).
Results
Characteristics of the study subjects
During the 10-month study period, 1551 hospitalized patients with at least one record of a SCr level > 1.3 mg/dL were included in the analyses. Of all the included patients, the mean age was 73.0 (SD 14.9) years, 63.1% were male, in-hospital mortality was 14.8%, and AKI was present in 28.6%. Regarding the admission departments, 70.9% were admitted to medical services, and 29.1% were admitted to nonmedical services. Regarding the source of patients, 56.6% were admitted from the emergency department (ED), and 43.4% were admitted from the outpatient department (OPD). Compared to patients admitted from the OPD, those admitted from the ED were significantly older and had significantly higher mortality and more AKI events. Additionally, patients admitted to the ED had significantly more cases of heart failure, atrial fibrillation, dementia, and acute stroke. In contrast, patients admitted from the OPD had significantly more cases of dyslipidemia and solid cancer. Notably, the percentages of patients with CKD, hypertension, coronary artery disease, and diabetes mellitus were similar among the patients from different sources (Table 1).
The median hemoglobin level was 10.6 g/dL, that of the blood urea nitrogen (BUN) level was 41 mg/dL, and that of the SCr level was 2.2 mg/dL. Patients with AKI had significantly higher white blood cell counts, lower platelet counts, higher BUN levels, and higher aspartate and alanine aminotransferase levels than those without AKI. Notably, the SCr levels in patients with AKI were not significantly higher than those in patients without AKI. Patients with AKI during hospitalization had higher mortality and dialysis rates than those without AKI. Among the patients with AKI, 13.0% had a known history of CKD. Interestingly, among the non-AKI patients with CKD, only 52.8% had documented history of CKD, indicating that clinicians may not have been able to thoroughly evaluate CKD history of the hospitalized patients. These findings suggest that, while patients with AKI showed higher disease severity and mortality, their SCr levels and eGFRs were similar to those of patients without AKI at the time of admission (Table 2).
Diagnostic accuracy of computerized algorithm for AKI
To define the actual AKI events in the present study, the complete series of SCr data was reviewed by researchers who were exclusively nephrology specialists. Any increase of SCr level to ≧1.5 times baseline within the prior 7 days defined AKI, criteria adapted from the KDIGO Clinical Practice Guideline for AKI. For those who did not have baseline SCr levels within the previous 7 days, the nearest previous SCr level was assumed to be the baseline. For those who had no record of prior SCr levels, the baseline SCr level was assumed to be normal. For a single hospitalization course, more than one episode of AKI events were considered “a hospitalization with AKI event.” Notably, in contrast to the researcher’s definition of AKI, the computerized algorithm used the highest SCr level during hospitalization as the indexed SCr level for possible AKI. An increase in SCr level > 1.5 times the previous reading defined hospitalization with an AKI event.
Of the included 1551 patients with at least one record of a SCr level > 1.3 mg/dL, 443 were defined as having AKI events during the indexed hospitalization. Among these AKI events, 379 were identified using the computerized algorithm, which achieved a sensitivity of 85.6%. In addition, of the 1108 patients who did not have AKI events during the indexed hospitalization, 13 were falsely defined as having AKI by the computerized algorithm, which achieved a specificity of 98.8%. Of the 64 false-negative (FN) AKI events missed by the computerized algorithm, 45 were not identified because of prolonged AKI or progression to CKD that began before the indexed hospitalization. The other 19 AKI events were missed by the computerized algorithm because SCr tests were performed too frequently within the 7 days before the highest SCr test during hospitalization, obscuring the real baseline SCr level and increasing the SCr level by less than 1.5 times. In contrast, the 13 false-positive (FP) AKI events mistaken by the computerized algorithm were exclusively due to fluctuating SCr levels caused by hemodialysis sessions (Table 3).
Diagnostic accuracy of computerized algorithm for CKD
To define the actual CKD cases in the present study, a complete series of all available previous eGFR records were reviewed by the researchers. Patients with eGFRs < 60 mL/min/1.73 m2 for > 90 days were defined as having CKD, criteria adapted from the KDIGO Clinical Practice Guideline for CKD. For those without baseline eGFR records within the previous 90 days, the latest eGFR was assumed to be the baseline. For patients with no prior eGFR records, the baseline eGFR was assumed to be normal.
Of the included 1551 patients, 1031 were defined as having CKD before the index hospitalization. Among these CKD cases, 976 were identified by the computerized algorithm, which achieved a sensitivity of 94.7%. The 55 FN CKD cases missed by the computerized algorithm due to the lack of previous eGFR records. In contrast, all 520 patients without CKD were correctly recognized using the computerized algorithm, which achieved a specificity of 100.0% (Table 4).
Comparison of accuracy between computerized algorithm and clinician’s diagnosis
To understand how the computerized algorithm improved the diagnostic accuracy of renal impairment, we compared its accuracy to that of the diagnoses made by the attending clinicians. In this analysis, correct diagnoses for both AKI and CKD in a single patient were regarded as “completely correct diagnoses”; correct diagnosis for either AKI or CKD with the other incorrectly diagnosed in a single patient was regarded as “partially correct diagnoses”; incorrect diagnoses for both AKI and CKD in a single patient were regarded as “completely incorrect diagnoses.” The computerized algorithm made a completely correct diagnosis in 92.3% (1431/1551) of the patients, a partially correct diagnosis in 7.0%, and a completely incorrect diagnosis in only 0.7% (12/1551) (Fig. 2). On the other hand, the attending clinicians made a completely correct diagnosis in only 39.3% (610/1551) of the patients and a partially correct diagnosis in 51.9% (805/1551). Surprisingly, in as many as 8.8% (136/1551) of the patients, the attending clinicians made a completely incorrect diagnosis (Fig. 3).
The accuracy of the Computerized Algorithm for renal impairment. Completely correct diagnosis was defined by correct diagnosis of both AKI and CKD; Partially correct diagnosis was defined by a single correct diagnosis of either AKI or CKD; Complete incorrect diagnosis was defined by incorrect diagnosis for both AKI and CKD. AKI, acute kidney injury; CKD, chronic kidney disease.
The accuracy of the attending clinicians for renal impairment. Completely correct diagnosis was defined by correct diagnosis of both AKI and CKD; Partially correct diagnosis was defined by a single correct diagnosis of either AKI or CKD; Complete incorrect diagnosis was defined by incorrect diagnosis for both AKI and CKD. AKI, acute kidney injury; CKD, chronic kidney disease.
Furthermore, the diagnostic accuracies for AKI and CKD were compared separately to show the difference between the computerized algorithm’s accuracy for each and that of the attending clinicians. Regarding the accuracy of AKI, the computerized algorithm made an accurate diagnosis in 95.0% of the patients, which was significantly higher than the accuracy of the attending clinicians (95.0% vs. 57.0%, P < 0.001). Among medical patients (defined as patients admitted to service of physicians, n = 1100), the computerized algorithm made an accurate AKI diagnosis in 94.6% of patients, which was significantly higher than the accuracy of the attending clinicians (94.6% vs. 53.6%, P < 0.001). Among non-medical patients (defined as patients admitted to service of surgeons, n = 451), the computerized algorithm made an accurate AKI diagnosis in 96.2%, which was significantly higher than the accuracy of the attending clinicians (96.2% vs. 65.4%, P < 0.001). Regarding the diagnostic accuracy for CKD, the computerized algorithm achieved significantly higher accuracy than the attending clinicians (96.5% vs. 73.6%, P < 0.001). Among medical patients, the computerized algorithm made an accurate CKD diagnosis in 97.3%, which was significantly higher than the accuracy of the attending clinicians (97.3% vs. 76.0%, P < 0.001). Among non-medical patients, the computerized algorithm made an accurate CKD diagnosis in 94.5%, while the attending clinicians made an accurate diagnosis in 67.6%. Again, this difference was significant (P < 0.001) (Table 5). The performance of the computerized algorithm was assessed separately for patients from the ED and the OPD to determine the algorithm’s versatility. For the diagnosis of AKI, the accuracy of the computerized algorithm was significantly higher than that of the clinicians in both ED and OPD settings. Similarly, the algorithm demonstrated superior accuracy in diagnosing CKD compared with the clinicians. These results indicate that the computerized algorithm outperformed clinicians in various hospital settings (Table 6).
Discussion
The computerized algorithm used in the present study identified AKI events in hospitalized patients with a sensitivity of 85.6% and specificity of 98.8% and identified CKD in hospitalized patients with a sensitivity of 94.7% and specificity of 100.0%. The main causes of FN AKI cases were AKI occurring before the time of the indexed hospitalization and frequent SCr tests obscuring the increase in the highest SCr from its baseline. FN CKD was exclusively caused by the absence of past medical records. Despite these weaknesses, the computerized algorithm showed significant superiority over attending clinicians in terms of diagnostic accuracy for both AKI and CKD.
A major finding of the present study was that that both AKI events and CKD were underdiagnosed by the attending physicians and surgeons, which may have postponed appropriate management and referrals. Because we did not interview the clinicians individually, the reasons for this could not be explicitly explained. A possible explanation may be that, in cases in which a patient was not admitted because of AKI or was not managed by a nephrologist, minor or moderate increases in SCr that just fulfilled the AKI criteria may have been overlooked by the attending clinicians. Although an electronic AKI alert system is expected to improve the outcomes of patients with AKI, previous studies have reported inconsistent results. In the author’s opinion, two important tasks must be performed before an electronic AKI alert system can improve AKI outcomes. The first is the standardization of the methodology of electronic AKI alert systems to ensure that the alert is accurate and appropriate. The second is an algorithmic approach for the differential diagnosis of each specific case of AKI, which may provide personalized treatment instead of a unified AKI care bundle.
At a United Kingdom AKI consensus conference, experts recommended that, for the development of electronic AKI alert systems, a guide should be provided on how current diagnostic criteria should be applied and how baseline SCr levels should be selected19. Although many studies have investigated how electronic AKI alert systems change AKI outcomes, their diagnostic accuracy has seldom been reported. In a large-scale study involving 53,816 ED visits, Jonsson et al. tested the diagnostic accuracy of computerized algorithms applied to the original KDIGO AKI criteria and several modified criteria. The original KDIGO AKI criteria exhibited a sensitivity and specificity of 79% and 94%, respectively. However, the modified criteria that use the mean SCr of the last 30 days or 3–12 months may increase the sensitivity and specificity to 92–93% and 95–96%, respectively, which shows that the selection of baseline SCr levels is crucial for the diagnostic accuracy of electronic AKI alert systems20. In the present study, we aimed to standardize the methodology of electronic AKI alert systems so that they are applicable to smaller hospitals, which may encounter more cases without past SCr records. Regarding the diagnostic accuracy for AKI, the computerized algorithm used in the present study achieved a sensitivity of 85.6% and specificity of 98.0%. In contrast to the study by Jonsson et al. referred to above, we did not use the mean SCr of the past period, but the last SCr value as the baseline SCr level. As the mean SCr may be confounded by episodes of fully recovered AKI, the last SCr record is a more reasonable baseline. Notably, we also attempted to use the first abnormal SCr level for the computerized algorithm to define the occurrence of AKI in this study, but it resulted in lower sensitivity. This was because the first abnormal SCr level may not have been as high as 1.5 times of its prior reading, and the AKI event of the higher SCr test that occurred later was neglected. Thus, in the present study, the highest SCr level during hospitalization was used by the computerized algorithm to define AKI. Nonetheless, in the context of real-time renal monitoring, AKI events are eventually detected as SCr increases to > 1.5 times its previous value.
In addition to diagnosing AKI events, the computerized algorithm was used to identify CKD cases. Unlike the management strategies for AKI, CKD requires early diagnosis and appropriate referral to specialists21. Several electronic tools with various diagnostic algorithms have been developed for the early diagnosis of CKD. Approaches to diagnostic algorithms include identifying diagnostic codes22,23,24,25 and checking eGFR laboratory criteria26 with or without consideration of proteinuria24,25. The sensitivities and specificities of these algorithms range from 87 to 100% and 96–99%, respectively, demonstrating the high accuracy of CKD diagnostic algorithms on average27. In the present study, although the computerized algorithm used only eGFR laboratory criteria, it achieved a sensitivity and specificity of 94.7% and 100.0%, respectively. Notably, all FN CKD cases were missed due to the absence of past laboratory data. The results show that the accuracy of the computerized algorithm for CKD in the present study is acceptable.
While the underdiagnosis or misdiagnosis of AKI by clinicians is an issue that needs to be emphasized, the present study objectively shows its significance. A major cause of this situation may be that minor fluctuations in SCr level are considered prerenal AKI, which is a sign of a changed volume status and is less likely to adversely affect outcomes28. Therefore, the diagnosis of AKI may be neglected. Nonetheless, such minor and evanescent increases in SCr may progress to intrinsic structural AKI and cause adverse outcomes29,30,31. To address this, computerized algorithms may alert clinicians to pay attention to minor but important changes in SCr levels and initiate appropriate management. A major cause of the underdiagnosis of CKD may be that the current definition of CKD is controversially considered to cause overdiagnosis in some cases32. For example, elderly female patients with an eGFR of 50–59 mL/min/1.73 m2 without proteinuria are considered to have CKD stage 3a according to the current definition. For many nephrologists, such low eGFR values are considered a normal age-related decline rather than true CKD33. This may contribute to the reason patients with CKD are underdiagnosed by clinicians.
Different applications of the KDIGO criteria can yield varying AKI incidences. A 2020 post hoc analysis tested 30 methods using SCr, urine output, and their combination and found an AKI incidence ranging from 28 to 75%34. In this study, the lowest incidence occurred when urine output was not considered, suggesting that the present study, which was based only on SCr, may underestimate the incidence of AKI. However, measuring urine output requires at least 6 h, which limits the point-of-care decisions required in the present study.
Although AKI alert systems have been tested in many studies, most have reported higher AKI documentation rates, while their accuracy has rarely been mentioned35,36,37. In a randomized controlled trial testing the value of an electronic AKI alert system, the sensitivity and specificity were reported to be as high as 99.8% and 97.7%, respectively, which are higher than those in the present study.38 This supports the finding that our computerized algorithm has better diagnostic accuracy than clinicians.
In the near future, we intend to implement the program as a Clinical Decision Support System (CDSS) for our existing health record viewers. This will enable clinicians to receive real-time alerts for potential AKI and CKD and may improve the early diagnosis of renal impairment. The goal is to provide a tool for more accurate and timely identification of renal impairment, which can lead to improved patient outcomes.
The limitations of the present study include its retrospective design; its accuracy remains to be validated in another prospective study; a relatively small number of cases in which its application needs to be further tested; and a lack of interventions that may truly improve patient outcomes. To compensate for these limitations, we will soon incorporate an algorithmic approach for differential diagnosis and a decision guide into the computerized algorithm and investigate how this changes the outcomes of AKI in a trial. Additionally, the present single-center approach limits the extension of our findings to other centers. Another limitation is that patients with ESRD could not be automatically excluded using the computerized algorithm. Therefore, fluctuating SCr levels due to hemodialysis treatment may be falsely interpreted as AKI events, and higher SCr levels may be observed in the non-AKI group. This limitation may be compensated by avoid SCr test on after dialysis sessions. For patients without previous SCr test results, the baseline SCr level was assumed to be normal to avoid missing treatable AKI events. Although stationary renal function in some patients with CKD may be falsely classified as an AKI event, this approach is relatively conservative.
In conclusion, we developed a simple and easy-to-construct computerized algorithm for diagnosis of renal impairment. The computerized algorithm improved the diagnostic accuracy for AKI and CKD, which may lead to the earlier diagnosis and appropriate management of renal impairment. In the future, an algorithmic approach for the differential diagnosis of AKI and a decision guide may be incorporated into this system to achieve higher decision aid capability.
Data availability
The datasets used and/or analyzed during the current study available from the corresponding author on reasonable request.
Abbreviations
- AKI:
-
Acute kidney injury
- CKD:
-
Chronic kidney disease
- ED:
-
Emergency department
- eGFR:
-
Estimated glomerular filtration rate
- ESRD:
-
End-stage renal disease
- FN:
-
False negative
- FP:
-
False positive
- ICU:
-
Intensive care unit
- SCr:
-
Serum creatinine
- TN:
-
True negative
- TP:
-
True positive
References
Levey, A. S. & James, M. T. Acute kidney injury. Ann. Intern. Med. 167(9), ITC66–ITC80. https://doi.org/10.7326/AITC201711070 (2019).
Abebe, A., Kumela, K., Belay, M., Kebede, B. & Wobie, Y. Mortality and predictors of acute kidney injury in adults: A hospital-based prospective observational study. Sci. Rep. 11(1), 15672. https://doi.org/10.1038/s41598-021-94946-3 (2021).
James, M. T. et al. Incidence and prognosis of acute kidney diseases and disorders using an integrated approach to laboratory measurements in a universal health care system. JAMA Netw. Open 2(4), e191795. https://doi.org/10.1001/jamanetworkopen.2019.1795 (2019).
Kerr, M., Bedford, M., Matthews, B. & O’donoghue, D. The economic impact of acute kidney injury in England. Nephrol Dial Transplant 9(7), 1362–1368. https://doi.org/10.1093/ndt/gfu016 (2014).
Silver, S. A. & Chertow, G. M. The economic consequences of acute kidney injury. Nephron 137(4), 297–301. https://doi.org/10.1159/000475607 (2017).
Connell, A. & Laing, C. Acute kidney injury. Clin. Med. 15(6), 581–584. https://doi.org/10.7861/clinmedicine.15-6-581 (2015).
Levey, A. S. Defining AKD: The spectrum of AKI, AKD, and CKD. Nephron 146(3), 302–305. https://doi.org/10.1159/000516647 (2022).
Brazzelli, M. et al. Biomarkers for assessing acute kidney injury for people who are being considered for admission to critical care: A systematic review and cost-effectiveness analysis. Health Technol. Assess. 26(7), 1–286. https://doi.org/10.3310/UGEZ4120 (2022).
Holmes, J. et al. Utility of electronic AKI alerts in intensive care: A national multicentre cohort study. J. Crit. Care 44, 185–190. https://doi.org/10.1016/j.jcrc.2017.10.024 (2018).
Al-Jaghbeer, M., Dealmeida, D., Bilderback, A., Ambrosino, R. & Kellum, J. A. Clinical decision support for in-hospital AKI. J. Am. Soc. Nephrol. 29(2), 654–660. https://doi.org/10.1681/ASN.2017070765 (2018).
Baird, D. et al. Impact of electronic alerts for acute kidney injury on patient outcomes: interrupted time-series analysis of population cohort data. Clin. Kidney J. 14(2), 639–646. https://doi.org/10.1093/ckj/sfaa151 (2020).
Park, S. et al. Impact of electronic acute kidney injury (AKI) alerts with automated nephrologist consultation on detection and severity of AKI: A quality improvement study. Am. J. Kidney Dis. 71(1), 9–19. https://doi.org/10.1053/j.ajkd.2017.06.008 (2018).
Selby, N. M. et al. An organizational-level program of intervention for AKI: A pragmatic stepped wedge cluster randomized trial. J. Am. Soc. Nephrol. 30(3), 505–515. https://doi.org/10.1681/ASN.2018090886 (2019).
Wilson, F. P. et al. Automated, electronic alerts for acute kidney injury: A single-blind, parallel-group, randomised controlled trial. Lancet 385, 1966–1974. https://doi.org/10.1016/S0140-6736(15)60266-5 (2015).
Colpaert, K. et al. Impact of real-time electronic alerting of acute kidney injury on therapeutic intervention and progression of RIFLE class. Crit. Care Med. 40, 1164–1170. https://doi.org/10.1097/CCM.0b013e3182387a6b (2012).
Wilson, F. P. et al. Automated, electronic alerts for acute kidney injury: A single-blind, parallel-group, randomised controlled trial. Lancet 385, 1966–1974. https://doi.org/10.1016/S0140-6736(15)60266-5 (2015).
McCoy, A. B. et al. Real-time pharmacy surveillance and clinical decision support to reduce adverse drug events in acute kidney injury: A randomized, controlled trial. Appl. Clin. Inform. 3, 221–238. https://doi.org/10.4338/ACI-2012-03-RA-0009 (2012).
Levey, A. S. et al. A new equation to estimate glomerular filtration rate. Ann. Intern. Med. 150(9), 604–612. https://doi.org/10.7326/0003-4819-150-9-200905050-00006 (2009).
Feehally, J. et al. RCPE UK consensus conference statement: Management of acute kidney injury: The role of fluids, e-alerts and biomarkers. J. R. Coll. Phys. Edinb. 43(1), 37–38. https://doi.org/10.4997/JRCPE.2013.109 (2013).
Jonsson, A. J., Kristjansdottir, I., Lund, S. H., Palsson, R. & Indridason, O. S. Computerized algorithms compared with a nephrologist’s diagnosis of acute kidney injury in the ED. Eur. J. Intern. Med. 60, 78–82. https://doi.org/10.1016/j.ejim.2018.11.013 (2019).
Chen, T. K., Knicely, D. H. & Grams, M. E. Chronic kidney disease diagnosis and management. JAMA 322(13), 1294–1304. https://doi.org/10.1001/jama.2019.14745 (2019).
Shang, N. et al. Medical records-based chronic kidney disease phenotype for clinical care and “big data” observational and genetic studies. NPJ Digit. Med. 4(1), 70. https://doi.org/10.1038/s41746-021-00428-1 (2021).
Ernecoff, N. C. et al. Electronic health record phenotypes for identifying patients with late-stage disease: A method for research and clinical application. J. Gen. Intern. Med. 34(12), 2818–2823. https://doi.org/10.1007/s11606-019-05219-9 (2019).
Norton, J. M. et al. Development and validation of a pragmatic electronic phenotype for CKD. Clin. J. Am. Soc. Nephrol. 14(9), 1306. https://doi.org/10.2215/CJN.00360119 (2019).
Nadkarni, G. N. et al. Development and validation of an electronic phenotyping algorithm for chronic kidney disease. AMIA Annu. Symp. Proc. 2014, 907–916. https://doi.org/10.1186/s12882-022-02947-9 (2014).
Frigaard, M. et al. Validating laboratory defined chronic kidney disease in the electronic health record for patients in primary care. BMC Nephrol. 20(1), 3. https://doi.org/10.1186/s12882-018-1156-2 (2019).
Chen, W. et al. Development and validation of algorithms to identify patients with chronic kidney disease and related chronic diseases across the Northern Territory, Australia. BMC Nephrol. 23, 320. https://doi.org/10.1186/s12882-022-02947-9 (2022).
Devarajan, P. Acute kidney injury: Acute kidney injury: Still misunderstood and misdiagnosed. Nat. Rev. Nephrol. 13(3), 137–138. https://doi.org/10.1038/nrneph.2017.9 (2017).
Uchino, S., Bellomo, R., Bagshaw, S. M. & Goldsmith, D. Transient azotemia is associated with a high risk of death in hospitalized patients. Nephrol. Dial. Transp. 25, 1833–1839. https://doi.org/10.1093/ndt/gfp624 (2010).
Nickolas, T. L. et al. Diagnostic and prognostic stratification in the emergency department using urinary biomarkers of nephron damage: A multicenter prospective cohort study. J. Am. Coll. Cardiol. 59, 246–255. https://doi.org/10.1016/j.jacc.2011.10.854 (2012).
Soto, K. et al. The risk of chronic kidney disease and mortality are increased after community-acquired acute kidney injury. Kidney Int. 90, 1090–1099. https://doi.org/10.1016/j.kint.2016.07.018 (2016).
Polkinghorne, K. R. Controversies in chronic kidney disease staging. Clin. Biochem. Rev. 32(2), 55–59 (2011).
Glassock, R. J. & Winearls, C. The global burden of chronic kidney disease: How valid are the estimates?. Nephron. Clin. Pract. 110(1), c39-46. https://doi.org/10.1159/000151244 (2008) (discussion c47).
Renske, W. et al. Different applications of the KDIGO criteria for AKI lead to different incidences in critically ill patients: A post hoc analysis from the prospective observational SICS-II study. Crit. Care. 24, 164. https://doi.org/10.1186/s13054-020-02886-7 (2020).
Perry Wilson, F. et al. Electronic health record alerts for acute kidney injury: Multicenter, randomized clinical trial. BMJ. 372, 4786. https://doi.org/10.1136/bmj.m4786 (2021).
Li, T. et al. Automated electronic alert for the care and outcomes of adults with acute kidney injury: A randomized clinical trial. JAMA Netw. Open. 7(1), e2351710. https://doi.org/10.1001/jamanetworkopen.2023.51710 (2024).
Hodgson, L. E. et al. The ICE-AKI study: Impact analysis of a clinical prediction rule and electronic AKI alert in general medical patients. PLoS ONE. 13(8), 0200584. https://doi.org/10.1371/journal.pone.0200584 (2018).
Yanhua, Wu. et al. Value of electronic alerts for acute kidney injury in high-risk wards: a pilot randomized controlled trial. Int. Urol. Nephrol. 50(8), 1483–1488. https://doi.org/10.1007/s11255-018-1836-7 (2018).
Acknowledgements
This work was supported, in part, by the research grants from the Wan Fang Hospital, Taipei Medical University (111-wf-f-1, 111-wf-f-2, 112-wf-swf-03), National Science and Technology Council, Taiwan (NSTC 112-2314-B-002-312-MY3, NSTC 113-2314-B-038-132). These funding agencies had no influence on the study design, data collection or analysis, the decision to publish, or preparation of the manuscript.
Author information
Authors and Affiliations
Contributions
Conception and Design: Hsieh HL, and Liu CT; Analysis and Interpretation: Hsieh HL, Chen CY, Chen CH, and Liu CT; Data Collection: Hsieh HL, Chang TI, and Liu CT; Writing the Manuscript: Hsieh HL and Liu CT; Critical Revision: Hsieh HL, Sue YM, Hsu SC, Chu YL, Huang NJ, Chen TH, Huang PH, and Liu CT; Approval and Accountability: all co-authors approve and agree to be accountable for the manuscript; Statistical Analysis: Hsieh HL, Hsu SC, and Liu CT; Obtaining Funding: Liu CT.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Chen, CY., Chang, TI., Chen, CH. et al. The computerized algorithm for renal assessment improves diagnostic accuracy of renal impairment in hospitalized patients. Sci Rep 15, 3856 (2025). https://doi.org/10.1038/s41598-025-87424-7
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-025-87424-7