Next Article in Journal
Ensemble Fuzzy Feature Selection Based on Relevancy, Redundancy, and Dependency Criteria
Next Article in Special Issue
Nonlinear Image Registration and Pixel Classification Pipeline for the Study of Tumor Heterogeneity Maps
Previous Article in Journal
PCA-Based Matrix CFAR Detection for Radar Target
Previous Article in Special Issue
Multi-scale Entropy Evaluates the Proarrhythmic Condition of Persistent Atrial Fibrillation Patients Predicting Early Failure of Electrical Cardioversion
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Towards the Prediction of Rearrest during Out-of-Hospital Cardiac Arrest

1
Department of Communications Engineering, University of the Basque Country, 48013 Bilbao, Spain
2
Department of Emergency Medicine, University of Texas Health Science Center, Houston, TX 77030, USA
3
Department of Emergency Medicine, University of Texas Southwestern Medical Center, Dallas, TX 75390, USA
*
Author to whom correspondence should be addressed.
A.I. serves as an unpaid volunteer on the American Heart Association National Emergency Cardiovascular Care Committee and the HeartSine, Inc. Clinical Advisory Board.
Submission received: 21 May 2020 / Revised: 6 July 2020 / Accepted: 7 July 2020 / Published: 9 July 2020

Abstract

:
A secondary arrest is frequent in patients that recover spontaneous circulation after an out-of-hospital cardiac arrest (OHCA). Rearrest events are associated to worse patient outcomes, but little is known on the heart dynamics that lead to rearrest. The prediction of rearrest could help improve OHCA patient outcomes. The aim of this study was to develop a machine learning model to predict rearrest. A random forest classifier based on 21 heart rate variability (HRV) and electrocardiogram (ECG) features was designed. An analysis interval of 2 min after recovery of spontaneous circulation was used to compute the features. The model was trained and tested using a repeated cross-validation procedure, on a cohort of 162 OHCA patients (55 with rearrest). The median (interquartile range) sensitivity (rearrest) and specificity (no-rearrest) of the model were 67.3% (9.1%) and 67.3% (10.3%), respectively, with median areas under the receiver operating characteristics and the precision–recall curves of 0.69 and 0.53, respectively. This is the first machine learning model to predict rearrest, and would provide clinically valuable information to the clinician in an automated way.

1. Introduction

Cardiac arrest remains a major public health problem with more than 275,000 out-of-hospital cardiac arrest (OHCA) cases treated yearly in Europe [1], and survival rates below 10% [2,3]. Prompt treatment is crucial because the probability of survival decreases by 10% for every minute treatment is delayed [4,5]. Current cardiopulmonary resuscitation (CPR) guidelines define chain of survival to ensure a prompt OHCA treatment, with five important links [6]: early recognition of the arrest, CPR with chest compressions and ventilations, rapid defibrillation, basic/advanced emergency medical treatment, and post-cardiac arrest care.
The final aim of the treatment provided by the emergency medical services is to achieve the return of spontaneous circulation (ROSC), and to then proceed to the last link of the chain of survival, post-arrest treatment, and transportation to hospital. CPR manoeuvres, defibrillation, and drugs produce changes in the patient’s state, which are reflected in the cardiac rhythm. For instance, defibrillation may bring a patient from ventricular fibrillation to a rhythm with spontaneous pulse, that is, to ROSC.
Rearrest is experienced by patients who achieve ROSC and suffer a subsequent cardiac arrest during their prehospital care. Rearrest is frequent in the prehospital setting with observed incidences between 24% and 43% [7,8,9,10]. Moreover, rearrest is associated to poorer patient outcomes, both for hospital discharge and neurological state at follow up [7,8,9,10,11]. The prediction of rearrest would contribute to better outcomes by providing adequate medical treatment to better stabilize the patient, and by delaying transport to hospital, as providing adequate care is more difficult when rearrest occurs in an ambulance during transport to hospital.
Several characteristics observable in the electrocardiogram (ECG) are associated to rearrest risk factors: low heart rate, increased heart rate variability, long QRS complexes, irregular beats, etc. Nevertheless, very few automated methods have been proposed to predict rearrest. Some important contributions by Salcido et al. in the use of heart rate variability (HRV) features and morphology features of the ECG [9,12] showed the potential of the ECG in this context. Other studies focused on the transition between cardiac rhythms, including the transition from pulse-generating rhythms (ROSC) to non-pulsatile rhythms, that is, rearrest [13].
In this paper, a machine learning technique is developed to predict rearrest in OHCA patients. A solution based on a random forest (RF) classifier is adjusted for 1 and 2 min of ECG signal acquired by the defibrillation pads, a signal commonly recorded by all defibrillators in OHCA scenarios. In the Materials section, the source of the OHCA cases and the ECG signals is described. The HRV features and the design of the RF classifier is detailed in Methods, and the Results are given next. In the Discussion section, the clinical importance and implications in OHCA treatment of this algorithm are elaborated.

2. Data Collection

