Database Open Access

A large scale 12-lead electrocardiogram database for arrhythmia study

Jianwei Zheng Hangyuan Guo Huimin Chu

Published: Aug. 24, 2022. Version: 1.0.0


When using this resource, please cite: (show more options)
Zheng, J., Guo, H., & Chu, H. (2022). A large scale 12-lead electrocardiogram database for arrhythmia study (version 1.0.0). PhysioNet. https://doi.org/10.13026/wgex-er52.

Additionally, please cite the original publication:

Zheng, J., Chu, H., Struppa, D., Zhang, J., Yacoub, S.M., El-Askary, H., Chang, A., Ehwerhemuepha, L., Abudayyeh, I., Barrett, A.S., Fu, G., Yao, H., Li, D., Guo, H., & Rakovski, C. (2020). Optimal Multi-Stage Arrhythmia Classification Approach. Scientific Reports, 10.

Please include the standard citation for PhysioNet: (show more options)
Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., ... & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.

Abstract

This newly inaugurated research database for 12-lead electrocardiogram (ECG) signals was created under the auspices of Chapman University, Shaoxing People’s Hospital (Shaoxing Hospital Zhejiang University School of Medicine), and Ningbo First Hospital. It aims to enable the scientific community in conducting new studies on arrhythmia and other cardiovascular conditions. Certain types of arrhythmias, such as atrial fibrillation, have a pronounced negative impact on public health, quality of life, and medical expenditures. As a non-invasive test, ECG is a major and vital diagnostic tool for detecting these conditions. This practice, however, generates large amounts of data, the analysis of which requires considerable time and effort by human experts. Modern machine learning and statistical tools can be trained on high quality, large data to achieve exceptional levels of automated diagnostic accuracy. Thus, we collected and disseminated this novel database that contains 12-lead ECGs of 45,152 patients with a 500 Hz sampling rate that features multiple common rhythms and additional cardiovascular conditions, all labeled by professional experts. The dataset can be used to design, compare, and fine-tune new and classical statistical and machine learning techniques in studies focused on arrhythmia and other cardiovascular conditions.


Background

An ECG is a graph depicting voltage with respect to time that reflects the electrical activities of cardiac muscle depolarization followed by repolarization during each heartbeat[1]. The ECG graph of a normal beat consists of a sequence of waves, a P-wave presenting the atrial depolarization process, a QRS complex denoting the ventricular depolarization process, and a T-wave representing the ventricular repolarization. Other portions of the signal include the PR, ST, and QT intervals. Arrhythmias represent a family of cardiac conditions characterized by irregularities in the rate or rhythm of heartbeats. There are several dozen such classes with various distinct manifestations, such as sinus bradycardia (SB), atrial tachycardia (AT), premature ventricular contraction (PVC), and other irregular rhythms with missing or distorted wave segments and intervals. The most common and pernicious arrhythmia type is atrial fibrillation (AFIB). It is associated with a significant increase in the risk of severe cardiac dysfunction and stroke.

According to the current screening and diagnostic practices, either cardiologists or physicians review ECG data, establish the correct diagnosis, and begin implementing subsequent treatment plans such as medication regime and radiofrequency catheter ablation. However, the demand for high accuracy automatic heart condition diagnoses has recently increased sharply in parallel with the public health policy of implementing wider screening procedures and the adoption of ECG-enabled wearable devices. Such classification methods require large-size data that contain all prevalent types of conditions for algorithm training purposes. For instance, this database was used to train a supervised machine learning algorithm to classify four major rhythms[2].


Methods

All of the data was acquired in five stages. First, each subject underwent a 12-lead resting ECG test that was taken over a period of 10 seconds. The data was stored into the GE MUSE ECG system. Second, a licensed physician labeled the rhythm and other cardiac conditions. Another licensed physician performed a secondary validation. If there was a disagreement, a senior physician intervened and made a final decision. There are labels of each subject’s rhythm and other conditions such as PVC, right bundle branch block (RBBB), left bundle branch block (LBBB), and atrial premature beat (APB). These additional conditions were applied to the entire sample rather than to specified beats in the 10-second reading. The final diagnoses were stored in the MUSE ECG system as well. Third, ECG data and diagnostic information were exported from the GE MUSE system to XML files that were encoded with a specific naming conversion defined by General Electric (GE). Fourthly, we developed a converting tool to extract ECG data and diagnostic information from the XML file and transfer them to CSV format. In doing so, we referred to the work of Maarten J.B. van Ettinger[3]. Finally, the CSV files were converted to WFDB format.


