Abstract
Ischemic heart disease (IHD) is the leading cause of death and emergency department (ED) admission. We aimed to develop more accurate and straightforward scoring models to optimize the triaging of IHD patients in ED. This was a retrospective study based on the MIMIC-IV database. Scoring models were established by AutoScore formwork based on machine learning algorithm. The predictive power was measured by the area under the curve in the receiver operating characteristic analysis, with the prediction of intensive care unit (ICU) stay, 3d-death, 7d-death, and 30d-death after emergency admission. A total of 8381 IHD patients were included (median patient age, 71 years, 95% CI 62–81; 3035 [36%] female), in which 5867 episodes were randomly assigned to the training set, 838 to validation set, and 1676 to testing set. In total cohort, there were 2551 (30%) patients transferred into ICU; the mortality rates were 1% at 3 days, 3% at 7 days, and 7% at 30 days. In the testing cohort, the areas under the curve of scoring models for shorter and longer term outcomes prediction were 0.7551 (95% CI 0.7297–0.7805) for ICU stay, 0.7856 (95% CI 0.7166–0.8545) for 3d-death, 0.7371 (95% CI 0.6665–0.8077) for 7d-death, and 0.7407 (95% CI 0.6972–0.7842) for 30d-death. This newly accurate and parsimonious scoring models present good discriminative performance for predicting the possibility of transferring to ICU, 3d-death, 7d-death, and 30d-death in IHD patients visiting ED.
Similar content being viewed by others
Explore related subjects
Discover the latest articles, news and stories from top researchers in related subjects.Avoid common mistakes on your manuscript.
Introduction
Ischemic heart disease (IHD) is the leading cause of death and emergency department (ED) admission, which exacerbates the burden of society and individuals [1, 2]. Since a large proportion of ED visits are avoidable [3, 4], identifying those who require immediate attention among the large number of patients who do not require urgent care is critical to ensuring patient safety, especially in overcrowded environment, which might help improve the appropriate use of ED visits and control health expenditures [5, 6].
Triaging as the first layer of emergency care plays an essential role in assessing and stratifying the risks of patients [7]. It is essential to identify the risk of adverse events in emergency patients with specific tool, such as early warning scores [8, 9]. One such tool is the HEART score, which estimates the possibility of major adverse events in patients presenting to the ED due to symptoms of acute coronary syndrome within 30 days [10]. The components are based on medical history, past medical risk factors, age, ECG interpretation, and serum troponin results. However, some variables are not instantaneous and shorter term outcomes are lacking.
To address the need for more accurate and straightforward predictive tools, we aimed to develop scoring models, based on machine learning algorithm, to improve the prioritization of IHD patients visiting the ED.
Methods
Study population
This study was a retrospective study in patients with IHD from the Medical Information Mart for Intensive Care IV (MIMIC-IV) database [11]. The data of MIMIC-IV are sourced from two inpatient database systems: the customized digital electronic health record system (EHR) in hospitals and the intensive care unit (ICU) specific clinical information system. The medical records of patients who admitted to an ICU or ED between 2008 and 2019 were contained in this database and have been reorganized and de-identified [12]. The Institutional Review Board at the Beth Israel Deaconess Medical Center reviewed the research resource, granted a waiver of informed consent, and approved the data sharing initiative.
Patients diagnosed with IHD were extracted according to the 2016 edited International Classification of Diseases, Ninth Revision (ICD-9). IHD related codes from chapter 7 were selected, including code 410 of acute myocardial infarction, code 411 of other acute and subacute forms of IHD, code 412 of old myocardial infarction, and code 413 of angina pectoris. All patients who visited ED were screened. Patients who died within 24 hours after ED admission or who were under the age of 18 years old were excluded. All the included patients were randomly divided into the training set with the percentage of 70%, the validation set with 10%, and the testing set with 20%.
Outcome
The primary outcomes used to develop and test the tool were ICU stay and 3d-death. ICU stay was defined as transferring to ICU for advanced therapy after emergency admission. The 3d-death was defined as deaths within 72 hours after the time of admission. The secondary outcomes were deaths within 7 and 30 days after emergency admission. Both hospital and post-hospital deaths were recorded in MIMIC-IV database.
Data/variables extraction
All data and variables were evaluated and recorded when patients visited ED. Age and gender were included as demographic characteristics [13,14,15]. Vital signs were included due to the availability and immediacy responding to critical states, including temperature, heart rate, respiratory rate, oxygen saturation, systolic blood pressure (SBP), and diastolic blood pressure (DBP) [16]. History of smoke was included as a common risk factor for cardiovascular disease [17]. Major comorbidities were included as following: hypertension, atrial fibrillation, heart failure, chronic pulmonary disease, diabetes without chronic complication, diabetes with complication, renal disease, and malignant cancer. We also included variables that reflect the severity or urgency of IHD, including arrival transport, pain_max score, and intubated state. The arrival transport was included because it could reflect the urgency of ED admission [18, 19]. Pain_max score is based on the pain level when the patient enters ED [20], from no pain to total intolerability corresponding to a score from 0 to 10. Patient with intubated state suggests a severe condition [21, 22], such as respiratory failure or loss of consciousness.
Statistical analysis
In the description of the baseline characteristics, categorical variables were reported was numbers with percentages. The continuous variables in this study were represented as the median with quartile (Q1, Q3) with nonnormal distributions. Values of vital signs that were beyond the range of clinical and physiological cognition were considered outliers. We used K-Nearest Neighbor to interpolate the missing values.
AutoScore, a machine learning-based automatic clinical score generator, was applied to derive the scoring models in this study [23]. Its application to mortality prediction using EHR data increases the implementation and validation in the clinic. The training set was used to generate a preliminary scoring model using the AutoScore framework. The validation set was used to evaluate parameter tuning and model selection for candidate scoring models. Four scoring models were finally derived to predict the possibility of ICU stay, 3d-, 7d-, and 30d-death, respectively.
The performance metrics of the final scoring models were analyzed in the testing cohort. In addition, all the four scoring models were applied to predict the possibility of mortality within 3 days after emergency admission in the testing set and the performance were evaluated. The predictive power of scoring models was measured with areas under the curve (AUC) in the receiver operating characteristic (ROC) analysis. Sensitivity, specificity, positive predictive value, and negative predictive value were calculated under the optimal threshold and were reported with 95% confidence interval (95% CI). The data were analyzed using R software (version 3.5.3). P < 0.05 is considered statistically significant.
Results
Baseline characteristics
A total of 8381 IHD patients from ED were included in the present study (median patient age, 71 years, 95% CI 62–81; 3035 [36%] female), in which 5867 episodes were randomly assigned to the training set (median patient age, 72 years, 95% CI 62–81; 2142 [37%] female), 838 episodes to the validation set (median patient age, 71 years, 95% CI 62–81; 311 [37%] female), and 1676 to the testing set (median patient age, 71 years, 95% CI 62–80; 582 [35%] female). The flow diagram of patient selection and study cohort formation is presented in Fig. 1. In total, there were 2551 (30%) patients transferred into ICU after visiting ED. The mortality rates observed in the total cohort were 1% with 123 cases at 3 days, 3% with 245 cases at 7 days, and 7% with 622 cases at 30 days. The baseline characteristics in the training, validation, and testing cohorts were similar in terms of age, gender, vital signs, comorbidities, and other characteristics (Table 1).
Selected variables and scoring models
We performed AutoScore to select the most discriminative variables from all 20 baseline variables. Parsimony plots based on the validation set were applied for determining the choice of variables (Supplemental Figs. 1–4). With good balance in the parsimony plot, we chose 7 variables for the prediction of ICU stay, including age, SBP, DBP, temperature, heart rate, respiratory rate, and arrival transport. Nine variables were chosen as the parsimonious choice for 3d-death and 7d-death predicting with the addition of oxygen saturation and pain_max score. On this basis, 10 variables with the addition of atrial fibrillation were chosen for 30d-death estimation achieving good performance in the scoring model. When more variables were added to the scoring model for the outcomes, their performance were not improved significantly.
In the ICU-stay scoring model, the scores are mainly contributed by the arrival transport of helicopter, SBP < 90 mmHg, respiratory rate ≥ 24 beats per minute (bpm), heart rate ≥ 115 bpm, temperature < 35.8℃, DBP < 50 mmHg, and age < 45 or ≥ 65 years old (Table 2). In the 3d-death scoring model, the scores are mainly contributed by the arrival transport of helicopter, temperature < 35.8 ℃, SBP < 90 mmHg, age ≥ 83 years old, respiratory rate ≥ 30 bpm, heart rate ≥ 96 bpm, oxygen saturation < 93%, DBP ≥ 95 mmHg, and pain_max score ≥ 7 (Table 2). In the scoring models of 7d-death and 30d-death, the trends of contribution to scores were similar with 3d-death, including more urgent admission transport, older age, lower SBP, lower temperature and oxygen saturation, faster respiratory rates and heart rates, higher DBP, and with painful symptoms. Patients with the comorbidity of malignant cancer were added extra scores in the prediction of 30d-death.
The scores of these scoring models based on the analysis of the variables included were all around 0–69. The possibility of predicted risk, patient ratios, and the evaluation of performance in each scoring models for different scoring intervals based on the testing cohort are shown in Table 3. For ICU stay and 3d-death scoring models, most patients had a risk score between 10 and 34, and few patients had scores under 5 or above 45. For patients who died within 7 days and 30 days of emergency admission, the risk score appeared to increase to the range of 26–48, with few patients scoring below 23 or above 53.
Performance evaluation
We used scoring models of ICU stay, 3d-death, 7d-death, and 30d-death to predict the possibility of transferring to ICU, death within 3 days, death within 7 days, and death within 30 days in patients after emergency admissions, respectively (Table 4). Among the testing cohorts, the scoring model achieved good performance for shorter term and longer term mortality prediction, with an AUC of 0.7551 (95% CI 0.7297–0.7805) for ICU stay, an AUC of 0.7856 (95% CI 0.7166–0.8545) for 3d-death, an AUC of 0.7371 (95% CI 0.6665–0.8077) for 7d-death, and an AUC of 0.7407 (95% CI 0.6972–0.7842) for 30d-death. Among the three cohorts in each outcome, the scoring model achieved the best performance for mortality with 3 days prediction, with an AUC of 0.8243 (95% CI 0.7771–0.8716) in training set, an AUC of 0.7877 (95% CI 0.6593–0.9161) in validation set, and an AUC of 0.7856 (95% CI 0.7166–0.8545) in testing set. We also applied the four scoring models to predict the possibility of mortality within 3 days after emergency admission in testing cohort and the performance are reported in Fig. 2. The 30d-death scoring model achieved the best performance for 3d-death prediction with an AUC of 0.790.
Discussion
In this retrospective study with a population of IHD patients presenting to the ED, newly developed scoring models were able to identify patients with high-urgency of ICU stay, 3d-death, 7d-death, and 30d-death. To the best of our knowledge, this is the first validated point-based clinical tool based on machine learning algorithm to be developed specifically for identifying patients who transferred into ICU or died during shorter or longer term care in the ED. Scoring models showing good discriminative performance in which 7–10 variables were selected to calculate a score as following: age, arrival transport, temperature, SBP, DBP, respiratory rate, heart rate, oxygen saturation, pain_max score, and comorbidity of malignant cancer.
IHD remains a major threat to public health, and overall burden is increasing globally [1]. The total number of prevalent cases, deaths, and DALYs due to IHD increased steadily from 1990, reaching 197 million prevalent cases, 9.14 million deaths, and 182 million DALYs due to IHD in 2019 [1]. In the present study, we found 30% IHD patients transferred into ICU after visiting ED and the mortality within 3 days, 7 days, and 30 days were 1%, 3%, and 7%, respectively. Although our study excluded patients who died within 24 hours in ED to ensure the reliability of the analysis results, a mortality of 0.98% was observed in the process of screening. Therefore, the disease burden caused by IHD is practically heavy. More accurate and parsimonious scoring models in this study help stratifies patients with high-risk in ED, which is conducive to patient safety and rational allocation of medical resources.
In the crowded and rapidly changing ED, doctors need to make the fastest judgment on the patient's condition and provide the timeliest intervention [24]. Physicians must undergo dual specialist and general internal medicine training, as a high proportion of inpatients have multiple comorbidities [25]. Combined with machine learning and logistic regression, AutoScore automatically develops a minimalistic sparse score risk model for predefined outcomes, enabling users to quickly and seamlessly build interpretable clinical scores that can be easily implemented and validated in clinical practice [23]. One study has revealed that objective criteria may be useful to physicians who are evaluating the appropriateness of admitting patients presenting to the ED to a short stay unit and to predict the LOS, which can both shorten hospital stays and reduce the cost of hospitalization [26]. In addition, the reported scoring systems have complex requirements for variables and lack prediction of adverse events in the very short term of ED [27,28,29,30]. In this study, both the candidate variables and those were ultimately selected in the scoring models are readily available in ED, making this clinical tool more implementable. Demographics, vital signs, and arrival transport are all indicators that can be obtained in ED in the first time, while more complex inspection indicators and imaging results are not screened because they are not available in time. The tendency of the selected variable values to be assigned points through cut-off segments is correspond to common clinical knowledge [24, 31]. For such example, in our scoring models, patients transported by helicopter to ED with shock blood pressure, breathless, and rapid heart rates are at high risk for transferring to ICU for advanced therapy. On this basis, patients with hypoxemia, elevated DBP, and painful symptoms have a higher risk of death within 3 days. Furthermore, the scoring models in our study for risk prediction show satisfactory performance through sensitivity and accuracy, and the prediction results obtained are highly reliable.
Transferring patients to ICU for advanced therapy and assessing outcomes in short term are important parts for emergency physician to triage patients from ED, and the correct decision to transfer to advanced care or not is both responsible for patient safety and rational use of medical resources [32,33,34]. Our study found that predictions of 3d-death showed the best performance among the scoring models of 30d-death. This may be contributed by more variables were included in this model, pain_max score, oxygen saturation, and the comorbidity of malignant cancer, which increases the identification of high-urgency, resulting in greater reliability and accuracy in 3d-death prediction.
There are several limitations in the present study. Firstly, the variables included in the scoring models in this study are based on clinical routine collection, which may cause some parameters to appear similar between high-risk patients and other patients during an ED visit, making the prediction models less accurate. Then, we did not compare the performance of scoring models in this study with other scoring systems due to the limited types of variables in the MIMIC-IV database [11]. In addition, the scoring models based on the database in the United States have not been tested in other countries and regions, which may have present prediction performance due to differences in economic and medical conditions [35].
Conclusion
The point-based clinical tool that we have successfully implemented based on machine learning algorithm offers an innovative approach to optimize the triaging of IHD patients in ED. This newly accurate and parsimonious scoring models present good discriminative performance for predicting the possibility of transferring to ICU, 3d-death, 7d-death, and 30d-death in IHD patients visiting ED.
Data availability
The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.
References
Roth GA, Mensah GA, Johnson CO et al (2020) Global burden of cardiovascular diseases and risk factors, 1990–2019: update from the GBD 2019 study. J Am Coll Cardiol 76(25):2982–3021
Zhou M, Wang H, Zeng X et al (2019) Mortality, morbidity, and risk factors in China and its provinces, 1990–2017: a systematic analysis for the Global Burden of Disease Study 2017. Lancet (London, England) 394(10204):1145–1158
Adams JG (2013) Emergency department overuse: perceptions and solutions. JAMA 309(11):1173–1174
McCusker J, Verdon J (2006) Do geriatric interventions reduce emergency department visits? a systematic review. J Gerontol A Biol Sci Med Sci 61(1):53–62
Fingar KR, Barrett ML, Elixhauser A, Stocks C, Steiner CA (2015) Trends in Potentially Preventable Inpatient Hospital Admissions and Emergency Department Visits. Healthcare Cost and Utilization Project (HCUP) Statistical Briefs. Rockville (MD): Agency for Healthcare Research and Quality (US)
McDermott KW, Jiang HJ (2020) Characteristics and Costs of Potentially Preventable Inpatient Stays, 2017. Healthcare Cost and Utilization Project (HCUP) Statistical Briefs. Rockville (MD): Agency for Healthcare Research and Quality (US)
Hinson JS, Martinez DA, Cabral S et al (2019) Triage performance in emergency medicine: a systematic review. Ann Emerg Med 74(1):140–152
Churpek MM, Yuen TC, Park SY, Meltzer DO, Hall JB, Edelson DP (2012) Derivation of a cardiac arrest prediction model using ward vital signs*. Crit Care Med 40(7):2102–2108
Fernandes M, Vieira SM, Leite F, Palos C, Finkelstein S, Sousa JMC (2020) Clinical decision support systems for triage in the emergency department using intelligent systems: a review. Artif Intell Med 102:101762
Sharp AL, Wu YL, Shen E et al (2018) The HEART score for suspected acute coronary syndrome in U.S. emergency departments. J Am Coll Cardiol 72(15):1875–1877
Johnson A, Bulgarelli L, Pollard T, Horng S, Celi LA, Mark R (2022) MIMIC-IV (version 2.0). PhysioNet
Goldberger AL, Amaral LA, Glass L et al (2000) PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation 101(23):E215–E220
Hayashi T, Kawashima S, Nomura H et al (2011) Age, gender, insulin and blood glucose control status alter the risk of ischemic heart disease and stroke among elderly diabetic patients. Cardiovasc Diabetol 10:86
Vaccarino V, Sullivan S, Hammadah M et al (2018) Mental stress-induced-myocardial ischemia in young patients with recent myocardial infarction: sex differences and mechanisms. Circulation 137(8):794–805
Senior R, Reynolds HR, Min JK et al (2022) Predictors of left main coronary artery disease in the ISCHEMIA trial. J Am Coll Cardiol 79(7):651–661
Vidal-Petiot E, Ford I, Greenlaw N et al (2016) Cardiovascular event rates and mortality according to achieved systolic and diastolic blood pressure in patients with stable coronary artery disease: an international cohort study. Lancet (London, England) 388(10056):2142–2152
Barry J, Mead K, Nabel EG et al (1989) Effect of smoking on the activity of ischemic heart disease. JAMA 261(3):398–402
Schull MJ, Morrison LJ, Vermeulen M, Redelmeier DA (2003) Emergency department overcrowding and ambulance transport delays for patients with chest pain. CMAJ: Canadian Medical Association journal = journal de l’Association medicale canadienne 168(3):277–283
Reiner-Deitemyer V, Teuschl Y, Matz K et al (2011) Helicopter transport of stroke patients and its influence on thrombolysis rates: data from the Austrian Stroke Unit Registry. Stroke 42(5):1295–1300
Mehta PK, Bess C, Elias-Smale S et al (2019) Gender in cardiovascular medicine: chest pain and coronary artery disease. Eur Heart J 40(47):3819–3826
Seitz KP, Gandotra S, Casey JD (2022) Emergency tracheal intubation: a procedure in need of better evidence. Am J Respir Crit Care Med 206(4):370–371
Andersen LW, Granfeldt A, Callaway CW et al (2017) Association between tracheal intubation during adult in-hospital cardiac arrest and survival. JAMA 317(5):494–506
Xie F, Chakraborty B, Ong MEH, Goldstein BA, Liu N (2020) AutoScore: a machine learning-based automatic clinical score generator and its application to mortality prediction using electronic health records. JMIR Med Inform 8(10):e21798
Calder LA, Perry J, Yan JW et al (2021) Adverse events among emergency department patients with cardiovascular conditions: a multicenter study. Ann Emerg Med 77(6):561–574
Smyth HD, Gorey SD, O’Keeffe HD et al (2022) Generalist vs specialist acute medical admissions—what is the impact of moving towards acute medical subspecialty admissions on efficacy of care provision? Eur J Intern Med 98:47–52
Capone F, Molinari L, Noale M et al (2021) Admission criteria for a cardiovascular short stay unit: a retrospective analysis on a pilot unit. Intern Emerg Med 16(8):2087–2095
Williams JM, Greenslade JH, Chu K, Brown AF, Lipman J (2016) Severity scores in emergency department patients with presumed infection: a prospective validation study. Crit Care Med 44(3):539–547
Moman RN, Loprinzi Brauer CE, Kelsey KM, Havyer RD, Lohse CM, Bellolio MF (2017) PREDICTing mortality in the emergency department: external validation and derivation of a clinical prediction tool. Acad Emerg Med 24(7):822–831
Cardona M, O’Sullivan M, Lewis ET et al (2019) Prospective validation of a checklist to predict short-term death in older patients after emergency department admission in Australia and Ireland. Acad Emerg Med 26(6):610–620
Xia Y, Zou L, Li D et al (2020) The ability of an improved qSOFA score to predict acute sepsis severity and prognosis among adult patients. Medicine 99(5):e18942
Carpenter CR, Shelton E, Fowler S et al (2015) Risk factors and screening instruments to predict adverse outcomes for undifferentiated older emergency department patients: a systematic review and meta-analysis. Acad Emerg Med 22(1):1–21
Armitage M, Flanagan D (2001) Improving quality measures in the emergency services. J R Soc Med 94(Suppl 39):9–12
Mahmud E, Dauerman HL, Welt FGP et al (2020) Management of acute myocardial infarction during the COVID-19 pandemic: a position statement from the Society for Cardiovascular Angiography and Interventions (SCAI), the American College of Cardiology (ACC), and the American College of Emergency Physicians (ACEP). J Am Coll Cardiol 76(11):1375–1384
Pendyal A, Rothenberg C, Scofi JE et al (2020) National trends in emergency department care processes for acute myocardial infarction in the United States, 2005 to 2015. J Am Heart Assoc 9(20):e017208
Gupta R, Yusuf S (2019) Challenges in management and prevention of ischemic heart disease in low socioeconomic status people in LLMICs. BMC Med 17(1):209
Funding
None.
Author information
Authors and Affiliations
Contributions
TS was responsible for the drafting and reviewing of the manuscript; JH was responsible for the statistical analysis; JD participated was responsible for data acquiring; HC and YZ participated in material support; YW participated in the discussion part; XL and XH provided the study concept and design. All authors have read and approved the final version of the manuscript.
Corresponding authors
Ethics declarations
Conflict of interest
The authors declare that they have no conflict of interest.
Ethical approval
The collection of patient information and creation of the research resource were reviewed by the Institutional Review Board at the Beth Israel Deaconess Medical Center, who granted a waiver of informed consent and approved the data sharing initiative.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Below is the link to the electronic supplementary material.
11739_2023_3199_MOESM1_ESM.jpg
Supplementary file1 Supplemental Figure 1. Parsimony Plot of the Number of Variables Versus Area Under the Curve Values for ICU Stay Scoring Model on the Validation Cohort (JPG 232 KB)
11739_2023_3199_MOESM2_ESM.jpg
Supplementary file2 Supplemental Figure 2. Parsimony Plot of the Number of Variables Versus Area Under the Curve Values for 3d-death Scoring Model on the Validation Cohort (JPG 225 KB)
11739_2023_3199_MOESM3_ESM.jpg
Supplementary file3 Supplemental Figure 3. Parsimony Plot of the Number of Variables Versus Area Under the Curve Values for 7d-death Scoring Model on the Validation Cohort (JPG 229 KB)
11739_2023_3199_MOESM4_ESM.jpg
Supplementary file4 Supplemental Figure 4. Parsimony Plot of the Number of Variables Versus Area Under the Curve Values for 30d-death Scoring Model on the Validation Cohort (JPG 235 KB)
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Shu, T., Huang, J., Deng, J. et al. Development and assessment of scoring model for ICU stay and mortality prediction after emergency admissions in ischemic heart disease: a retrospective study of MIMIC-IV databases. Intern Emerg Med 18, 487–497 (2023). https://doi.org/10.1007/s11739-023-03199-7
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11739-023-03199-7