Skip to main content

Establishment and validation of a nomogram of postoperative delirium in patients undergoing cardiac surgery: a retrospective study of MIMIC-IV

Abstract

Objective

To establish a nomogram for predicting the occurrence of postoperative delirium (POD) in patients undergoing cardiac surgery.

Materials and methods

Data from 5379 patients were retrieved from the Medical Information Mart for Intensive Care (MIMIC-IV) database and divided into a training set and a validation set at a 7:3 ratio. Multivariate logistic regression was conducted to identify independent predictors and establish nomograms to predict the occurrence of POD. The area under the receiver operating characteristic curve (AUC), calibration curve, and decision curve analysis (DCA) were used to evaluate the accuracy and reliability of the model.

Results

A total of 5379 post-cardiac surgery patients were included in the study, with 258 patients in the training set and 113 patients in the validation set developing POD. Multivariate logistic regression analysis identified seven independent predictors: age, partial pressure of carbon dioxide (PCO2), glucose, white blood cell count (Wbc), stroke, anemia and chronic obstructive pulmonary disease (COPD). The prediction model demonstrated good discrimination, with an AUC of 0.702 (95 CI: 0.671–0.734) in the training set and 0.711 (95 CI: 0.7662 − 0.761) in the validation set. The calibration curve of the prediction model closely matched the ideal curve in both the training set and the validation set. In addition, the DCA curve demonstrated that the nomogram has better clinical applicability.

Conclusion

We constructed a nomogram for the personalized prediction of delirium in post-cardiac surgery patients, demonstrating satisfactory performance and clinical utility. This tool may help clinicians initiate preventive interventions for POD.

Peer Review reports

Introduction

Postoperative delirium (POD) is a common complication, characterized by changes and fluctuations in consciousness, attention, perception, cognition, and thought disorders during acute episodes [1]. According to the literature, patients undergoing cardiac surgery are at particularly high risk due to the nature of the disease process and the inflammatory environment caused by myocardial injury and cardiopulmonary bypass during surgery, with the incidence of POD ranging from 12.4–52% [2,3,4]. Notably, patients who experience delirium have prolonged hospital stays, increased healthcare costs, cognitive and social dysfunction, and even higher mortality rates [5,6,7].

Early diagnosis and management of delirium after cardiac surgery are crucial for patient survival and prognosis. Some researchers have identified the risk factors for delirium after cardiac surgery, but no predictive model has been established [8,9,10,11].

A nomogram, used to predict the incidence of outcome events, is a numerical estimation of several clinicopathological parameters [12]. This study aims to create a predictive model using potential risk factors through retrospective analysis of large clinical databases, to enable early identification of delirium after cardiac surgery.

Methods

Data source

The retrospective cohort analysis utilized the MIMIC-IV version 2.2 database [13]. The author of this study, Gang Liao (ID: 12855703), registered for and completed the online training program of the NIH Cooperative Agreement, and obtained approval from the Institutional Review Board at the Massachusetts Institute of Technology. He can access the MIMIC-IV database and obtain the data, having received the necessary certification.

Study population

Patient information was extracted from the MIMIC IV database based on the following inclusion criteria: (1) patients admitted to the ICU after cardiac surgery; (2) demographic data (gender, age, marital status); (3) vital signs, laboratory data, and ventilator data on the first day; (4) disease severity scores: logistic organ dysfunction system (LODS), simplified acute physiology score II (SAPS II), and Sequential Organ Failure Assessment (SOFA); (5) other comorbidities. Exclusion criteria included: (1) age < 18 years; (2) patients with schizophrenia or dementia; (3) patients receiving cardiopulmonary resuscitation; or (4) missing data for research variables. The flowchart of the selection process is presented in Fig. 1.

Fig. 1
figure 1

Flow diagram for patient selection

Statistical analysis

The study population was divided into two groups based on their delirium assessments. The Pearson chi-square test was employed to compare the classified data. All statistical analyses were performed using R software with the Table 1, compareGroups, regplot, pROC, rms, and ggDCA packages.

