Next Article in Journal
Real World Patterns of Antimicrobial Use and Microbiology Investigations in Patients with Sepsis outside the Critical Care Unit: Secondary Analysis of Three Nation-Wide Point Prevalence Studies
Next Article in Special Issue
Closing the Gap in Surveillance and Audit of Invasive Mold Diseases for Antifungal Stewardship Using Machine Learning
Previous Article in Journal
Deep Brain Stimulation of the Subthalamic Nucleus Selectively Modulates Emotion Recognition of Facial Stimuli in Parkinson’s Patients
Previous Article in Special Issue
Comparison of Machine Learning Techniques for Prediction of Hospitalization in Heart Failure Patients
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Predicting Cardiac Arrest and Respiratory Failure Using Feasible Artificial Intelligence with Simple Trajectories of Patient Data

1
Department of Anesthesiology and Pain Medicine, Severance Hospital, Yonsei University College of Medicine, Yonsei University Health System, Seoul 03722, Korea
2
Computer Engineering, AI R&D Lab. of Selvas AI Inc., Seoul 08594, Korea
3
Division of Cardiology, Severance Cardiovascular Hospital, Yonsei University College of Medicine, Yonsei University Health System, Seoul 03722, Korea
4
Division of Medical Information and Technology, Yonsei University Health System, Seoul 03722, Korea
5
Cardiovascular Research Institute, College of Medicine, Yonsei University, Seoul 03722, Korea
*
Author to whom correspondence should be addressed.
J. Clin. Med. 2019, 8(9), 1336; https://doi.org/10.3390/jcm8091336
Submission received: 2 July 2019 / Revised: 23 August 2019 / Accepted: 26 August 2019 / Published: 29 August 2019
(This article belongs to the Special Issue The Future of Artificial Intelligence in Clinical Medicine)

Abstract

:
We introduce a Feasible Artificial Intelligence with Simple Trajectories for Predicting Adverse Catastrophic Events (FAST-PACE) solution for preparing immediate intervention in emergency situations. FAST-PACE utilizes a concise set of collected features to construct an artificial intelligence model that predicts the onset of cardiac arrest or acute respiratory failure from 1 h to 6 h prior to its occurrence. Data from the trajectory of 29,181 patients in intensive care units of two hospitals includes periodic vital signs, a history of treatment, current health status, and recent surgery. It excludes the results of laboratory data to construct a feasible application in wards, out-hospital emergency care, emergency transport, or other clinical situations where instant medical decisions are required with restricted patient data. These results are superior to previous warning scores including the Modified Early Warning Score (MEWS) and the National Early Warning Score (NEWS). The primary outcome was the feasibility of an artificial intelligence (AI) model predicting adverse events 1 h to 6 h prior to occurrence without lab data; the area under the receiver operating characteristic curve of this model was 0.886 for cardiac arrest and 0.869 for respiratory failure 6 h before occurrence. The secondary outcome was the superior prediction performance to MEWS (net reclassification improvement of 0.507 for predicting cardiac arrest and 0.341 for predicting respiratory failure) and NEWS (net reclassification improvement of 0.412 for predicting cardiac arrest and 0.215 for predicting respiratory failure) 6 h before occurrence. This study suggests that AI consisting of simple vital signs and a brief interview could predict a cardiac arrest or acute respiratory failure 6 h earlier.

1. Introduction

Unexpected cardiac arrest or acute respiratory failure requires immediate attention as these are critical emergent events that often cause catastrophic repercussions, including death or medicolegal issues, if not treated in a timely manner. If a person suffering from cardiac arrest is not recovered by spontaneous circulation, the organs and tissues of the body will not receive enough blood, and the cells will not be supplied with oxygen and nutrients, resulting in organ failure and death. With regard to respiratory failure, one of the most critical tasks for a physician managing an acutely unstable patient is to secure the patient’s airway. The inability to oxygenate despite non-invasive oxygen therapy may lead to an immediate life threat and, with rare exceptions, mandates endotracheal intubation. Therefore, predicting the timing of tracheal intubation is very useful. However, there is no guideline to predict adverse events to manage all possible scenarios requiring preemptive care.
An Early Warning Score (EWS) based on vital signs is a medical service that can be used for screening deteriorating patients to quickly determine their degree of illness. The Modified Early Warning Score (MEWS) and the National Early Warning Scores (NEWS and NEWS2) are the most widely used scoring systems [1,2]. Each component of the scoring system includes basic physiologic data, such as blood pressure and heart rate. A higher score in this tool is statistically related to an increase in the probability of an adverse outcome. In the general ward, EWS is often used as part of a “track and trigger” system; a high score is linked to the medical emergency team or rapid response team reviewing the patient’s status so that a critical intervention is not delayed.
Recently, artificial intelligence (AI) has been introduced in the clinical field, and studies have been published to predict adverse events (including sudden cardiac arrest) several hours before their occurrence and have found that the deep learning model is more useful for detecting high-risk patients compared with the existing EWS [3,4,5,6,7]. Most AI models leverage massive and complicated data, including the various monitoring parameters and laboratory data of electronic medical records (EMRs) collected in hospital information systems [3,6,7,8,9]. Recent studies demonstrate that deep learning, especially associated with recurrent neural networks (RNNs) utilizing long short-term memory (LSTM) or gated recurrent units (GRUs) to predict events using time-series data, outperforms logistic regression based predictions or clinical scores. The reason for this finding is that LSTM or GRUs can suitably control the influence of previous input data with multiple features in every training stage [10,11,12]. These models combine sequential features, including multiple values from laboratory tests or medical devices, and nonsequential features, such as diagnoses or procedures, in data from the intensive care unit (ICU).
However, to date, a procedure for the selection of optimal feature sets for various machine learning algorithms has not been determined [13,14]. There are several considerations to be taken into account for determining the features to be included in a feasible predictive model for acute adverse events. First, they should be reproducible and verifiable in a variety of clinical settings, and common medical data should be available. Second, when interpreting physiologic data, clinical intervention should be considered. For example, if a patient with a mean blood pressure (MBP) of 40 mmHg is administered a vasopressor, the MBP value should be weighted over the untreated patient’s value. Third, it is more realistic to exclude laboratory data that are prone to time delays. Blood tests are not available in all medical situations, and it takes approximately one hour after blood collection to obtain the laboratory tests.
In this paper, we used six major physiological features and three major demographic features, including the history of recent surgery, current health status and treatment history, to create Feasible Artificial intelligence with Simple Trajectories for Predicting Adverse Catastrophic Events (FAST-PACE), a neural network model that can predict the occurrence of adverse events (at 1 h, 2 h, 4 h, and 6 h) in a real-world setting. In this retrospective study, which includes adverse event cases, we assess the merit of a predictive machine learning approach to increase the quality of care and patient safety. Although various monitoring devices in the ICU are constantly producing data, we endeavored to construct a deep learning model using only physiologic features, owing to their reliability, reproducibility, and real-time measurability.