The data used in this study were a subset of a large OHCA episode collection gathered in the Dallas–Fortworth area by the DFW center for resuscitation research (UTSW, Dallas). Every episode was recorded using the Philips HeartStart MRx device, which acquires the ECG signal and the thoracic impedance through the defibrillation pads. The ECG signal was acquired with a sampling frequency of 250 Hz and a resolution of 1.03 μ V per least significant bit. Additionally, some episodes included the chest compression depth signal, which in conjunction with the impedance signal, permitted identifying the intervals with chest compressions.
There were a total of 797 episodes with concurrent ECG and impedance signals. Episodes with ROSC were identified based on the instant of ROSC (t R O S C ) annotated by clinicians on the scene. No rearrest episodes (NoRA) corresponded to patients with sustained ROSC according to the clinical information in the patient’s chart, and no chest compressions until the end of the episode. A minimum duration of 2 min was required for the ROSC interval. Rearrest episodes (RA) were identified if ROSC was lost in an interval of 12 min after ROSC. Patients that suffered a rearrest after 12 min from the ROSC onset were considered in the NoRA group. Figure 1 shows a RA case, where spontaneous pulse was lost t R A seconds after the onset of ROSC, t R O S C . The final patient cohort included 162 patients, 107 NoRA, and 55 RA cases. In the NoRA cases, the median (first quartile–third quartile) duration from the onset of ROSC to the end of episode was 300 (240–874) s. In the RA cases the median duration from ROSC onset to RA was 303 (195–410) s.

3. Methods

The rearrest prediction algorithm proposed in this manuscript was applied to segments of t w minutes of ECG signal extracted right after t R O S C , as shown in Figure 1. For case number i a vector of 21 features, v i = { v i , 1 , , v i , 21 } , was computed for each segment and a machine learning classifier applied for the binary classification ( y i = { 0 , 1 } = { NoRA , RA } ). Two segment lengths were considered in the model, t w = 1 min and t w = 2 min .

3.1. ECG Processing and Feature Extraction

A total of 21 features (Table 1) were extracted to vectorize the ECG segment: 17 were based on HRV metrics as proposed in [14], and four new features were incorporated based on the ECG waveform.
First, the ECG signal was filtered between 0.5 and 40 Hz using order 4 Butterworth (zero-phase) filter to remove baseline wander and high frequency noise. Second, HRV features were computed using the R peaks detected using the well-known Hamilton–Tompkins QRS detector [15]. A variance-based correction was applied to prevent false negative heartbeat detections caused by large amplitude changes in the R-peaks. The impact of spiky artifacts in the adaptive thresholding of the QRS detector was thus reduced and the R R series were constructed. Examples of R R series for a RA and a NoRA case can be observed in Figure 2.
The HRV features computed using the R R series can be divided into three groups [16]:
  • Time domain features. The classic metrics of RR variability were computed: mean R R interval ( v 1 ), standard deviation ( v 2 ), root mean square of the successive differences ( v 3 ), coefficient of variation ( v 4 = v 2 / v 1 ) [17], number of R R intervals that differ more than 50 ms ( v 5 ), and the interquartile range of R R intervals ( v 6 ).
  • Frequency domain features. First, the spectrum of the R R sequence was computed using the Lomb–Scargle periodogram for unevenly sampled signals [18]. Then, two different frequency bands were analyzed, the low-frequency or LF band (0.04–0.15 Hz ) and the high-frequency or HF band (0.15–0.4 Hz ). The computed features were the absolute and relative power in the LF band ( v 7 and v 8 ), the absolute and relative power in the HF band ( v 9 and v 10 ), the relation between LF and HF power ( v 11 ), and the peak frequencies in LF and HF bands ( v 12 and v 13 ).
  • Nonlinear features. Self similarity of the R R samples was evaluated using the Poincaré plot and entropy-based features. From the Poincaré plot the variability was measured with the width, SD1 2 , and depth, SD2 2 , of the ellipse, v 14 and v 15 , respectively. Their relation was computed as v 16 . The sample entropy of the RR series ( v 17 ) was computed from a cubic interpolation of the RR series to form a uniformly sampled series (10 Hz ), and m = 1 and r = 0.2 were used [19].
Additionally, four features were computed using the ECG signal, three of them proposed in [13] ( v 18 , v 19 , and v 21 ). They were computed as follows.
  • The centroid frequency, v 18 , was computed based on the power spectral density ( P S D ) of the ECG signal. The P S D was estimated for the f i frequencies using Welch’s periodogram with a signal window of 12 s, an overlap of 50% and a fast Fourier transform of 4096 points:
    v 18 = i P S D ( f i ) · f i i P S D ( f i )
  • The mean of the absolute values of the samples of the ECG segment, v 19 .
  • The relative QRS-power, as the power of the signal concentrated in the frequency band corresponding to the QRS complexes (5–14 Hz ) [15,20]:
    v 20 = f i = 5 f i = 14 P S D ( f i ) i P S D ( f i )
  • The variability of the duration of the QRS complexes. QRS complexes were delineated using a wavelet based algorithm [21] and the standard deviation of their durations was v 21 .
