SCP、DICOM、HL7aECG、GDF格式及对比
本文档首先给出SCP、DICOM、HL7aECG、GDF四种心电信号格式的具体数据结构,然后分析其各自的特点及适用范围。
一、SCP-ECG format
这种格式是专门针对ECG数据的标准格式,其中包含了ECG数据波形,患者信息,
ECG采集信息以及测量诊断信息等丰富内容。
SCP-ECG格式主要分为Title(2 bytes for CRC-checksum and 4 bytes for size of ECG record)和Section0-Section11两部分。其中Title,Section0,Section1是必须有的,其他部分则是可选的。
具体数据结构如下:
Table 1. Structure of SCP-ECG records.
Mandatory |
2 bytes - checksum - crc -CCITT over the entire record (excluding this word) |
Mandatory |
4 bytes - (unsigned) size of the entire ecg record (in bytes) |
Mandatory |
(Section 0) pointers to data-areas in the record |
Mandatory |
(Section 1) header information - patient data/ecg acquisition data |
Optional |
(Section 2) huffman tables used in encoding of ecg data (if used) |
Optional |
(Section 3) ecg lead definition |
Optional |
(Section 4) QRS locations (if reference beats are encoded) |