Table 1 Characteristics of the included patients (stratified by delirium risk)

To develop a predictive nomogram, patients were randomly assigned to a training set and a validation set in a 7:3 ratio using R software (version 4.2.0). The risk factors for the nomogram were selected through multivariate logistic regression, where the variable had a p-value < 0.05. In the training and validation sets, the performance of the nomograms was evaluated using the AUC. Additionally, the calibration curve is used to assess the consistency between the model’s predictions and actual outcomes, while DCA is conducted to evaluate the clinical utility of the nomogram.

In this study, all statistical analyses were performed using R software (version 4.2.0), and P < 0.05 was considered statistically significant.

Results

Patient clinical data

A total of 5,379 patients were included in the analysis, among which 371 experienced delirium following cardiac surgery. Demographic and clinical characteristics are detailed in Table 1. Patients older than 73 years, with glucose levels exceeding 180 mg/dL or below 140 mg/dL, who have a history of stroke, anemia and COPD, are more likely to experience delirium.

Risk prediction nomogram development

Initially, multivariate logistic regression analysis was performed in the training group, selecting factors with a p-value less than 0.05 as independent predictors of POD. Ultimately, seven predictors were identified: age, PCO2, glucose, Wbc, stroke, anemia and COPD. These data are presented in Table 2.

Table 2 Multivariate logistic analysis of the training group

The nomogram used to predict the probability of POD is constructed using a logistic regression model (Fig. 2). By summing the scores of each variable, the overall score can be calculated to assess the likelihood of delirium in patients. For example, a patient aged ≥ 73 years receives 53 points, a normal range of PCO2 scores 0 points, glucose levels below 140 mg/dL receive 53 points, Wbc greater than 10^9/L scores 53 points, a prior history of stroke scores 100 points, a history of anemia scores 78 points, and a history of COPD scores 79 points. The total score was 416, indicating that the estimated risk of POD in this instance was 0.66.

Fig. 2
figure 2

Nomogram of postoperative delirium in patients undergoing cardiac surgery

Predictive accuracy and net benefit of the nomogram

The AUC values for the training set and the validation set are 0.702 (95CI: 0.671–0.734) and 0.711 (95CI: 0.662–0.761), respectively, indicating that the model demonstrates high accuracy. (Fig. 3)The calibration curve of the nomogram model closely approximates the ideal diagonal, demonstrating that the predicted values align well with the actual observed values. (Fig. 4) The DCA reveals that the model exhibits high clinical validity within threshold probability ranges of 0.02–0.81 for the training set and 0.03–0.17 for the validation set.(Fig. 5).

Fig. 3
figure 3

ROC curves for the nomogram. Left: Training group; Right: Validation group

Fig. 4
figure 4

Calibration curve Left: Training group; Right: Validation group

Fig. 5
figure 5

Decision curve analysis Left: Training group; Right: Validation group

Discussion

In this study, we retrospectively analyzed data from 5,379 patients who had undergone cardiac surgery using the MIMIC IV database. Age, PCO2, glucose levels, Wbc, history of stroke, anemia, and COPD were utilized to calculate the probability of POD, assisting clinicians in identifying high-risk patients and adjusting treatment plans.

Delirium is characterized by acute brain dysfunction or alterations in mental state, placing all patients at risk, particularly the elderly and vulnerable populations. Anemia is prevalent among the elderly; however, previous studies have indicated that there is no correlation between anemia and delirium in this population. In contrast, our study found that the rate of delirium in patients with anemia was 1.516 times higher than that in patients without anemia (P = 0.005). This discrepancy may be attributed to the inclusion of younger individuals in our data set, which could explain the differing results [14, 15].