Table 1 provides a quick reference for the meaning of the v i features.
Figure 2 shows the ECG segment and the R R sequence for t w = 1 min in an RA and NoRA case. The RR instants (marked), the RR spectrum (LF and HF highlighted), and the Poincaré diagram are plotted. Larger variability of the R R series, a more disperse Poincaré plot, and more power concentration in the high frequency band were all associated to RA.

3.2. Building the RF Classifier

First, an univariate analysis was carried out to analyze the power of each feature to discriminate RA and NoRA cases. A cost-sensitive logistic regression classifier was fitted using a single feature in the training set and the performance metrics were obtained for that model in the test set (see Section 3.3). Then, a Random Forest (RF) classifier was used to combine all the features for several reasons: it can learn nonlinear mappings, it can be easily adapted for imbalanced datasets, and, besides allowing an embedded feature selection, feature importance can be estimated. Moreover, in our preliminary tests with other machine learning models the RF produced the best classification results. The RF classifier is an ensemble of B decision trees (weak learners) that produce uncorrelated predictions, and the final label is decided by majority voting [22]. Uncorrelated decisions are made by using different bootstraps of the training data to train each weak learner, and also a limited set of randomly selected features are used at each tree split. The importance of each feature can be estimated by permuting the values of each feature and looking at the increase in the out-of-bag error (error measured using the data that each weak learner did not see during the training process). The following two steps were followed.
  • The RF was trained using the training dataset at hand and the importance of each feature was computed and correspondingly sorted.
  • The RF was trained again using the same training data and using only the most important N f features from the previous ranking. Considering the class imbalance in our study (≈34/66%), the number of instances per class were balanced when creating the bootstraps to train each tree by oversampling the minority class. The RF model was evaluated with the testing dataset in hand.
Both RFs were trained using B = 300 weak learners and each tree was trained using only 5% of the data. Bootstrapping was made using sampling with replacement, i.e., repeated instances were possible. For binary classification problems, the number of trees that predicted that a certain instance is positive divided by B can be interpreted as the probability or likelihood of the instance being positive.

3.3. Evaluation

The RF model was trained and tested using patient-wise and stratified 5-fold cross-validation data partition. Data were divided in five nonoverlapping groups, one was used for testing and the other four for training. This is repeated five times so every patient is used in the training and test sets. The procedure was repeated 100 times to estimate the statistical distributions of the performance metrics in terms of median (interquartile range (IQR)). The standard metrics for binary classification problems were considered.
The classification problem in this study involved two unbalanced classes: a negative class with the majority of the instances (NoRA), and a minority positive class (RA). In this scenario, two diagnostic tools are helpful to evaluate the models: receiver operating characteristics (ROC) and precision–recall (PR) curves. These curves are calculated evaluating corresponding performance metrics for different thresholds of the likelihoods given by the RF classifier. The following metrics were considered; sensitivity (Se) or recall (probability of detecting a RA case correctly), specificity (Sp, probability of detecting a NoRA case correctly), precision (probability that a positive detection corresponds to a positive case) and the harmonic mean between precision and recall ( F 1 score). Areas under both curves, area under receiver operating characteristics curve (AUROC) and area under precision–recall curve (AUPRC), are good representative metrics to evaluate the performance of the model. Every metric is given as percentage.

4. Results

In the QRS detection, the variance based filter only changed the detections of the Hamilton-Tompkins algorithm in five cases (3% of episodes), and less than 0.3% of the samples were modified in those cases. To asses the quality of QRS detection and the RR series derived thereof, a signal quality index was adopted, the proportion of beats that are detected by two different QRS detectors over all detected beats [23]. As proposed by the authors of [23], we used a QRS detector robust to noise (Hamilton–Tompkins [15]) and a detector based on a length transform proposed by Zong et al. [24], which is more sensitive at lower signal-to-noise ratios. Median (first quartile–third quartile) agreement between the QRS detectors was 98.4% (90.7–99.6%), showing the good quality of the data.
The analysis of the logistic regression classifier for single features yielded median AUROC and AUPRC values for t w = 1 min in the range of 52.0 to 65.1 and 29.3 to 50.3 , respectively. Similar results were obtained for t w = 2 min , with AUROC in the range of 53.7 to 66.2 and AUPRC in the range of 28.2 to 50.1 . A random classifier in this case would correspond to AUROC = 50.0 and AUPRC = 34.0 . Table 2 shows the distributions and median AUROC/AUPRC for the top 10 features (highest harmonic mean between AUROC and AUPRC) for t w = 1 min and t w = 2 min , respectively. It can be observed that time features like v 2 and v 4 were important for both values of t w , showing that the variability of the R R sequence is a powerful discriminative feature. Nonlinear features measured through Poincaré plots and entropy ( v 15 and v 17 ) also showed high AUROC with medians of 65.0 and 65.5, respectively.
The correlation analysis between the features, based on the Pearson coefficient, r 2 , showed high correlation between features in the same or different domains. Thus, v 2 showed good correlation ( r 2 > 0.75 ) with v 3 , v 4 , v 14 and v 15 , and also v 4 with v 14 .
The median (IQR) values of the features showed that RA patients presented more variable RR intervals, reflected in higher values of time HRV features, v 2 and v 4 , and in a wider Poincaré plot as measured by v 15 . The entropy of the R R series ( v 17 ) was lower in RA cases, suggesting a more regular/predictable time series.
Figure 3 shows the median AUROC and AUPRC for the RF classifier as a function of the number of features considered in the model, N f . Adding features to the model improved both metrics.
Figure 4 shows the ROC and PR curves for the repetition closest to the median performance. The AUROC and AUPRC increased a median of 2 and 1 points for t w = 2 min , showing that longer intervals improved the accuracy of the features in general and that of the spectral features in particular. The distributions of importance for each feature, depicted in Figure 5, show that most of the features had a positive importance and were relevant for the RF model. Features like v 20 , v 17 , v 7 , v 15 , or v 2 were in the top 10 when analyzed individually (see Table 2). Others, like v 16 , were relevant when combined with the rest in the predictive model and when considering a RF classifier instead of a cost-sensitive logistic regression classifier.
Table 3 shows the overall metrics for the RF classifier for the thresholds that maximized the F 1 score. Adding the ECG features, v 18 v 21 , to the HRV features significantly increased Se for both t w values ( p < 0.05 according to the Mann–Whitney test). For t w = 2 min the AUROC and AUPRC increased 2 points, and the Se almost 6 points, meaning that 20% of the missclassified RA cases would be correctly detected.