2. Methods

2.1. Study Population and Data Sources

A total of 29,181 ICU patients were included from two hospitals within the Yonsei Health System (Severance Hospital and Gangnam Severance Hospital) from 2006 to 2017. The study protocol was approved by the Institutional Review Board of the Yonsei University Health System, Seoul, South Korea (Sinchon Severance Hospital and Gangnam Severance Hospital (#4-2017-1230 and #3-2018-0263, respectively)). We included patients above the age of 18 who were hospitalized in one medical ICU, one surgical ICU, and one mixed ICU with a total of 67 ICU beds. Patients were excluded if they underwent events within one hour of ICU admission or if they did not survive the first 6 h in ICU (1231 patients underwent acute respiratory failure events and 242 patients underwent cardiac arrest events; see Figure 1). In this model, we define cardiac arrest as the start of cardiopulmonary resuscitation (CPR), and acute respiratory failure as endotracheal intubation. Both events were detected and managed by the rapid response system conducted in ICU. More specifically, as it is invasive, endotracheal intubation can result in many complications and is a rather difficult clinical procedure. Physicians attempt endotracheal intubation as a last resort; that is, when respiratory failure cannot be resolved with the provision of any other non-invasive oxygen supply. We define this point as respiratory failure requiring immediate intervention. In real-world applications of learning methods in medicine, the ratio of positive to negative instances is significantly low, and such imbalanced classes restrict prediction performance, although machine learning is a promising solution when using big data in medical machine learning [15,16]. As shown in Figure 1, FAST-PACE also suffered from intrinsic imbalanced data. Therefore, we performed random undersampling, in which the training dataset was modified to produce a less balanced class distribution to allow learning to be conducted as a standard prediction. We randomly selected 3984 samples for the training dataset, which was composed of an identical number of positive (event group: 1992 samples) and negative (no-event group: 1992 samples) samples [17]. However, we maintained the imbalanced ratio of positive to negative samples to demonstrate that the proposed solution is feasible in a real-world environment without overfitting, as shown in the FAST-PACE test of Figure 1.

2.2. Feature Construction

In this study, we retrieved a total of nine features from EMRs to predict two critical events—acute respiratory failure and cardiac arrest. The features used to develop this model were basic vital signs, such as pulse rate, systolic blood pressure (SBP), diastolic blood pressure (DBP), respiratory rate, peripheral oxygen saturation (SpO2), body temperature, recent surgical history (within one week), and current health status (American Society of Anesthesiologists (ASA) classification). The prediction times are taken as 1 h, 2 h, 4 h, and 6 h to analyze the tendency of an adverse event, depending on the prediction time window (Ptw = 1, 2, 4, and 6). To predict the probability of a critical event occurring at a specific time, data recorded from admission to Ptw hours before the event can be used for the model construction. Therefore, as shown in Figure 2, the EMR trajectories up to Ptw hours before the reference point were retrieved to build the feature set of FAST-PACE.
Pulse rate, SBP, DBP, respiratory rate, SpO2, and body temperature were extracted for the investigation of vital signs of patients, and three additional information parameters (treatment history, current health status, and recent history of operations) were encoded. The treatment history was determined as a binary feature of pharmacological treatment and additional oxygen supply that could affect the vital signs at the time of measurement. The included drugs are vasopressors and inotropics, such as norepinephrine, vasopressin, phenylephrine, epinephrine, dobutamine, and dopamine. The oxygen supply includes all additional oxygen supply from the low flow system to the extracorporeal membrane oxygenation and is indicated as a 0 or 1 as a binary indicator. The recent surgery history was defined within one week of event occurrence. A few patients were also assessed by two conventional risk scores—MEWS and NEWS.
EMR data from ICUs contain abnormal records due to errors of the medical staff or unexpected omissions of data during the input process. We adopted the imputation and discretization methods to deal with such noise, missing values, and various ranges of features. Initial data cleaning was performed to refine the mixed value of each physiological signal as well as to remove outliers or invalid data since the initial vital sign values were recorded in a specific range rather than as a single value, or included additional information such as history of treatment, major symptoms, and units. The range value was replaced with the lowest value, and additional information including treatment history were separated to other features. Missing data were imputed by applying autoregressive integrated moving average (ARIMA) models, which have been widely used for time-series imputation [18].
We define treatment history as medication administration or oxygen supplements that can affect heart rate, SpO2, SBP, DBP, and temperature using medication history and nursing records. The features were sampled hourly and discretized using the mean and standard deviation from the training set.
The ASA physical status classification system assesses the fitness of patients before surgery. In 1963, the ASA adopted the five-category physical status classification system; a sixth category was added later. This system, which continues to be a means of stratifying a patient’s systemic illness [19,20], is defined as follows:
  • Class 1. Healthy person.
  • Class 2. Mild systemic disease.
  • Class 3. Severe systemic disease.
  • Class 4. Severe systemic disease that is a constant threat to life.
  • Class 5. A moribund person who is not expected to survive without an operation.
  • Class 6. A declared brain-dead person whose organs are being removed for donor purposes.
Because ASA records exist only for patients who underwent surgery recently, the value was only extracted for 10% of the patients. The system provided by the ASA is a tool for evaluating the severity of underlying disease in patients using a few simple questions. Researchers, however, have not been able to extract ASA data for non-surgical patients. In future studies, the ASA questionnaire could be revamped to include a few simple questions to the above effect. Therefore, we included ASA data as a continuous feature in the model. The resulting z-scores were rounded to be within a range, differing depending on the features, as shown in Table 1. Sequential repeated measurements of vital signs, pulse rate, SBP, DBP, SpO2, and temperature were supplemented with missing values using an ARIMA model.
To compare the prediction performance of FAST-PACE to the baseline, we also obtained the values of MEWS and NEWS, which are conventional scores for the assessment of patients in wards. The composition of the scores is displayed in Table 2.

2.3. Deep Learning Model

Vital signs data of ICU patients are a time series of periodic records. Recent studies have applied RNNs to analyze and predict patterns of a patient’s condition [3,22,23]. Specifically, RNNs using the LSTM model equipped with memory cells to store trajectory information is broadly adopted in diagnosis and prediction in healthcare [24,25]. At each time step, LSTM reads an input xi, updates the memory cell (Si), and returns an output, as shown in Figure 3. Each input xi is a two-dimensional vector composed of nine features and a time window, and the final output p denotes the probability of the occurrence of a critical event. LSTM extends memory block-typed neurons so that memory cells in nodes can properly control the influence of the previous input. In this study, LSTM is composed of a single hidden layer with 128 cells and a drop-out probability of 0.5 was applied as a normalization technique [26]. LSTM equations with time-series inputs are detailed in [10]. In addition, the Adam (adaptive moment) optimization technique was applied to enhance the prediction performance [27].
To generalize the proposed solution, the initial weights were set via Xavier initialization [28]. Furthermore, early stopping was used, whereby training was stopped at the lowest error achieved on the validation set to improve generalization [29]. We trained the model in TensorFlow 1.6 [30] with the Python 3.5, pandas 0.19, NumPy 1.12, and SciPy 1.01 libraries.

3. Results

In this section, we present the experimental results to evaluate the feasibility of FAST-PACE with simple trajectory and improvement in prediction performance. Table 3 lists the baseline characteristics of the patients. To validate our model, we also investigated MEWS and NEWS, which are based on the AVPU (alert, verbal, pain, unresponsive) scale and are broadly adopted to measure the severity of patient condition. The MEWS and NEWS records of 20,436 patients are also included in Table 3.
First, we investigated the event distribution of acute respiratory failure and cardiac arrest over time after admission to the ICU in order to demonstrate the importance of predicting adverse events in the 1–6 h after admission. Figure 4 shows a histogram of the 29,181 ICU patients described in Section 2. As seen in the figure, the number of events occurring 1–5 h after admission is relatively high and gradually decreases henceforth.
The prediction performances of FAST-PACE, MEWS, and NEWS were compared in terms of area under the receiver operating characteristic curve (AUROC), sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), accuracy, and F2-score. The cutoff value for the occurrence of events was 5 for NEWS and MEWS, and 0.5 for the LSTM model.
Table 4 shows the performance of MEWS, NEWS, and FAST-PACE for predicting acute respiratory failure 1 h, 2 h, 4 h, and 6 h before the catastrophic event. FAST-PACE predicts acute respiratory failure with an AUROC of 0.868–0.886, while the AUROC values for MEWS and NEWS are 0.607–0.634 and 0.608–0.641, respectively. FAST-PACE improved the prediction in terms of AUROC compared to MEWS and NEWS by over 40% on average (0.877, 0.620, and 0.623, respectively). Above all, prediction with FAST-PACE outperforms other traditional warning scores by reaching a mean sensitivity of 0.830 (0.771–0.881), which is an increase from a mean sensitivity of 0.222 (0.201–0.245) for MEWS and 0.491 (0.467–0.518) for NEWS, while in terms of specificity, MEWS performed slightly better than FAST-PACE and NEWS (0.876, 0.767, and 0.705 on average, respectively).
Table 5 lists the performance of MEWS, NEWS, and FAST-PACE in predicting cardiac arrest 1 h, 2 h, 4 h, and 6 h before the critical event. FAST-PACE improved the AUROC of prediction to 0.896 for the 1 h time window, while the AUROC values for MEWS and NEWS were 0.746 and 0.759. The average sensitivity of FAST-PACE was 0.844 (0.814–0.870), which improved the average sensitivity of MEWS (0.400) and NEWS (0.695). FAST-PACE enhanced the overall performance compared to NEWS in terms of AUROC, sensitivity, and accuracy, while it approached that of MEWS for specificity (0.767–0.876). To compare FAST-PACE and other conventional scoring systems, all p values at each point were statistically significant by McNemar test (p < 0.001).
Figure 5 shows the ROC of FAST-PACE, MEWS, and NEWS, predicting critical events within 6 h. We also measured net reclassification index (NRI) to evaluate the improvement in the prediction performance over conventional warning scores, as shown in Table 6 and Table 7. NRI from MEWS to FAST-PACE is 0.341 for predicting respiratory failure and 0.507 for predicting cardiac arrest, and NRI from NEWS to FAST-PACE is 0.215 for predicting respiratory failure and 0.412 for predicting cardiac arrest 6 h before event occurrence. Although the NRI from MEWS to FAST-PACE in classifying the no-event group is slightly negative due to MEWS’ overfitted specificity, the gain from improved prediction performance was the highest in predicting cardiac arrest 2 h prior to occurrence.

4. Discussion

In this paper, we have developed a deep learning model, FAST-PACE, that predicts acute cardiac arrest and respiratory failure at different time intervals with a simple clinical trait. This study demonstrated two significant results: an applicable AI model in a clinical environment and improved prediction performance. The proposed system aims to capitalize on the prediction capability of AI with simple trajectories and is feasible to use for instant decision support in wards or pre-hospital environments. We aim to maintain the feature set to be as concise as possible while achieving reasonable performance in order to make FAST-PACE applicable to any environment where instant prediction is necessary. In this respect, we fed a simple trajectory of patient data to the learning model that can increase the feasibility of application, which is different to other studies that utilized big data with a significant number of features. Although FAST-PACE was trained with the hemodynamic parameters commonly used in EWS and the recent history of operations, it achieves higher performance in AUROC (0.886 ± 0.010) than MEWS (0.737 ± 0.012) or NEWS (0.750 ± 0.014) for prediction 1–6 h before acute cardiac arrest. In particular, the performance of FAST-PACE was demonstrated for prediction sensitivity; MEWS and NEWS performed with unacceptable sensitivity (0.388 ± 0.019 and 0.685 ± 0.022) with simple trajectories, while FAST-PACE achieved 0.857 (±0.045) in sensitivity. Such enhancement in sensitivity of deep learning-based prediction over EWS was investigated in predicting both acute respiratory failure and cardiac arrest, as displayed in Table 4 and Table 5. The primary reason for this performance difference is that FAST-PACE reflected the effect of current treatment on each physiological parameter by adding treatment information as binary factors and weighed on the simplest past medical history that can be gained through short interviews. In a previous report, Lee et al. reported that deep neural networks can be utilized to predict in-hospital mortality based on automatically extractable and objective intraoperative data. It has been demonstrated that these predictions are further improved via the addition of preoperative information, such as ASA score, to predict postoperative mortality [20]. In order to predict the adverse events after major surgery, it is necessary to discriminate whether the postoperative adverse event is due to the major operation itself or the patients’ preoperative medical condition. The authors assume that this would have made a difference in FAST-PACE.
Another advantage of applying FAST-PACE is that previous ICU-based AI studies have utilized prediction models with as many features as possible, whereas we constructed a model without any laboratory data or echocardiography data with a view of providing a feasible solution to various environments, including general wards, ICUs, and pre-hospital emergency environments. Most deep learning models incorporate not only laboratory data, but also use echocardiograms [6,31]. A previous study used 37 clinical risk factors to predict failed extubation [9]. Such deep learning models require several healthcare features, including both static features such as general descriptors (demographic information collected during admission), and temporal features, which possibly come from various monitoring devices, injury markers, ventilator settings, blood gas values, and other sources [8,9]. However, the medical data acquired during cardiopulmonary resuscitation or ambulance transfer are extremely limited. For example, the collection of 12-lead electrocardiogram data cannot be expected in decision support using a prediction model. This is why we need to develop a model that predicts emergency situations by analyzing limited real-time physiological data. Although we can obtain huge amounts of data from various monitors in the ICU, we have built models that include only physiological data and past surgical history, excluding laboratory data. Our models can be easily applied to a limited population, such as patients in ambulance transfer or general ward patients.
Predictive scoring systems are typically used to predict mortality in general ICU patients. The acute physiologic and chronic health evaluation (APACHE) [32], simplified acute physiologic score (SAPS) [33], sequential organ failure assessment (SOFA) [34], and mortality prediction model (MPM) [35] are the four major validated ICU predictive scoring systems. These scoring systems are useful for determining prognosis for the patient or a severity index in the ICU. However, since a patient’s condition can continuously change, these scoring tools are unable to predict, in real-time, catastrophic events such as sudden cardiac arrest or acute respiratory failure. In addition, all ICU scoring except MPM is measured after 24 h in the ICU. As shown in Figure 4, most adverse events occur within 24 h of admission to the ICU. With these scoring systems, it is difficult for physicians to predict critical events or make prognoses.
Physicians expect to spend less time analyzing medical data using AI and to quickly screen high-risk patients. However, respondents pointed out that AI may not be able to help unexpected situations due to inappropriate data [36]. By applying this model using simple traits, we have the time to plan for a patient to be treated at a medical facility with sufficient medical personnel. For example, when we transfer a critical patient by ambulance, we can use our system to automatically notify the nearest local emergency center of the patient’s condition and request advance preparation before the patient arrives.
Although the proposed solution demonstrates enhanced performance in predicting catastrophic events in mixed ICU populations, we need to apply this system to external data or a progressive study to validate the performance of the trained model. In addition, the results suffer from the limitation that all data were retrieved from ICU patients and none were associated with patients from other environments, such as emergencies and on-board predictions in ambulances. Thus, the expansion of the data to include medically urgent situations remains an important topic for future research. Research adopting various technical methods to treat imbalanced classes is also necessary. We plan to apply the synthetic minority over-sampling technique (SMOTE) [37], oversampling, or cost-sensitive methods [38] with various weightings for classes to solve the imbalance problem, which is common in medical big data. In addition, our data set is based on data collected in one-hour intervals. In recent years, many medical institutions monitor a patient’s vital signs in real time and store and display the data on the minute. Since the patient’s condition may change rapidly, we plan to build a model based on vital signs collected in real time.

5. Conclusions

In this study, we developed a deep learning-based prediction model for acute emergency situations requiring immediate intervention. We used AI for instant prediction of the occurrence of adverse events with limited physiologic traits and simple past medical history. Only simple clinical traits obtained from 1 h to 6 h prior to adverse events were utilized to accurately predict acute cardiac arrest or respiratory failure. This suggests that a monitoring alert system and life-saving strategy can be implemented shortly before an adverse event.

Author Contributions

Conceptualization, J.K., H.-J.C. and E.P.; methodology, J.K. and Y.-A.K.; software, M.C. and E.P.; formal analysis, J.K. and E.P.; investigation, J.K. and Y.-A.K.; writing—original draft preparation, J.K. and E.P.; writing—review and editing, J.K. and E.P.; visualization, E.P.; supervision, H.-J.C. and E.P.

Funding

This research was funded by the Ministry of Education, Republic of Korea, (NRF) (2017R1D1A1B03029014) to Eunjeong Park, and supported by basic science research program through the NRF funded by the ministry of science and ICT (2017R1C1B5077169) to Jeongmin Kim.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Alam, N.; Hobbelink, E.L.; van Tienhoven, A.J.; van de Ven, P.M.; Jansma, E.P.; Nanayakkara, P.W. The impact of the use of the early warning score (ews) on patient outcomes: A systematic review. Resuscitation 2014, 85, 587–594. [Google Scholar] [CrossRef] [PubMed]
  2. Subbe, C.P.; Kruger, M.; Rutherford, P.; Gemmel, L. Validation of a modified early warning score in medical admissions. QJM Mon. J. Assoc. Physicians 2001, 94, 521–526. [Google Scholar] [CrossRef] [PubMed]
  3. Choi, E.; Schuetz, A.; Stewart, W.F.; Sun, J. Using recurrent neural network models for early detection of heart failure onset. J. Am. Med. Inf. Assoc. 2017, 24, 361–370. [Google Scholar] [CrossRef] [PubMed]
  4. Churpek, M.M.; Yuen, T.C.; Winslow, C.; Meltzer, D.O.; Kattan, M.W.; Edelson, D.P. Multicenter comparison of machine learning methods and conventional regression for predicting clinical deterioration on the wards. Crit. Care Med. 2016, 44, 368–374. [Google Scholar] [CrossRef] [PubMed]
  5. Johnson, A.E.; Ghassemi, M.M.; Nemati, S.; Niehaus, K.E.; Clifton, D.A.; Clifford, G.D. Machine learning and decision support in critical care. Proc. IEEE. Inst. Electr. Electron. Eng. 2016, 104, 444–466. [Google Scholar] [CrossRef] [PubMed]
  6. Kwon, J.M.; Lee, Y.; Lee, Y.; Lee, S.; Park, J. An algorithm based on deep learning for predicting in-hospital cardiac arrest. J. Am. Heart Assoc. 2018, 7, e008678. [Google Scholar] [CrossRef] [PubMed]
  7. Pham, T.; Tran, T.; Phung, D.; Venkatesh, S. Predicting healthcare trajectories from medical records: A deep learning approach. J. Biomed. Inform. 2017, 69, 218–229. [Google Scholar] [CrossRef]
  8. Che, Z.; Purushotham, S.; Khemani, R.; Liu, Y. Interpretable deep models for icu outcome prediction. AMIA Ann. Symp. Proc. AMIA Symp. 2016, 2016, 371–380. [Google Scholar]
  9. Hsieh, M.H.; Hsieh, M.J.; Chen, C.M.; Hsieh, C.C.; Chao, C.M.; Lai, C.C. An artificial neural network model for predicting successful extubation in intensive care units. J. Clin. Med. 2018, 7, 240. [Google Scholar] [CrossRef]
  10. Ge, W.; Huh, J.W.; Park, Y.R.; Lee, J.H.; Kim, Y.H.; Turchin, A. An interpretable icu mortality prediction model based on logistic regression and recurrent neural networks with lstm units. AMIA Ann. Symp. Proc. AMIA Symp. 2018, 2018, 460–469. [Google Scholar]
  11. Harutyunyan, H.; Khachatrian, H.; Kale, D.C.; Ver Steeg, G.; Galstyan, A. Multitask learning and benchmarking with clinical time series data. Sci. Data 2019, 6, 96. [Google Scholar] [CrossRef] [PubMed]
  12. Aczon, M.; Ledbetter, D.; Ho, L.; Gunny, A.; Flynn, A.; Williams, J.; Wetzel, R. Dynamic mortality risk predictions in pediatric critical care using recurrent neural networks. arXiv 2017, arXiv:1701.06675. [Google Scholar]
  13. Plutowski, M.; White, H. Selecting concise training sets from clean data. IEEE Trans. Neural Netw. 1993, 4, 305–318. [Google Scholar] [CrossRef] [PubMed]
  14. Figueroa, R.L.; Zeng-Treitler, Q.; Kandula, S.; Ngo, L.H. Predicting sample size required for classification performance. BMC Med. Inform. Decis. Mak. 2012, 12, 8. [Google Scholar] [CrossRef]
  15. Batista, G.E.; Prati, R.C.; Monard, M.C. A study of the behavior of several methods for balancing machine learning training data. ACM SIGKDD Explor. Newsl. 2004, 6, 20–29. [Google Scholar] [CrossRef]
  16. Chawla, N.V.; Japkowicz, N.; Kotcz, A. Special issue on learning from imbalanced data sets. ACM Sigkdd Explor. Newsl. 2004, 6, 1–6. [Google Scholar] [CrossRef]
  17. Lin, W.-C.; Tsai, C.-F.; Hu, Y.-H.; Jhang, J.-S. Clustering-based undersampling in class-imbalanced data. Inf. Sci. 2017, 409, 17–26. [Google Scholar] [CrossRef]
  18. Velicer, W.F.; Colby, S.M. A comparison of missing-data procedures for arima time-series analysis. Educ. Psychol. Meas. 2005, 65, 596–615. [Google Scholar] [CrossRef]
  19. Mayhew, D.; Mendonca, V.; Murthy, B.V.S. A review of asa physical status—Historical perspectives and modern developments. Anaesthesia 2019, 74, 373–379. [Google Scholar] [CrossRef]
  20. Lee, C.K.; Hofer, I.; Gabel, E.; Baldi, P.; Cannesson, M. Development and validation of a deep neural network model for prediction of postoperative in-hospital mortality. Anesthesiology 2018, 129, 649–662. [Google Scholar] [CrossRef]
  21. Jones, M. Newsdig: The national early warning score development and implementation group. Clin. Med. 2012, 12, 501–503. [Google Scholar] [CrossRef] [PubMed]
  22. Che, Z.; Purushotham, S.; Cho, K.; Sontag, D.; Liu, Y. Recurrent neural networks for multivariate time series with missing values. Sci. Rep. 2018, 8, 6085. [Google Scholar] [CrossRef] [PubMed]
  23. Lipton, Z.C.; Kale, D.C.; Wetzel, R. Modeling missing data in clinical time series with rnns. arXiv 2016, arXiv:1606.04130. [Google Scholar]
  24. Baytas, I.M.; Xiao, C.; Zhang, X.; Wang, F.; Jain, A.K.; Zhou, J. Patient subtyping via time-aware LSTM networks. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Halifax, NS, Canada, 13–17 August 2017; pp. 65–74. [Google Scholar]
  25. Lin, C.; Zhangy, Y.; Ivy, J.; Capan, M.; Arnold, R.; Huddleston, J.M.; Chi, M. Early diagnosis and prediction of sepsis shock by combining static and dynamic information using convolutional-LSTM. In Proceedings of the 2018 IEEE International Conference on Healthcare Informatics (ICHI), New York, NY, USA, 4–7 June 2018; pp. 219–228. [Google Scholar]
  26. Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.; Salakhutdinov, R. Dropout: A simple way to prevent neural networks from overfitting. J. Mach. Learn. Res. 2014, 15, 1929–1958. [Google Scholar]
  27. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
  28. Krogh, A.; Hertz, J.A. A simple weight decay can improve generalization. In Proceedings of the Advances in Neural Information Processing Systems, Denver, CO, USA, 30 November–3 December 1992; pp. 950–957. [Google Scholar]
  29. Smale, S.; Zhou, D.-X. Learning theory estimates via integral operators and their approximations. Constr. Approx. 2007, 26, 153–172. [Google Scholar] [CrossRef]
  30. Abadi, M.; Barham, P.; Chen, J.; Chen, Z.; Davis, A.; Dean, J.; Devin, M.; Ghemawat, S.; Irving, G.; Isard, M. Tensorflow: A system for large-scale machine learning. In Proceedings of the 12th {USENIX} Symposium on Operating Systems Design and Implementation ({OSDI} 16), Savannah, GA, USA, 2–4 November 2016; pp. 265–283. Available online: https://www.tensorflow.org/ (accessed on 20 July 2019).
  31. Aushev, A.; Ripoll, V.R.; Vellido, A.; Aletti, F.; Pinto, B.B.; Herpain, A.; Post, E.H.; Medina, E.R.; Ferrer, R.; Baselli, G.; et al. Feature selection for the accurate prediction of septic and cardiogenic shock ICU mortality in the acute phase. PLoS ONE 2018, 13, e0199089. [Google Scholar] [CrossRef] [PubMed]
  32. Ho, K.M.; Dobb, G.J.; Knuiman, M.; Finn, J.; Lee, K.Y.; Webb, S.A. A comparison of admission and worst 24-h acute physiology and chronic health evaluation ii scores in predicting hospital mortality: A retrospective cohort study. Crit. Care 2006, 10, R4. [Google Scholar] [CrossRef]
  33. Moreno, R.P.; Metnitz, P.G.; Almeida, E.; Jordan, B.; Bauer, P.; Campos, R.A.; Iapichino, G.; Edbrooke, D.; Capuzzo, M.; Le Gall, J.R. Saps 3--from evaluation of the patient to evaluation of the intensive care unit. Part 2: Development of a prognostic model for hospital mortality at icu admission. Intensive Care Med. 2005, 31, 1345–1355. [Google Scholar] [CrossRef] [PubMed]
  34. Vincent, J.L.; de Mendonca, A.; Cantraine, F.; Moreno, R.; Takala, J.; Suter, P.M.; Sprung, C.L.; Colardyn, F.; Blecher, S. Use of the sofa score to assess the incidence of organ dysfunction/failure in intensive care units: Results of a multicenter, prospective study. Working group on “sepsis-related problems” of the european society of intensive care medicine. Crit. Care Med. 1998, 26, 1793–1800. [Google Scholar] [CrossRef]
  35. Higgins, T.L.; Teres, D.; Copes, W.S.; Nathanson, B.H.; Stark, M.; Kramer, A.A. Assessing contemporary intensive care unit outcome: An updated mortality probability admission model (mpm0-iii). Crit. Care Med. 2007, 35, 827–835. [Google Scholar] [CrossRef] [PubMed]
  36. Oh, S.; Kim, J.H.; Choi, S.-W.; Lee, H.J.; Hong, J.; Kwon, S.H. Physician confidence in artificial intelligence: An online mobile survey. J. Med. Internet Res. 2019, 21, e12422. [Google Scholar] [CrossRef] [PubMed]
  37. Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. Smote: Synthetic minority over-sampling technique. J. Artifi. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef]
  38. Weiss, G.M.; McCarthy, K.; Zabar, B. Cost-sensitive learning vs. Sampling: Which is best for handling unbalanced classes with unequal error costs? Dmin 2007, 7, 24. [Google Scholar]