The occurrence of delirium following cardiac surgery is believed to be associated with disturbances in cerebral circulation due to cardiopulmonary bypass, embolic load, and insufficient perfusion [16, 17]. Cardiopulmonary bypass during cardiac surgery can induce a systemic inflammatory response. Previous studies have documented the relationship between biomarkers of systemic inflammation (such as IL-6, IL-8, and C-reactive protein) and delirium [18, 19]. Research has indicated that the potential endogenous anticoagulant activity of inflammatory markers is associated with delirium during critical illness [20]. The systemic inflammatory response can release potentially neurotoxic pro-inflammatory mediators by activating microglia in the brain, thereby contributing to the onset of delirium. Similarly, our study found that the likelihood of POD in patients with a normal white blood cell count following cardiac surgery is only 0.556 times that of patients with a high white blood cell count (P = 0.036).

Patients who have suffered a stroke are particularly susceptible to delirium [21, 22]. The likelihood of cerebral embolism following cardiac surgery, particularly during coronary artery bypass grafting, is over 100 times greater than that of off-pump surgery, significantly contributing to declines in neurocognitive function and the occurrence of delirium postoperatively [23, 24]. The most prevalent type of stroke following heart valve surgery is subdural hemorrhage, with an occurrence probability of approximately 2.0% [25, 26]. In patients with subdural hematomas postoperatively, the integrity of the blood-brain barrier may be compromised, potentially exacerbating neuroinflammatory responses and ultimately leading to delirium [27, 28].

Postoperative patients with COPD and respiratory failure often require prolonged mechanical ventilation, necessitating the use of sedation as a standard therapeutic intervention. However, sedative administration is associated with significant adverse effects, including hypotension, respiratory depression, hallucinations, withdrawal symptoms, impaired cerebral perfusion, and neurological dysfunction. These complications can contribute to extended ICU stays, prolonged mechanical ventilation, and an elevated risk of delirium, ultimately impacting patient recovery and clinical outcomes [29, 30]. Particularly for patients undergoing cardiac surgery, a history of COPD prior to the procedure may result in prolonged mechanical ventilation or respiratory infections postoperatively, which appears to contribute to the development of delirium and may even decrease patient survival rates [31]. Additionally, our research findings indicate that patients with low carbon dioxide levels postoperatively have a higher likelihood of experiencing delirium. This is consistent with recent evidence and supports the recommendation that patients at high risk for delirium should reduce or avoid postoperative hypocapnia [32].

The management of glucose levels is crucial for patients following cardiac surgery. Research indicates that glucose levels should ideally be maintained between 140 and 180 mg/dL for perioperative patients in the ICU [33, 34]. A recent retrospective study found that preoperative acute hyperglycemia was associated with POD in patients undergoing non-cardiac surgery [34]. Furthermore, Leif Saager et al. reported that stringent control of glucose levels through hyperinsulinemia increases the risk of delirium following cardiac surgery [35]. These findings align with our results: maintaining glucose levels between 140 and 180 mg/dL in patients following cardiac surgery is associated with a reduced likelihood of delirium.

Delirium in the ICU is associated with respiratory failure, shock, metabolic disorders, decreased compliance, prolonged mechanical ventilation, extended hospitalization, increased use or withdrawal of sedatives, and an unfavorable sleep environment [36, 37]. Therefore, it is especially important to evaluate the risk factors for delirium in ICU patients at an early stage, identify high-risk individuals, and mitigate the likelihood of delirium by decreasing ICU hospitalization duration.

This study has several limitations. Firstly, this is a retrospective observational study, which carries inherent biases. Secondly, for individuals with null variables, we employed direct elimination methods, which may introduce some bias in the results. Thirdly, we limited data collection to samples collected during the initial ICU admission. Additionally, these findings are derived from a single-center cohort and require validation in future studies involving multiple centers.

Conclusion

This study demonstrates that older age, lower partial pressure of carbon dioxide, abnormal glucose levels (both too high and too low), elevated white blood cell counts, stroke, anemia, and COPD are risk factors for POD. The AUC, calibration curve, and DCA demonstrate that the nomogram exhibits high accuracy and reliability. This nomogram provides a visual and personalized tool for clinicians to detect and identify high-risk patients experiencing delirium after cardiac surgery at an early stage, allowing for interventions that may reduce the incidence of delirium.