5. Discussion

The final objective of prehospital treatment of OHCA is to recover spontaneous pulse. However, many detrimental factors may induce a secondary cardiac arrest, or rearrest, before arrival to hospital. These rearrest events reduce the probability of survival to hospital discharge [7,8,25,26,27]. Currently, clinicians apply expert knowledge on scene to foresee if a patient who has achieved ROSC should be transported immediately, or if the patient requires longer on-site treatment. Defibrillators show physiologic signals on screen but do not provide tools to assist clinicians on the prediction of a secondary arrest. To the best of our knowledge, this study provides the first automated method based on the ECG to predict rearrest. This is important because the ECG is routinely recorded in all defibrillators. The method is based on a RF classifier using HRV features and ECG waveform features, and showed a Se and Sp of 67%.
Fluctuating heart rates are frequent in organized rhythms during cardiac arrest. When spontaneous circulation is restored the QRS complexes may still be irregular in morphology and rate. ECG features associated to the heart rate have been used to successfully predict time to RA [12], especially the standard deviation of the measured heart rate. The standard deviation of the RR intervals ( v 2 ) is a similar measure, and was also one of the most important features of the RF classifier. Moreover, v 2 alone showed a median AUROC of 66.2 (65.3–67.0) and median AUPPRC of 50.1 (49.3–50.7).
HRV features have been widely used in non-arrest situations to detect and predict cardiac arrhythmias [20,28,29]. They were originally designed to analyze long intervals, minutes, or even hours, in hemodynamically stable patients. Interestingly, in this study, HRV features have been proven to be good predictors of RA even with segments as short as t w = 1 min . The spectral HRV features showed better performance for t w = 2 min due the better resolution of the RR spectrum associated to longer analysis segments. We observed median increases of 1–2 points in the AUROC when the segment was increased from t w = 1 min to t w = 2 min .
In a post-cardiac arrest scenario, the patient may not be breathing spontaneously after ROSC, and rescuers should artificially ventilate the patient. This may cause reduced respiratory-related heart rate dynamics and may influence HRV features. However, more studies are needed to analyze the relationship between the HRV metrics and ventilation metrics of the patient.
During treatment of OHCA patients many rhythm transitions occur, such as from an initial ventricular fibrillation to recovery of spontaneous pulse. Many studies have focused on the analysis of the prevalence and the prediction of rhythm transitions [30,31], including the transition from ROSC to another cardiac rhythm, that is, rearrest. A short time predictor was proposed in [13] using features v 18 , v 19 , and v 21 to predict the rhythm in the next 3 s with an AUROC of 73. Our clinical context was different as we developed a model for patients that recovered a stable spontaneous pulse, and applied our model to predict a rearrest occurring on average 5 (6–7) min later. This is a much more challenging scenario, but of great clinical importance as it would allow clinicians to make more informed decision on transport to hospital after spontaneous pulse is recovered.
In this study, we also confirmed that the ECG waveform features significantly improved the performance of the RF model. Compared to the RF based exclusively on HRV features that we proposed in [14], the combination of HRV and ECG features improved the AUROC and AUPRC in 2 points when we increased the number of patients in the dataset by 65%. These are the first results of a machine learning solution to predict rearrest, and the RF model showed that including more features increased the accuracy of the method. The prediction of rearrest is a clinically important topic in OHCA treatment, and our results show that it is a challenging one. In the future, more sources of information available during treatment could be added to the models, including measures of the respiratory function (capnogram), cerebral state (cerebral oximetry or EEG-based bispectral analysis), or even blood pressure. These signals are not universal in OHCA treatment, but could be used to provide complementary information to that derived from HRV/ECG analysis.
The duration of the analysis interval of the ECG is important to predict rearrest. Our results showed that the performance improved when longer analysis windows were used, with differences of 2 points in AUROC when the duration of the analysis window was increased from 1 min to 2 min . In order to confirm that hypothesis, we replicated the analysis using the typical short window for HRV parameter calculations ( t w = 5 min ). This reduced the sample size to 98 (26 RA and 72 NoRA). In this subset the AUC when t w = 5 min was 8 points larger than for t w = 2 min . This shows that longer analysis intervals improve the accuracy for the prediction of rearrest. However, in an OHCA scenario, time to clinical decisions and interventions is critical for survival, so a trade-off must be found between the detection of critical situations (rearrest) and the time needed to identify those situations. Longer delays to transport the patient in sustained ROSC to a hospital for a percutaneous coronary intervention may substantially lower the probability of survival of the patient [32]. Consequently, short analysis intervals (if sufficient for a diagnosis) should always be adopted.
This study has several limitations. The first one is the small patient cohort (162 cases), which, albeit being the largest cohort studied to date for this purpose, is still insufficient to draw conclusive results. Further studies on larger cohorts are needed, based on the evidence provided in this study. Second, the interpretation of the HRV parameters in a cardiac arrest context is controversial. Our results show they convey important information on the prediction of rearrest, but their physiological interpretation as measures of how cardiac arrest affects the autonomic nervous system are unclear. Third, in OHCA, time constraints in clinical interventions are of life and death importance; this limits the time available for the decisions and thus the segment lengths to compute HRV metrics. Short segments under 5-min should be used to compute HRV metrics, which further complicates the accuracy and interpretability of these measures. Finally, the conditions in which the ECG is recorded in a prehospital setting (hygiene, electrode contact, movement, and interventions) make QRS detection and thus RR-series calculations more challenging than in controlled hospital or laboratory conditions.

6. Conclusions

A RF model to predict a secondary arrest in the out-of-hospital setting is proposed using only 1 or 2 min of ECG signal right after return of spontaneous circulation. This manuscript shows that ECG signal and HRV metrics contain information about rearrest events, further studies are needed to confirm and improve our results.

Author Contributions

A.E. and E.A. conceived and designed the study. A.E. programmed the experiments and obtained the results. E.A. and E.R. participated in the curation and annotation of datasets. E.A., E.R., and U.I. helped with the interpretation of the experiments. A.I. and H.W. provided the datasets from the defibrillators, and helped with the interpretation of the biomedical signals and the clinical information. All authors contributed to the writing of the manuscript. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the Spanish Ministerio de Ciencia, Innovación y Universidades through grant RTI2018-101475-BI00, jointly with the Fondo Europeo de Desarrollo Regional (FEDER), and by the Basque Government through grants IT1229-19, PRE_2019_2_0100 and PRE_2019_1_0262. A.I. receives research grants from the US National Institutes of Health (NIH).

Conflicts of Interest

The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
AUROCarea under ROC curve
AUPRCarea under PR curve
CPRcardiopulmonary resuscitation
ECGelectrocardiogram
HFhigh frequency
HRVheart rate variability
LFlow frequency
NoRAno rearrest
OHCAout-of-hospital cardiac arrest
PRprecision–recall
RArearrest
RFrandom forest
ROCreceiver operating characteristics
ROSCreturn of spontaneous circulation

References

  1. Atwood, C.; Eisenberg, M.S.; Herlitz, J.; Rea, T.D. Incidence of EMS-treated out-of-hospital cardiac arrest in Europe. Resuscitation 2005, 67, 75–80. [Google Scholar] [CrossRef]
  2. De Vreede-Swagemakers, J.J.; Gorgels, A.P.; Dubois-Arbouw, W.I.; Van Ree, J.W.; Daemen, M.J.; Houben, L.G.; Wellens, H.J. Out-of-hospital cardiac arrest in the 1990s: A population-based study in the Maastricht area on incidence, characteristics and survival. J. Am. Coll. Cardiol. 1997, 30, 1500–1505. [Google Scholar] [CrossRef] [Green Version]
  3. Myat, A.; Song, K.J.; Rea, T. Out-of-hospital cardiac arrest: Current concepts. Lancet 2018, 391, 970–979. [Google Scholar] [CrossRef]
  4. Valenzuela, T.D.; Roe, D.J.; Cretin, S.; Spaite, D.W.; Larsen, M.P. Estimating effectiveness of cardiac arrest interventions: A logistic regression survival model. Circulation 1997, 96, 3308–3313. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Waalewijn, R.A.; De Vos, R.; Tijssen, J.G.; Koster, R.W. Survival models for out-of-hospital cardiopulmonary resuscitation from the perspectives of the bystander, the first responder, and the paramedic. Resuscitation 2001, 51, 113–122. [Google Scholar] [CrossRef]
  6. Perkins, G.D.; Handley, A.J.; Koster, R.W.; Castrén, M.; Smyth, M.A.; Olasveengen, T.; Monsieurs, K.G.; Raffay, V.; Gräsner, J.T.; Wenzel, V.; et al. European Resuscitation Council Guidelines for Resuscitation 2015: Section 2. Adult basic life support and automated external defibrillation. Resuscitation 2015, 95, 81–99. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Brooke Lerner, E.; O’Connell, M.; Pirrallo, R.G. Rearrest after prehospital resuscitation. Prehospital Emerg. Care 2011, 15, 50–54. [Google Scholar] [CrossRef]
  8. Salcido, D.D.; Sundermann, M.L.; Koller, A.C.; Menegazzi, J.J. Incidence and outcomes of rearrest following out-of-hospital cardiac arrest. Resuscitation 2015, 86, 19–24. [Google Scholar] [CrossRef] [Green Version]
  9. Salcido, D.D.; Schmicker, R.H.; Kime, N.; Buick, J.E.; Cheskes, S.; Grunau, B.; Zellner, S.; Zive, D.; Aufderheide, T.P.; Koller, A.C.; et al. Effects of intra-resuscitation antiarrhythmic administration on rearrest occurrence and intra-resuscitation ECG characteristics in the ROC ALPS trial. Resuscitation 2018, 129, 6–12. [Google Scholar] [CrossRef] [PubMed]
  10. Bhardwaj, A.; Ikeda, D.J.; Grossestreuer, A.V.; Sheak, K.R.; Delfin, G.; Layden, T.; Abella, B.S.; Leary, M. Factors associated with re-arrest following initial resuscitation from cardiac arrest. Resuscitation 2017, 111, 90–95. [Google Scholar] [CrossRef]
  11. Vyas, A.; Chan, P.S.; Cram, P.; Nallamothu, B.K.; McNally, B.; Girotra, S. Early coronary angiography and survival after out-of-hospital cardiac arrest. Circ. Cardiovasc. Interv. 2015, 8, e002321. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Salcido, D.; Sundermann, M.; Koller, A.; Menegazzi, J. Towards predicting the time and rhythm of rearrest after out-of-hospital cardiac arrest. Resuscitation 2015, 96, 10. [Google Scholar] [CrossRef]
  13. Alonso, E.; Eftestøl, T.; Aramendi, E.; Kramer-Johansen, J.; Skogvoll, E.; Nordseth, T. Beyond ventricular fibrillation analysis: Comprehensive waveform analysis for all cardiac rhythms occurring during resuscitation. Resuscitation 2014, 85, 1541–1548. [Google Scholar] [CrossRef] [PubMed]
  14. Elola, A.; Rueda, E.; Amezaga, N.; Aramendi, E.; Irusta, U. Análisis de la Variabilidad del Ritmo Cardiaco para la Predicción de la Parada Cardiaca Extrahospitalaria Recurrente. In Proceedings of the Libro de actas, XXXVII Congreso Anual de la Sociedad Española de Ingeniería Biomédica, Santander, Spain, 27–29 November 2019; pp. 127–130. [Google Scholar]
  15. Hamilton, P.S.; Tompkins, W.J. Quantitative investigation of QRS detection rules using the MIT/BIH arrhythmia database. IEEE Trans. Biomed. Eng. 1986, 12, 1157–1165. [Google Scholar] [CrossRef]
  16. Shaffer, F.; Ginsberg, J. An overview of heart rate variability metrics and norms. Front. Public Health 2017, 5, 258. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Tateno, K.; Glass, L. Automatic detection of atrial fibrillation using the coefficient of variation and density histograms of RR and ΔRR intervals. Med. Biol. Eng. Comput. 2001, 39, 664–671. [Google Scholar] [CrossRef]
  18. VanderPlas, J.T. Understanding the lomb—Scargle periodogram. Astrophys. J. Suppl. Ser. 2018, 236, 16. [Google Scholar] [CrossRef]
  19. Richman, J.S.; Moorman, J.R. Physiological time-series analysis using approximate entropy and sample entropy. Am. J. Physiol. Heart Circ. Physiol. 2000, 278, H2039–H2049. [Google Scholar] [CrossRef] [Green Version]
  20. Zabihi, M.; Rad, A.B.; Katsaggelos, A.K.; Kiranyaz, S.; Narkilahti, S.; Gabbouj, M. Detection of atrial fibrillation in ECG hand-held devices using a random forest classifier. In Proceedings of the 2017 Computing in Cardiology (CinC), Rennes, France, 24–27 September 2017; IEEE: Piscataway, NJ, USA, 2017; pp. 1–4. [Google Scholar]
  21. Martínez, J.P.; Almeida, R.; Olmos, S.; Rocha, A.P.; Laguna, P. A wavelet-based ECG delineator: Evaluation on standard databases. IEEE Trans. Biomed. Eng. 2004, 51, 570–581. [Google Scholar] [CrossRef]
  22. Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Green Version]
  23. Li, Q.; Mark, R.G.; Clifford, G.D. Robust heart rate estimation from multiple asynchronous noisy sources using signal quality indices and a Kalman filter. Physiol. Meas. 2007, 29, 15. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  24. Zong, W.; Moody, G.; Jiang, D. A robust open-source algorithm to detect onset and duration of QRS complexes. In Proceedings of the Computers in Cardiology, Thessaloniki Chalkidiki, Greece, 21–24 September 2003; IEEE: Piscataway, NJ, USA, 2003; pp. 737–740. [Google Scholar]
  25. Salcido, D.D.; Stephenson, A.M.; Condle, J.P.; Callaway, C.W.; Menegazzi, J.J. Incidence of rearrest after return of spontaneous circulation in out-of-hospital cardiac arrest. Prehospital Emerg. Care 2010, 14, 413–418. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  26. Hartke, A.; Mumma, B.; Rittenberger, J.; Callaway, C.; Guyette, F. Incidence of re-arrest and critical events during prolonged transport of post-cardiac arrest patients. Resuscitation 2010, 81, 938–942. [Google Scholar] [CrossRef] [Green Version]
  27. Chestnut, J.M.; Kuklinski, A.A.; Stephens, S.W.; Wang, H.E. Cardiovascular collapse after return of spontaneous circulation in human out-of-hospital cardiopulmonary arrest. Emerg. Med. J. 2012, 29, 129–132. [Google Scholar] [CrossRef]
  28. Shao, M.; Bin, G.; Wu, S.; Bin, G.; Huang, J.; Zhou, Z. Detection of atrial fibrillation from ECG recordings using decision tree ensemble with multi-level features. Physiol. Meas. 2018, 39, 094008. [Google Scholar] [CrossRef] [PubMed]
  29. Owis, M.I.; Abou-Zied, A.H.; Youssef, A.B.; Kadah, Y.M. Study of features based on nonlinear dynamical modeling in ECG arrhythmia detection and classification. IEEE Trans. Biomed. Eng. 2002, 49, 733–736. [Google Scholar] [CrossRef] [PubMed]
  30. Skogvoll, E.; Eftestøl, T.; Gundersen, K.; Kvaløy, J.T.; Kramer-Johansen, J.; Olasveengen, T.M.; Steen, P.A. Dynamics and state transitions during resuscitation in out-of-hospital cardiac arrest. Resuscitation 2008, 78, 30–37. [Google Scholar] [CrossRef]
  31. Nordseth, T.; Bergum, D.; Edelson, D.P.; Olasveengen, T.M.; Eftestøl, T.; Wiseth, R.; Abella, B.S.; Skogvoll, E. Clinical state transitions during advanced life support (ALS) in in-hospital cardiac arrest. Resuscitation 2013, 84, 1238–1244. [Google Scholar] [CrossRef]
  32. Cournoyer, A.; Notebaert, É.; De Montigny, L.; Ross, D.; Cossette, S.; Londei-Leduc, L.; Iseppon, M.; Lamarche, Y.; Sokoloff, C.; Potter, B.J.; et al. Impact of the direct transfer to percutaneous coronary intervention-capable hospitals on survival to hospital discharge for patients with out-of-hospital cardiac arrest. Resuscitation 2018, 125, 28–33. [Google Scholar] [CrossRef]