Data Description

This database consists of 45,152 patient ECGs. The number of volts per A/D bit is 4.88, and A/D converter had 32-bit resolution. The amplitude unit was microvolt. The upper limit was 32,767, and the lower limit was −32,768. The institutional review board of Shaoxing People’s Hospital and Ningbo First Hospital approved this study, granted the waiver application to obtain informed consent, and allowed the data to be shared publicly after de-identification.

CSV Format Data

Initially, the part of this database (10,646 patient) was shared at figshare[4] and it consists of four parts: raw ECG data, denoised ECG data, diagnoses file, and attributes dictionary file. For each subject, the raw ECG data was saved as a single CSV file, and all denoised ECG data were saved under the same name CSV file, but in a different file folder. Also, each CSV file mentioned above contains 5000 rows and 12 columns with header names presenting the ECG lead. These CSV files are named by unique IDs. These IDs were also saved in the diagnostics file with the attributes name FileName. The diagnoses file contains all the diagnoses information for each subject including filename, rhythm, other conditions, patient age, gender, and other ECG summary attributes (acquired from GE MUSE system).

WFDB Format Data

Finally, we moved the data shared at Firgshare to Physionet repository and increased the ECG recording size to 45,152. In addition, the ECG recording format was changed to WFDB format. In the WFDB-format every ECG is represented by a tuple of two files, a mat-file containing the binary raw data and a corresponding header file with the same name and hea-extension. The head file contained annotation information including lead configuration, age, gender, and SNOMED CT code. The file ConditionNames_SNOMED-CT.xlsx presented the mapping between original letter labels and SNOMED CT code. The above settings are designed to keep consistency with other databases used for the PhysioNet/Computing in Cardiology Challenge 2021[5].


Usage Notes

All recordings are organized in two levels folder directory under the WFDBRecords folder. The first level directory contains 46 folders and each one has 10 subfolders. Each subfolder contains 100 ECG recorders and each recorder consists of a header file (.hea) and a data file (.mat). In the data collection stage, we recommend the C# ECG Toolkit that is an open-source software to convert, view and print electrocardiograms [3]. We suggest the use of Matlab or Python to carry out the denoising step of the analysis. In the feature extraction step, BioSPPy [6] is recommended to extract general ECG summary features such as QRS count, R wave location, etc. The source code of the converter tool that transfers ECG data files from XML format to CSV format can be found at the Github repository [7], which contains binary executable files, source code, and a user manual. Both the MATLAB [8] and Python version programs for ECG noise reduction are available at the Github repository[9].


Release Notes

1.0.0 Initial release of the dataset.


Ethics

The institutional review board of Shaoxing People’s Hospital approved this study, granted the waiver application to obtain informed consent, and allowed the data to be shared publicly after de-identification.

The institutional review board of Ningbo First Hospital of Zhejiang University approved this study and allowed the data to be shared publicly after de-identification. The requirement for patient consent was waived.


Acknowledgements

This project has received funding from the Kay Family Foundation Data Analytic Grant. This project has received funding from 2018 Shaoxing Medical and Hygiene Research Grant, ID 2018C30070. We are grateful for the support of Shaoxing People’s Hospital (Shaoxing Hospital Zhejiang University School of Medicine) ECG department. Kyle Anderson from Chapman University provided great comments and suggestions for this study. We are grateful for the medical device support from Zhejiang Cachet Jetboom Medical Devices CO.LTD. We received the software engineering support provided by Kelvin Zheng and Terence Wang from Global Customer Support of Schneider Electric Software.


Conflicts of Interest

The authors declare no competing interests.


References

  1. Zheng, J., Zhang, J., Danioko, S., Yao, H., Guo, H., & Rakovski, C. (2020). A 12-lead electrocardiogram database for arrhythmia research covering more than 10,000 patients. Scientific data, 7(1), 48. https://doi.org/10.1038/s41597-020-0386-x
  2. Zheng, J., Chu, H., Struppa, D. et al. Optimal Multi-Stage Arrhythmia Classification Approach. Sci Rep 10, 2898 (2020). https://doi.org/10.1038/s41598-020-59821-7
  3. https://sourceforge.net/projects/ecgtoolkit-cs/ Accessed on [8-10-2022]
  4. https://doi.org/10.6084/m9.figshare.c.4560497.v2
  5. physionetchallenges.org/2021/
  6. github.com/PIA-Group/BioSPPy/ Accessed on [8-10-2022]
  7. github.com/zheng120/ECGConverter Accessed on [8-10-2022]
  8. www.mathworks.com/ Accessed on [8-10-2022]
  9. github.com/zheng120/ECGDenoisingTool Accessed on [8-10-2022]