Data availability

Publicly available datasets were analyzed in this study. This data can be found here: https://physionet.org/content/mimiciv/2.2.

Abbreviations

POD:

Postoperative delirium

MIMIC-IV:

Medical Information Mart for Intensive Care

AUC:

Area under the receiver operating characteristic curve

DCA:

Calibration curve, and decision curve analysis

PCO2:

Partial pressure of carbon dioxide

Wbc:

White blood cell count

COPD:

Stroke, anemia, chronic obstructive pulmonary disease

LOS_ICU:

length of stay in the intensive care unit

LODS:

Logistic organ dysfunction system

SAPS II:

Simplified acute physiology score II

SOFA:

Sequential Organ Failure Assessment

References

  1. Watt J, Tricco AC, Talbot-Hamon C, et al. Identifying older adults at risk of delirium following elective surgery: A systematic review and Meta-Analysis. J Gen Intern Med. 2018;33(4):500–9.

    Article  PubMed  PubMed Central  Google Scholar 

  2. Ueki M, Kawasaki T, Habe K, et al. The effects of Dexmedetomidine on inflammatory mediators after cardiopulmonary bypass. Anaesthesia. 2014;69(7):693–700.

    Article  CAS  PubMed  Google Scholar 

  3. Brown CH. Delirium in the cardiac surgical ICU. Curr Opin Anaesthesiol. 2014;27(2):117–22.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  4. Milz S, Holaubek C, Siebel J, et al. Implementation of Evidence-Based international recommendations reduces postoperative delirium rate in patients undergoing cardiac surgery or interventions: A System-Based quality improvement study. Rev Cardiovasc Med. 2024;25(10):369.

    Article  PubMed  PubMed Central  Google Scholar 

  5. Hoogma DF, Venmans E, Al TL, et al. Postoperative delirium and quality of life after transcatheter and surgical aortic valve replacement: A prospective observational study. J Thorac Cardiovasc Surg. 2023;166(1):156–e1666.

    Article  PubMed  Google Scholar 

  6. Gou RY, Hshieh TT, Marcantonio ER, et al. One-Year medicare costs associated with delirium in older patients undergoing major elective surgery. Jama Surg. 2021;156(5):430–42.

    Article  PubMed  Google Scholar 

  7. Leslie DL, Inouye SK. The importance of delirium: economic and societal costs. J Am Geriatr Soc. 2011;59(Suppl 2):S241–3.

    PubMed  PubMed Central  Google Scholar 

  8. Chen H, Mo L, Hu H, Ou Y, Luo J. Risk factors of postoperative delirium after cardiac surgery: a meta-analysis. J Cardiothorac Surg. 2021;16(1):113.

    Article  PubMed  PubMed Central  Google Scholar 

  9. Lin Y, Chen J, Wang Z. Meta-analysis of factors which influence delirium following cardiac surgery. J Card Surg. 2012;27(4):481–92.

    Article  PubMed  Google Scholar 

  10. Chen Z, Hao Q, Sun R, et al. Predictive value of the geriatric nutrition risk index for postoperative delirium in elderly patients undergoing cardiac surgery. Cns Neurosci Ther. 2024;30(2):e14343.

    Article  PubMed  Google Scholar 

  11. Xue S, Xu AX, Liu H, Zhang Y. Electroencephalography monitoring for preventing postoperative delirium and postoperative cognitive decline in patients undergoing cardiothoracic surgery: A Meta-Analysis. Rev Cardiovasc Med. 2024;25(4):126.

    Article  PubMed  PubMed Central  Google Scholar 

  12. Balachandran VP, Gonen M, Smith JJ, DeMatteo RP. Nomograms in oncology: more than Meets the eye. Lancet Oncol. 2015;16(4):e173–80.

    Article  PubMed  PubMed Central  Google Scholar 

  13. Johnson A, Bulgarelli L, Shen L, et al. MIMIC-IV, a freely accessible electronic health record dataset. Sci Data. 2023;10(1):1.

    Article  CAS  PubMed  PubMed Central  Google Scholar 

  14. Mattison M, Delirium. Ann Intern Med. 2020;173(7):ITC49–64.

    Article  PubMed  Google Scholar 

  15. Myint PK, Owen S, McCarthy K, et al. Is anemia associated with cognitive impairment and delirium among older acute surgical patients? Geriatr Gerontol Int. 2018;18(7):1025–30.

    Article  PubMed  PubMed Central  Google Scholar 

  16. Bhushan S, Li Y, Huang X, et al. Progress of research in postoperative cognitive dysfunction in cardiac surgery patients: A review Article. Int J Surg. 2021;95:106163.

    Article  PubMed  Google Scholar 

  17. Jiang Y, Xie Y, Fang P, et al. Cognitive training for reduction of delirium in patients undergoing cardiac surgery: A randomized clinical trial. JAMA Netw Open. 2024;7(4):e247361.

    Article  PubMed  PubMed Central  Google Scholar 

  18. Squiccimarro E, Stasi A, Lorusso R, Paparella D. Narrative review of the systemic inflammatory reaction to cardiac surgery and cardiopulmonary bypass. Artif Organs. 2022;46(4):568–77.

    Article  PubMed  PubMed Central  Google Scholar 

  19. Michels M, Michelon C, Damasio D, et al. Biomarker predictors of delirium in acutely ill patients: A systematic review. J Geriatr Psychiatry Neurol. 2019;32(3):119–36.

    Article  PubMed  Google Scholar 

  20. Brummel NE, Hughes CG, McNeil JB, et al. Systemic inflammation and delirium during critical illness. Intensive Care Med. 2024;50(5):687–96.

    Article  CAS  PubMed  Google Scholar 

  21. Mansutti I, Saiani L, Palese A. Delirium in patients with ischaemic and haemorrhagic stroke: findings from a scoping review. Eur J Cardiovasc Nurs. 2019;18(6):435–48.

    Article  PubMed  Google Scholar 

  22. Rhee JY, Colman MA, Mendu M, et al. Associations between stroke localization and delirium: A systematic review and Meta-Analysis. J Stroke Cerebrovasc Dis. 2022;31(3):106270.

    Article  PubMed  Google Scholar 

  23. Gasparovic H, Borojevic M, Malojcic B, Gasparovic K, Biocina B. Single aortic clamping in coronary artery bypass surgery reduces cerebral embolism and improves neurocognitive outcomes. Vasc Med. 2013;18(5):275–81.

    Article  PubMed  Google Scholar 

  24. Motallebzadeh R, Bland JM, Markus HS, Kaski JC, Jahangiri M. Neurocognitive function and cerebral emboli: randomized study of on-pump versus off-pump coronary artery bypass surgery. Ann Thorac Surg. 2007;83(2):475–82.

    Article  PubMed  Google Scholar 

  25. Hoogland IC, Houbolt C, van Westerloo DJ, van Gool WA, van de Beek D. Systemic inflammation and microglial activation: systematic review of animal experiments. J Neuroinflammation. 2015;12:114.

    Article  PubMed  PubMed Central  Google Scholar 

  26. Oshida S, Tsuboi J, Kin H, et al. Symptomatic subdural hemorrhage following heart valve surgery: a retrospective cohort study. J Neurosurg. 2023;139(3):741–7.

    Article  PubMed  Google Scholar 

  27. Bhowmick S, D’Mello V, Caruso D, Wallerstein A, Abdul-Muneer PM. Impairment of pericyte-endothelium crosstalk leads to blood-brain barrier dysfunction following traumatic brain injury. Exp Neurol. 2019;317:260–70.

    Article  CAS  PubMed  Google Scholar 

  28. Zhang X, Lyu Y, Wang D. S100beta as a potential biomarker of incident delirium: a systematic review and meta-analysis. Minerva Anestesiol. 2020;86(8):853–60.

    Article  PubMed  Google Scholar 

  29. Fu X, Wang L, Wang G, et al. Delirium in elderly patients with COPD combined with respiratory failure undergoing mechanical ventilation: a prospective cohort study. Bmc Pulm Med. 2022;22(1):266.

    Article  PubMed  PubMed Central  Google Scholar 

  30. Morandi A, Brummel NE, Ely EW. Sedation, delirium and mechanical ventilation: the ‘ABCDE’ approach. Curr Opin Crit Care. 2011;17(1):43–9.

    Article  PubMed  Google Scholar 

  31. Szylinska A, Rotter I, Listewnik M et al. Postoperative delirium in patients with chronic obstructive pulmonary disease after coronary artery bypass grafting. Med (Kaunas). 2020;56(7).

  32. Mutch W, El-Gabalawy R, Girling L, Kilborn K, Jacobsohn E. End-Tidal hypocapnia under anesthesia predicts postoperative delirium. Front Neurol. 2018;9:678.

    Article  PubMed  PubMed Central  Google Scholar 

  33. Minakata K, Sakata R. Perioperative control of blood glucose level in cardiac surgery. Gen Thorac Cardiovasc Surg. 2013;61(2):61–6.

    Article  PubMed  Google Scholar 

  34. Park SJ, Oh AR, Lee JH, Yang K, Park J. Association of preoperative blood glucose level with delirium after non-cardiac surgery in diabetic patients. Korean J Anesthesiol. 2024;77(2):226–35.

    Article  PubMed  PubMed Central  Google Scholar 

  35. Saager L, Duncan AE, Yared JP, et al. Intraoperative tight glucose control using hyperinsulinemic normoglycemia increases delirium after cardiac surgery. Anesthesiology. 2015;122(6):1214–23.

    Article  CAS  PubMed  Google Scholar 

  36. Mart MF, Williams RS, Salas B, Pandharipande PP, Ely EW. Prevention and management of delirium in the intensive care unit. Semin Respir Crit Care Med. 2021;42(1):112–26.

    Article  PubMed  Google Scholar 

  37. Liu SB, Wu HY, Duan ML, et al. Delirium in the ICU: how much do we know? A narrative review. Ann Med. 2024;56(1):2405072.

    Article  PubMed  PubMed Central  Google Scholar 