Figure 1. Out-of-hospital cardiac arrest (OHCA) episode where the instant of return of spontaneous circulation (ROSC), t R O S C (s), is associated to the pulse generating rhythm (green), and rearrest (RA) occurs t R A (s) later when the rhythm degenerates into a pulseless activity and asystole (red). The segment of analysis is noted with a duration of t w (s).
Figure 1. Out-of-hospital cardiac arrest (OHCA) episode where the instant of return of spontaneous circulation (ROSC), t R O S C (s), is associated to the pulse generating rhythm (green), and rearrest (RA) occurs t R A (s) later when the rhythm degenerates into a pulseless activity and asystole (red). The segment of analysis is noted with a duration of t w (s).
Entropy 22 00758 g001
Figure 2. Signals corresponding to RA and no rearrest (NoRA) cases are plotted in panels (a,b), respectively. The ECG signal for t w = 1 min , the R R sequence, its power spectrum and and the Poincaré plot are shown.
Figure 2. Signals corresponding to RA and no rearrest (NoRA) cases are plotted in panels (a,b), respectively. The ECG signal for t w = 1 min , the R R sequence, its power spectrum and and the Poincaré plot are shown.
Entropy 22 00758 g002
Figure 3. AUROC and AUPRC for the random forest (RF) classifier in function of the number of features of the model, N f , for t w = 1 min and t w = 2 min .
Figure 3. AUROC and AUPRC for the random forest (RF) classifier in function of the number of features of the model, N f , for t w = 1 min and t w = 2 min .
Entropy 22 00758 g003
Figure 4. Receiver operating characteristics (ROC) and precision–recall (PR) curves for both values of t w . The repetition that was closest to the median AUROC or AUPRC was chosen to depict the curves. The AUROC and AUPRC increased from 67.0 to 69.3, and from 53.2 to 53.7, respectively, when t w = 2 min were considered.
Figure 4. Receiver operating characteristics (ROC) and precision–recall (PR) curves for both values of t w . The repetition that was closest to the median AUROC or AUPRC was chosen to depict the curves. The AUROC and AUPRC increased from 67.0 to 69.3, and from 53.2 to 53.7, respectively, when t w = 2 min were considered.
Entropy 22 00758 g004
Figure 5. Distributions of feature importances given by the RF classifier sorted by importance for t w = 1 min (blue) and t w = 2 min (red).
Figure 5. Distributions of feature importances given by the RF classifier sorted by importance for t w = 1 min (blue) and t w = 2 min (red).
Entropy 22 00758 g005
Table 1. Overview of the computed features.
Table 1. Overview of the computed features.
Time-domain HRV featuresNon-linear HRV features
   v 1 : Mean RR   v 14 : SD1 2
   v 2 : Standard deviation RR   v 15 : SD2 2
   v 3 : RMSSD   v 16 : SD1 2 /SD2 2
   v 4 : Coefficient of variation   v 17 : Sample entropy
   v 5 : nNN50Signal-level features
   v 6 : Interquartile range RR   v 18 : Centroid frequency
