Table 7.
The description of ecgML: Waveforms element
| Waveforms | A 2-D plot with an X and Y axis is used to display the ECG waveform data. Refer to FDA XML Data Format Design Specification (revision C). | |||
| Element/attribute | Description/Origin | Required | Values/Data Type | Example |
| XValues | Describe the X-axis domain | |||
| XOffset | Offset from the StartTime. | Required | time | 00:23:10 |
| Duration | Duration of the each record. | Required | time | 00:00:10 |
| SampleRate | Sample rate in Hz for ECG records. | Required | unsignedInt | 500 |
| YValues | Describe the Y-axis domain. | |||
| unit | Name of base unit for Y-axis. | Required | Use UCUM when appropriate. | mV |
| FileLink | A reference to an external file storing ECG data. | Optional | string | |
| RealValue | A list of actual value of ECG data | |||
| From | Offset from the origin of the x axis to the beginning of waveform | Required | time or samples | 20:00:00 |
| To | Offset from the origin of the x axis to the ending of waveform | Required | time or samples | 21:00:04 |
| Data | The list of Y values separated by white space | Required | A list of float values | 1.25 2.23 3.2 |
| Comment | Comments on the format, e.g. separated by a specific delimiter | Optional | string | separated by white spaces |
| Binary Data | Binary representation of ECG data | |||
| encoding | Encoding scheme for embedding the binary data within XML document | Required | Base64/Hexidecimal | Base64 |
| From | Offset from the origin of the x axis to the beginning of waveform | Required | time or samples | 00:00:00 |
| To | Offset from the origin of the x axis to the ending of waveform | Required | time or samples | 12:00:04 |
| Scale | Scale factor to use to convert a binary data into a real value | Required | float | 1.0 |
| Data | Encoded binary ECG data | Required | string | A923B420 |