Download references

Acknowledgements

Thanks to all authors for their contributions in this study.

Funding

This research was funded by the National Natural Science Foundation of China,82260377;Guizhou Province science and technology plan project, Qiankehe Basic Research Project-ZK[2023] General 228. Guizhou Provincial Health and Wellness Committee Science and Technology Fund Project, gzwkj2025-218.

Author information

Authors and Affiliations

Authors

Contributions

This work was written by Huaxian-Mei and Gang-Liao who contributed equally to this work. Data were collected by Gang-Liao, Statistical analysis by Baning-Ye and Mingxiang-Wen. Jianquan-Li approved the final version of this manuscript. All the authors have read and agreed to the published version of the manuscript.

Corresponding author

Correspondence to Jianquan Li.

Ethics declarations

Ethics approval and consent to participate

Use of the MIMIC database was approved by the Beth Israel Women’s Deaconess Medical Center and the MIT Institutional Review Board, and all patient information in the database is anonymized and therefore does not require informed consent. We completed online courses and exams and gained access to the database (ID: 12855703).

Consent for publication

Not applicable.

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-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, 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 you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. 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-nc-nd/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Mei, H., Liao, G., Ye, B. et al. Establishment and validation of a nomogram of postoperative delirium in patients undergoing cardiac surgery: a retrospective study of MIMIC-IV. BMC Cardiovasc Disord 25, 165 (2025). https://doiorg.publicaciones.saludcastillayleon.es/10.1186/s12872-025-04624-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doiorg.publicaciones.saludcastillayleon.es/10.1186/s12872-025-04624-9

Keywords