Frequency-domain HRV features   v 19 : Signal amplitude
   v 7 : LF absolute power   v 20 : Relative QRS power
   v 8 : LF relative power   v 21 : Standard deviation of QRS width
   v 9 : HF absolute power
   v 10 : HF relative power
   v 11 : LF/HF power
   v 12 : LF peak frequency
   v 13 : HF peak frequency
Table 2. Distributions of the values for the top 10 features, represented as median (IQR) for each class, and their median area under receiver operating characteristics curve (AUROC) and area under precision–recall curve (AUPRC) values. Results for t w = 1   min and t w = 2   min are shown.
Table 2. Distributions of the values for the top 10 features, represented as median (IQR) for each class, and their median area under receiver operating characteristics curve (AUROC) and area under precision–recall curve (AUPRC) values. Results for t w = 1   min and t w = 2   min are shown.
t w = 1 min t w = 2 min
FeatureNoRARAAUROCAUPRC FeatureNoRARAAUROCAUPRC
v 15 0.01 (0.02)0.03 (0.10)65.050.3 v 2 0.08 (0.12)0.21 (0.37)66.250.1
v 2 0.07 (0.10)0.15 (0.25)64.950.2 v 4 0.16 (0.19)0.29 (0.40)65.749.4
v 7 0.00 (0.00)0.00 (0.01)63.349.4 v 6 0.06 (0.11)0.14 (0.26)63.448.7
v 4 0.14 (0.17)0.23 (0.24)64.248.9 v 17 0.31 (0.45)0.18 (0.27)65.547.4
v 9 0.00 (0.00)0.01 (0.03)62.447.8 v 3 0.57 (0.23)0.71 (0.49)63.348.4
v 14 0.05 (0.06)0.09 (0.18)61.947.8 v 14 0.05 (0.09)0.11 (0.20)64.047.7
v 17 0.35 (0.51)0.20 (0.30)65.145.9 v 15 0.01 (0.02)0.05 (0.22)61.747.0
v 3 0.56 (0.26)0.68 (0.45)60.348.2 v 20 0.38 (0.20)0.28 (0.22)64.545.4
v 1 0.55 (0.24)0.63 (0.38)59.346.8 v 5 216 (81)180 (104)61.646.6
v 5 106 (45)93 (54)59.445.4 v 7 0.00 (0.00)0.01 (0.03)60.746.4
Table 3. Performance metrics for the RF model in median (IQR) using only the HRV features and using all the features for both interval analyses, t w = 1   min and t w = 2   min .
Table 3. Performance metrics for the RF model in median (IQR) using only the HRV features and using all the features for both interval analyses, t w = 1   min and t w = 2   min .
t w Se or Recall (%)Sp (%)Precision (%) F 1 (%)AUROCAUPRC
HRV features1 min57.3 (11.8)75.7 (14.5)54.5 (9.8)55.8 (2.8)65.4 (2.3)51.2 (2.9)
2 min61.8 (6.4)72.9 (6.1)54.4 (4.6)57.6 (2.0)67.3 (2.0)50.7 (2.7)
All features1 min63.6 (15.5)69.2 (20.6)51.5 (10.0)55.4 (3.1)66.2 (2.2)52.0 (2.6)
2 min67.3 (9.1)67.3 (10.3)51.4 (5.3)57.9 (1.7)69.2 (1.6)53.1 (3.0)

Share and Cite

MDPI and ACS Style

Elola, A.; Aramendi, E.; Rueda, E.; Irusta, U.; Wang, H.; Idris, A. Towards the Prediction of Rearrest during Out-of-Hospital Cardiac Arrest. Entropy 2020, 22, 758. https://0-doi-org.brum.beds.ac.uk/10.3390/e22070758

AMA Style

Elola A, Aramendi E, Rueda E, Irusta U, Wang H, Idris A. Towards the Prediction of Rearrest during Out-of-Hospital Cardiac Arrest. Entropy. 2020; 22(7):758. https://0-doi-org.brum.beds.ac.uk/10.3390/e22070758

Chicago/Turabian Style

Elola, Andoni, Elisabete Aramendi, Enrique Rueda, Unai Irusta, Henry Wang, and Ahamed Idris. 2020. "Towards the Prediction of Rearrest during Out-of-Hospital Cardiac Arrest" Entropy 22, no. 7: 758. https://0-doi-org.brum.beds.ac.uk/10.3390/e22070758

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