Figure 1. Studied populations. ICU = intensive care unit; FAST-PACE = Feasible Artificial intelligence with Simple Trajectories for Predicting Adverse Catastrophic Events.
Figure 1. Studied populations. ICU = intensive care unit; FAST-PACE = Feasible Artificial intelligence with Simple Trajectories for Predicting Adverse Catastrophic Events.
Jcm 08 01336 g001
Figure 2. Sample trajectories of patient with acute respiratory failure. Ptw = prediction time window; ASA = American Society of Anesthesiologists; EMR = electronic medical record; BP = blood pressure; SpO2 = peripheral oxygen saturation.
Figure 2. Sample trajectories of patient with acute respiratory failure. Ptw = prediction time window; ASA = American Society of Anesthesiologists; EMR = electronic medical record; BP = blood pressure; SpO2 = peripheral oxygen saturation.
Jcm 08 01336 g002
Figure 3. Prediction model design. LSTM = long short-term memory; x = input; S = memory cell.
Figure 3. Prediction model design. LSTM = long short-term memory; x = input; S = memory cell.
Jcm 08 01336 g003
Figure 4. Event distribution after admission.
Figure 4. Event distribution after admission.
Jcm 08 01336 g004
Figure 5. AUROC of FAST-PACE, MEWS, and NEWS predicting (a) acute respiratory failure and (b) cardiac arrest within 6 h.
Figure 5. AUROC of FAST-PACE, MEWS, and NEWS predicting (a) acute respiratory failure and (b) cardiac arrest within 6 h.
Jcm 08 01336 g005
Table 1. List of features.
Table 1. List of features.
CategoryFeatureData TypeRangeMissing (%)
VitalPulse rate (bpm)continuous0–30011.46
SignSystolic BP (mmHg)continuous0–3007.78
Diastolic BP (mmHg)continuous0–3006.81
Respiratory rate (breaths/min)continuous0–15012.76
SpO2 (%)continuous0–10024.01
Body temperature (°C)continuous2–4514.36
HistoryTreatment history
(yes or no)
categorical0, 1
Operation ASA classificationcontinuous1–6
History of recent surgery (yes or no)categorical0, 1
Treatment history: any pharmacological treatment or additional oxygen supply that could affect the vital signs at the time of measurement; Operation: major surgery within one week of event occurrence.
Table 2. Modified Early Warning Score (MEWS) and National Early Warning Score (NEWS) [2,21].
Table 2. Modified Early Warning Score (MEWS) and National Early Warning Score (NEWS) [2,21].
MEWS3210123
Respiratory rate (breaths/min)>3531–3521–309–20 <7
SpO2 (%)<8585–8990–92>92
Temperature (°C) >38.938–38.936–37.935–35.934–34.9<34
Systolic BP (mmHg) >199 100–19980–9970–79<70
Heart rate (bpm)>129110–129100–10950–9940–4930–39<30
AVPU AlertVerbalPainUnresponsive
NEWS3210123
Respiratory rate (breaths/min)≥2521–24 12–20 ≤8
SpO2 (%)≤9192–9394–95≥96
Temperature (°C) ≥39.138.1–3936.1–38.035.1–36 ≤35
Systolic BP (mmHg)≥220 111–219101–11091–100≤90
Heart rate (bpm)≥131111–13091–11051–9041–50 ≤40
AVPU Alert Verbal, pain, Unresponsive
AVPU (alert, verbal, pain, unresponsive) is a system by which a health care professional can measure and record a patient’s level of consciousness.
Table 3. Patient demographics.
Table 3. Patient demographics.
FeatureFAST-PACE TrainingFAST-PACE TestMEWS, NEWS Score
Acute Respiratory Failure (n = 1388)Cardiac Arrest (n = 604)Non-Event (n = 1992)Acute Respiratory Failure (n = 350)Cardiac Arrest (n = 154)Non-Event (n = 9520)Acute Respiratory Failure (n = 746)Cardiac Arrest (n = 102)Non-Event (n = 19,903)
Age (years)62.2 ± 15.762.9 ± 15.462.9 ± 15.362.1 ± 14.963.6 ± 14.461.5 ± 15.563.9 ± 15.564.3 ± 14.161.7 ± 15.8
Gender (male), n (%)842 (60.6)382 (63.2)1225 (61.4)225 (64.2)106 (68.8)5805 (60.9)451 (60.4)73 (71.5)12,001 (60.2)
Race, Asian 13886041992350154952074610219,903
Pulse rate, (bpm) 100.7 ± 22.2107.4 ± 24.497.3 ± 23.3100.1 ± 20.7108.5 ± 25.391.0 ± 21.499.3 ± 21.8103.9 ± 23.189.8 ± 20.9
Systolic BP (mmHg)127.6 ± 24.5110.3 ± 26.1125.6 ± 24.2126.9 ± 23.3107.8 ± 26.2126.4 ± 26.127.7 ± 23.8110.6 ± 27.7127.4 ± 25
Diastolic BP (mmHg)67.5 ± 14.459.2 ± 1566.7 ± 14.366.9 ± 13.358.5 ± 14.866.7 ± 13.967.3 ± 1458.8 ± 14.567.2 ± 13.7
Respiratory Rate (breaths/min)22.8 ± 6.822.5 ± 6.321.4 ± 6.423.4 ± 7.22.9 ± 6.318.6 ± 5.323 ± 721.7 ± 5.518.7 ± 5.2
SpO2, (%)96.4 ± 7.191.3 ± 19.196.9 ± 6.696.9 ± 3.892.8 ± 16.498.2 ± 6.195.8 ± 8.491.9 ± 19.298.3 ± 5.1
Body Temperature, (°C)36.9 ± 0.736.5 ± 1.836.8 ± 0.736.8 ± 0.836.6 ± 1.236.7 ± 0.936.9 ± 0.536.6 ± 0.636.7 ± 0.8
ASA Classification, (1–6)3.4 ± 1.13.6 ± 0.93.1 ± 1.14.0 ± 1.13.3 ± 0.82.7 ± 0.93.5 ± 0.94.1 ± 0.92.6 ± 0.9
Treatment History , n (%)9 (0.6)76 (12.5)10 (0.5)2 (0.6)16 (10.3)44 (0.5)9 (1.2)14 (13.7)70 (0.3)
Operation , n (%)116 (8.4)45 (7.4)175 (8.7)20 (5.7)12 (7.8)5768 (60.5)66 (8.8)8 (7.8)11,673 (58.6)
Treatment history: any pharmacological treatment or additional oxygen supply that could affect the vital signs at the time of measurement. Operation: major surgery within one week of event occurrence.
Table 4. Acute respiratory failure prediction performance. AUROC = area under the receiver operating characteristic curve; PPV = positive predictive value; NPV = negative predictive value.
Table 4. Acute respiratory failure prediction performance. AUROC = area under the receiver operating characteristic curve; PPV = positive predictive value; NPV = negative predictive value.
TimeModelAUROCSensitivitySpecificityPPVNPVAccuracyF2-Score
1 hMEWS0.6340.2450.8760.1560.9250.8220.191
NEWS0.6410.5180.7050.1410.9400.6890.222
FAST-PACE0.8860.8300.7770.2590.9800.7820.394
2 hMEWS0.6240.2290.8760.1370.9300.8250.171
NEWS0.6280.4980.7050.1270.9430.6890.202
FAST-PACE0.8860.8810.7420.2260.9860.7530.360
4 hMEWS0.6150.2130.8760.1200.9340.8270.154
NEWS0.6160.4790.7050.1140.9450.6890.184
FAST-PACE0.8680.7710.8000.2340.9780.7980.359
6 hMEWS0.6070.2010.8760.1090.9350.8290.142
NEWS0.6080.4670.7050.1070.9460.6890.174
FAST-PACE0.8690.8370.7480.2010.9840.7540.324
Table 5. Cardiac arrest prediction performance.
Table 5. Cardiac arrest prediction performance.
TimeModelAUROCSensitivitySpecificityPPVNPVAccuracyF2-Score
1 hMEWS0.7460.4100.8760.0890.9810.8630.146
NEWS0.7590.7020.7050.0660.9880.7050.120
FAST-PACE0.8960.8360.7770.1000.9940.7790.178
2 hMEWS0.7450.4060.8760.0850.9810.8630.140
NEWS0.7570.6970.7050.0630.9880.7050.115
FAST-PACE0.8910.8700.7420.0870.9950.7450.158
4 hMEWS0.7410.3970.8760.0780.9820.8640.130
NEWS0.7530.6910.7050.0580.9890.7050.107
FAST-PACE0.8930.8140.8000.0970.9940.8010.173
6 hMEWS0.7370.3880.8760.0750.9820.8640.125
NEWS0.7500.6850.7050.0560.9890.7050.104
FAST-PACE0.8860.8570.7480.0800.9950.7510.147
Table 6. Net reclassification index (NRI) in predicting acute respiratory failure.
Table 6. Net reclassification index (NRI) in predicting acute respiratory failure.
TimeModelNRI (Event)NRI (No Event)NRI
1 hMEWS to FAST-PACE0.426−0.0990.327
NEWS to FAST-PACE0.1340.0720.206
2 hMEWS to FAST-PACE0.464−0.1350.329
NEWS to FAST-PACE0.1730.0360.209
4 hMEWS to FAST-PACE0.418−0.0760.342
NEWS to FAST-PACE0.1240.0950.219
6 hMEWS to FAST-PACE0.469−0.1280.341
NEWS to FAST-PACE0.1720.0430.215
Table 7. NRI in predicting cardiac arrest.
Table 7. NRI in predicting cardiac arrest.
TimeModelNRI (Event)NRI (No Event)NRI
1 hMEWS to FAST-PACE0.585−0.0990.486
NEWS to FAST-PACE0.3120.0720.384
2 hMEWS to FAST-PACE0.651−0.1350.517
NEWS to FAST-PACE0.3830.0360.419
4 hMEWS to FAST-PACE0.558−0.0760.482
NEWS to FAST-PACE0.2920.0950.387
6 hMEWS to FAST-PACE0.636−0.1280.507
NEWS to FAST-PACE0.3700.0430.412

Share and Cite

MDPI and ACS Style

Kim, J.; Chae, M.; Chang, H.-J.; Kim, Y.-A.; Park, E. Predicting Cardiac Arrest and Respiratory Failure Using Feasible Artificial Intelligence with Simple Trajectories of Patient Data. J. Clin. Med. 2019, 8, 1336. https://doi.org/10.3390/jcm8091336

AMA Style

Kim J, Chae M, Chang H-J, Kim Y-A, Park E. Predicting Cardiac Arrest and Respiratory Failure Using Feasible Artificial Intelligence with Simple Trajectories of Patient Data. Journal of Clinical Medicine. 2019; 8(9):1336. https://doi.org/10.3390/jcm8091336

Chicago/Turabian Style

Kim, Jeongmin, Myunghun Chae, Hyuk-Jae Chang, Young-Ah Kim, and Eunjeong Park. 2019. "Predicting Cardiac Arrest and Respiratory Failure Using Feasible Artificial Intelligence with Simple Trajectories of Patient Data" Journal of Clinical Medicine 8, no. 9: 1336. https://doi.org/10.3390/jcm8091336

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop