“…ECG signals were sampled at a rate of 125 Hz and the processing of raw data to obtain the HRV parameters was done using the LABVIEW (Version 8.6, National Instruments, Austin, TX, USA) interface embedded with MATLAB (R2009a, The MathWorks, Natick, MA, USA) scripts. A detailed description of data acquisition and signal processing can be found in our previous works [15], [19], in which a threshold-plus-derivative method was used to detect the QRS complexes, and all ectopic and nonsinus beats were excluded in accordance with the guidelines outlined by the Task Force of the European Society of Cardiology and the North American Society of Pacing and Electrophysiology [20]. In this study, a total of 16 time domain and frequency domain HRV parameters were derived, which are elaborated in Table I. The 12-lead ECG was also measured at the ED with PageWriter TC Series Cardiograph (Philips, Amsterdam, Netherlands) and parameters were either automatically derived by the device or manually calculated by a doctor.…”