Share
Access

Access Policy:
Anyone can access the files, as long as they conform to the terms of the specified license.

License (for files):
Creative Commons Attribution 4.0 International Public License

Discovery

DOI (version 1.0.0):
https://doi.org/10.13026/wgex-er52

DOI (latest version):
https://doi.org/10.13026/92ks-sq55

Corresponding Author
You must be logged in to view the contact information.

Files

Total uncompressed size: 5.1 GB.

Access the files

Visualize waveforms

Folder Navigation: <base>/WFDBRecords/12/125
Name Size Modified
Parent Directory
JS11900.hea (download) 676 B 2022-06-28
JS11900.mat (download) 117.2 KB 2022-06-28
JS11901.hea (download) 688 B 2022-06-28
JS11901.mat (download) 117.2 KB 2022-06-28
JS11902.hea (download) 697 B 2022-06-28
JS11902.mat (download) 117.2 KB 2022-06-28
JS11903.hea (download) 681 B 2022-06-28
JS11903.mat (download) 117.2 KB 2022-06-28
JS11904.hea (download) 684 B 2022-06-28
JS11904.mat (download) 117.2 KB 2022-06-28
JS11905.hea (download) 678 B 2022-06-28
JS11905.mat (download) 117.2 KB 2022-06-28
JS11906.hea (download) 681 B 2022-06-28
JS11906.mat (download) 117.2 KB 2022-06-28
JS11907.hea (download) 672 B 2022-06-28
JS11907.mat (download) 117.2 KB 2022-06-28
JS11908.hea (download) 691 B 2022-06-28
JS11908.mat (download) 117.2 KB 2022-06-28
JS11909.hea (download) 676 B 2022-06-28
JS11909.mat (download) 117.2 KB 2022-06-28
JS11910.hea (download) 679 B 2022-06-28
JS11910.mat (download) 117.2 KB 2022-06-28
JS11911.hea (download) 686 B 2022-06-28
JS11911.mat (download) 117.2 KB 2022-06-28
JS11912.hea (download) 672 B 2022-06-28
JS11912.mat (download) 117.2 KB 2022-06-28
JS11913.hea (download) 678 B 2022-06-28
JS11913.mat (download) 117.2 KB 2022-06-28
JS11914.hea (download) 673 B 2022-06-28
JS11914.mat (download) 117.2 KB 2022-06-28
JS11915.hea (download) 688 B 2022-06-28
JS11915.mat (download) 117.2 KB 2022-06-28
JS11916.hea (download) 690 B 2022-06-28
JS11916.mat (download) 117.2 KB 2022-06-28
JS11917.hea (download) 678 B 2022-06-28
JS11917.mat (download) 117.2 KB 2022-06-28
JS11918.hea (download) 678 B 2022-06-28
JS11918.mat (download) 117.2 KB 2022-06-28
JS11919.hea (download) 674 B 2022-06-28
JS11919.mat (download) 117.2 KB 2022-06-28
JS11920.hea (download) 687 B 2022-06-28
JS11920.mat (download) 117.2 KB 2022-06-28
JS11921.hea (download) 681 B 2022-06-28
JS11921.mat (download) 117.2 KB 2022-06-28
JS11922.hea (download) 675 B 2022-06-28
JS11922.mat (download) 117.2 KB 2022-06-28
JS11923.hea (download) 678 B 2022-06-28
JS11923.mat (download) 117.2 KB 2022-06-28
JS11924.hea (download) 697 B 2022-06-28
JS11924.mat (download) 117.2 KB 2022-06-28
JS11925.hea (download) 699 B 2022-06-28
JS11925.mat (download) 117.2 KB 2022-06-28
JS11926.hea (download) 678 B 2022-06-28
JS11926.mat (download) 117.2 KB 2022-06-28
JS11927.hea (download) 694 B 2022-06-28
JS11927.mat (download) 117.2 KB 2022-06-28
JS11928.hea (download) 680 B 2022-06-28
JS11928.mat (download) 117.2 KB 2022-06-28
JS11929.hea (download) 694 B 2022-06-28
JS11929.mat (download) 117.2 KB 2022-06-28
JS11930.hea (download) 672 B 2022-06-28
JS11930.mat (download) 117.2 KB 2022-06-28
JS11931.hea (download) 683 B 2022-06-28
JS11931.mat (download) 117.2 KB 2022-06-28
JS11932.hea (download) 686 B 2022-06-28
JS11932.mat (download) 117.2 KB 2022-06-28
JS11933.hea (download) 692 B 2022-06-28
JS11933.mat (download) 117.2 KB 2022-06-28
JS11934.hea (download) 682 B 2022-06-28
JS11934.mat (download) 117.2 KB 2022-06-28
JS11935.hea (download) 672 B 2022-06-28
JS11935.mat (download) 117.2 KB 2022-06-28
JS11936.hea (download) 684 B 2022-06-28
JS11936.mat (download) 117.2 KB 2022-06-28
JS11937.hea (download) 687 B 2022-06-28
JS11937.mat (download) 117.2 KB 2022-06-28
JS11938.hea (download) 702 B 2022-06-28
JS11938.mat (download) 117.2 KB 2022-06-28
JS11939.hea (download) 680 B 2022-06-28
JS11939.mat (download) 117.2 KB 2022-06-28
JS11940.hea (download) 695 B 2022-06-28
JS11940.mat (download) 117.2 KB 2022-06-28
JS11941.hea (download) 691 B 2022-06-28
JS11941.mat (download) 117.2 KB 2022-06-28
JS11942.hea (download) 692 B 2022-06-28
JS11942.mat (download) 117.2 KB 2022-06-28
JS11943.hea (download) 680 B 2022-06-28
JS11943.mat (download) 117.2 KB 2022-06-28
JS11944.hea (download) 678 B 2022-06-28
JS11944.mat (download) 117.2 KB 2022-06-28
JS11945.hea (download) 698 B 2022-06-28
JS11945.mat (download) 117.2 KB 2022-06-28
JS11946.hea (download) 680 B 2022-06-28
JS11946.mat (download) 117.2 KB 2022-06-28
JS11947.hea (download) 682 B 2022-06-28
JS11947.mat (download) 117.2 KB 2022-06-28
JS11948.hea (download) 679 B 2022-06-28
JS11948.mat (download) 117.2 KB 2022-06-28
JS11949.hea (download) 681 B 2022-06-28
JS11949.mat (download) 117.2 KB 2022-06-28
JS11950.hea (download) 679 B 2022-06-28
JS11950.mat (download) 117.2 KB 2022-06-28
JS11951.hea (download) 696 B 2022-06-28
JS11951.mat (download) 117.2 KB 2022-06-28
JS11952.hea (download) 673 B 2022-06-28
JS11952.mat (download) 117.2 KB 2022-06-28
JS11953.hea (download) 680 B 2022-06-28
JS11953.mat (download) 117.2 KB 2022-06-28
JS11954.hea (download) 684 B 2022-06-28
JS11954.mat (download) 117.2 KB 2022-06-28
JS11955.hea (download) 704 B 2022-06-28
JS11955.mat (download) 117.2 KB 2022-06-28
JS11956.hea (download) 679 B 2022-06-28
JS11956.mat (download) 117.2 KB 2022-06-28
JS11957.hea (download) 697 B 2022-06-28
JS11957.mat (download) 117.2 KB 2022-06-28
JS11958.hea (download) 682 B 2022-06-28
JS11958.mat (download) 117.2 KB 2022-06-28
JS11959.hea (download) 681 B 2022-06-28
JS11959.mat (download) 117.2 KB 2022-06-28
JS11960.hea (download) 679 B 2022-06-28
JS11960.mat (download) 117.2 KB 2022-06-28
JS11961.hea (download) 689 B 2022-06-28
JS11961.mat (download) 117.2 KB 2022-06-28
JS11962.hea (download) 679 B 2022-06-28
JS11962.mat (download) 117.2 KB 2022-06-28
JS11963.hea (download) 691 B 2022-06-28
JS11963.mat (download) 117.2 KB 2022-06-28
JS11964.hea (download) 718 B 2022-06-28
JS11964.mat (download) 117.2 KB 2022-06-28
JS11965.hea (download) 722 B 2022-06-28
JS11965.mat (download) 117.2 KB 2022-06-28
JS11966.hea (download) 677 B 2022-06-28
JS11966.mat (download) 117.2 KB 2022-06-28
JS11967.hea (download) 703 B 2022-06-28
JS11967.mat (download) 117.2 KB 2022-06-28
JS11968.hea (download) 678 B 2022-06-28
JS11968.mat (download) 117.2 KB 2022-06-28
JS11969.hea (download) 702 B 2022-06-28
JS11969.mat (download) 117.2 KB 2022-06-28
JS11970.hea (download) 691 B 2022-06-28
JS11970.mat (download) 117.2 KB 2022-06-28
JS11971.hea (download) 689 B 2022-06-28
JS11971.mat (download) 117.2 KB 2022-06-28
JS11972.hea (download) 686 B 2022-06-28
JS11972.mat (download) 117.2 KB 2022-06-28
JS11973.hea (download) 679 B 2022-06-28
JS11973.mat (download) 117.2 KB 2022-06-28
JS11974.hea (download) 681 B 2022-06-28
JS11974.mat (download) 117.2 KB 2022-06-28
JS11975.hea (download) 687 B 2022-06-28
JS11975.mat (download) 117.2 KB 2022-06-28
JS11976.hea (download) 681 B 2022-06-28
JS11976.mat (download) 117.2 KB 2022-06-28
JS11977.hea (download) 677 B 2022-06-28
JS11977.mat (download) 117.2 KB 2022-06-28
JS11978.hea (download) 692 B 2022-06-28
JS11978.mat (download) 117.2 KB 2022-06-28
JS11979.hea (download) 675 B 2022-06-28
JS11979.mat (download) 117.2 KB 2022-06-28
JS11980.hea (download) 691 B 2022-06-28
JS11980.mat (download) 117.2 KB 2022-06-28
JS11981.hea (download) 687 B 2022-06-28
JS11981.mat (download) 117.2 KB 2022-06-28
JS11982.hea (download) 697 B 2022-06-28
JS11982.mat (download) 117.2 KB 2022-06-28
JS11983.hea (download) 682 B 2022-06-28
JS11983.mat (download) 117.2 KB 2022-06-28
JS11984.hea (download) 679 B 2022-06-28
JS11984.mat (download) 117.2 KB 2022-06-28
JS11985.hea (download) 674 B 2022-06-28
JS11985.mat (download) 117.2 KB 2022-06-28
JS11986.hea (download) 690 B 2022-06-28
JS11986.mat (download) 117.2 KB 2022-06-28
JS11987.hea (download) 679 B 2022-06-28
JS11987.mat (download) 117.2 KB 2022-06-28
JS11988.hea (download) 677 B 2022-06-28
JS11988.mat (download) 117.2 KB 2022-06-28
JS11989.hea (download) 690 B 2022-06-28
JS11989.mat (download) 117.2 KB 2022-06-28
JS11990.hea (download) 685 B 2022-06-28
JS11990.mat (download) 117.2 KB 2022-06-28
JS11991.hea (download) 673 B 2022-06-28
JS11991.mat (download) 117.2 KB 2022-06-28
JS11992.hea (download) 675 B 2022-06-28
JS11992.mat (download) 117.2 KB 2022-06-28
JS11993.hea (download) 697 B 2022-06-28
JS11993.mat (download) 117.2 KB 2022-06-28
JS11994.hea (download) 690 B 2022-06-28
JS11994.mat (download) 117.2 KB 2022-06-28
JS11995.hea (download) 683 B 2022-06-28
JS11995.mat (download) 117.2 KB 2022-06-28
JS11996.hea (download) 697 B 2022-06-28
JS11996.mat (download) 117.2 KB 2022-06-28
JS11997.hea (download) 676 B 2022-06-28
JS11997.mat (download) 117.2 KB 2022-06-28
JS11998.hea (download) 698 B 2022-06-28
JS11998.mat (download) 117.2 KB 2022-06-28
JS11999.hea (download) 677 B 2022-06-28
JS11999.mat (download) 117.2 KB 2022-06-28
RECORDS (download) 800 B 2022-07-26