a b/european-st-t-database-1.0.0/annotations.shtml
1
<!--#set var="TITLE" value="Annotations in the European ST-T Database"-->
2
<!--#set var="USELOCALCSS" value="1"-->
3
<!--#include virtual="/head.shtml"-->
4
5
6
<p>
7
An initial set of beat labels was produced by a slope-sensitive QRS detector,
8
which marked each detected event as a normal beat.  Each two-hour, two-channel
9
ECG record was printed out in full disclosure format, each page two minutes
10
in duration, with the addition of QRS detection marks, trend plots of ST
11
segment displacement and T-wave amplitude (measured for each beat), and boxes
12
for checking annotation operations.  For each record, two cardiologists
13
(neither of whom was a member of the research group which had submitted the
14
record) were given copies of the full-disclosure printout, trend plots of
15
mean heart rate and ST-T parameters at 10-second intervals, and record-specific
16
transparent plastic rulers for measuring time intervals and ECG signal
17
displacements.  A heart rate scale and a two-channel
18
<a href=#reference-beat>reference QRST complex</a>
19
(taken from the first 30 seconds of each record) were printed on each ruler.</p>
20
21
<p>
22
Working independently, the cardiologist-annotators visually checked the
23
computer-generated beat labels on the full-disclosure printouts and manually
24
corrected them, and inserted annotations indicating changes in ST and T
25
morphology, rhythm, and signal quality.  Annotations from the two cardiologists
26
were compared and the differences were resolved by a cardiologist of the
27
coordinating group.  This method assumes that the third cardiologist is able
28
to make a more reliable judgement since he knows both sets of annotations.</p>
29
30
<h2>Definition of ST and T episodes</h2>
31
32
<p>
33
The cardiologists participating in the project jointly defined and followed
34
a set of rules for locating <i>ST episodes</i> and <i>T episodes</i> (i.e.,
35
intervals during which the ECG exhibits significant ST segment or T-wave
36
changes).  To identify and annotate an ST episode, these criteria were
37
applied:</p>
38
39
<ul>
40
<li> <i>ST segment deviations</i> are measured relative to a reference
41
waveform for each subject (usually selected from the first 30 seconds of
42
each record).  Measurements of ST segment deviation are taken 80 milliseconds
43
after the J point if the heart rate does not exceed 120 bpm, and 60
44
milliseconds after the J point otherwise.</li>
45
46
<li> <i>ST episodes</i> must contain an interval of at least 30 seconds during
47
which the absolute value of the ST deviation is no less than 0.1 millivolt
48
(mV).</li>
49
50
<li> The <i>beginning</i> of each ST episode is annotated.  The beginning is
51
located by searching backward from the time at which the absolute ST deviation
52
first exceeds 0.1 mV.  The search continues until a beat is found for which
53
the absolute ST deviation is less than 0.05 mV, and for which the absolute
54
ST deviation is less than 0.1 mV throughout the previous 30 seconds.  An
55
ST change annotation which indicates the beginning of the episode is placed
56
immediately following this beat.</li>
57
58
<li> The <i>peak</i> (i.e., the greatest deviation, positive or negative) of
59
each ST episode is annotated.  An ST change annotation is placed before the
60
beat judged to exhibit the greatest ST deviation;  this annotation contains
61
a manual measurement of the peak ST deviation.</li>
62
63
<li> The <i>end</i> of each ST episode is annotated.  The end is
64
located by searching forward from the time at which the absolute ST deviation
65
last exceeds 0.1 mV.  The search continues until a beat is found for which
66
the absolute ST deviation is less than 0.05 mV, and for which the absolute
67
ST deviation is less than 0.1 mV throughout the following 30 seconds.  An
68
ST change annotation which indicates the end of the episode is placed
69
immediately before this beat.</li>
70
</ul>
71
72
<p>To identify and annotate a T episode, similar criteria were applied:</p>
73
74
<ul>
75
<li> <i>T deviations</i> are measured relative to the same reference
76
waveform which is used for measuring ST deviations.  The quantity
77
<i>A<sub><font size=-1>T</font></sub></i> is defined as the amplitude
78
of the dominant phase of the T-wave, measured relative to baseline (at
79
the PQ junction); if the T-wave is inverted, or if the dominant phase
80
of a biphasic T-wave is below the baseline, <i>A<sub><font
81
size=-1>T</font></sub></i> is negative.  The T deviation is defined as
82
the difference (positive or negative) between the values of
83
<i>A<sub><font size=-1>T</font></sub></i> for the current waveform and
84
for the reference waveform.</li>
85
86
<li> <i>T episodes</i> must contain an interval of at least 30 seconds during
87
which the absolute value of the T deviation is no less than 0.2 mV.</li>
88
89
<li> The <i>beginning</i> of each T episode is annotated.  The beginning is
90
located by searching backward from the time at which the absolute T deviation
91
first exceeds 0.2 mV.  When an interval of at least 30 seconds is found in
92
which the absolute T deviation does not exceed 0.2 mV, the end of that interval
93
defines the beginning of the episode.  A T change annotation is placed before
94
the first beat of the episode.</li>
95
96
<li> The <i>peak</i> (i.e., the greatest deviation, positive or negative) of
97
each T episode is annotated.  A T change annotation is placed before the
98
beat judged to exhibit the greatest T deviation;  this annotation contains
99
a manual measurement of the peak T deviation.</li>
100
101
<li> The <i>end</i> of each T episode is annotated.  The end is
102
located by searching forward from the time at which the absolute T
103
deviation last exceeds 0.2 mV.  When an interval of at least 30
104
seconds is found in which the absolute T deviation does not exceed 0.2
105
mV, the beginning of that interval defines the end of the episode.  A
106
T change annotation is placed after the last beat of the episode.</li>
107
108
<li> Within T episodes which contain absolute T deviations exceeding 0.4 mV,
109
additional T change annotations are placed whenever the absolute T deviation
110
crosses the 0.4 mV threshold value which defines <i>extreme T deviations</i>.
111
These additional T change annotations indicate the beginning and end of each
112
such interval of extreme T deviation.</li>
113
</ul>
114
115
<p>
116
These rules were applied to each of the two signals independently;  for this
117
reason, each ST and T change annotation indicates the signal to which it
118
applies.</p>
119
120
<p>
121
Each ST and T change annotation contains a text field which describes its
122
significance.  The text field contains characters which identify the episode
123
type ('ST' or 'T'), the signal number ('0' or '1'), and the direction of the
124
deviation ('+' or '-';  extreme T deviations are signified by '++' and '--').
125
The text field of an annotation which marks the beginning of an episode
126
contains a '(' prefix.  For an annotation which marks the end of an episode,
127
there is a prefixed 'A' and an appended 3- or 4-digit decimal number which
128
expresses the magnitude of the peak deviation in microvolts.  An annotation
129
which marks the end of an episode has a ')' appended to the end of its text
130
field.  For example, an episode of ST depression in signal 0 with a peak
131
(absolute) deviation of 200 microvolts would be marked by three annotations,
132
with text fields of '(ST0-', 'AST0-200', and 'ST0-)'.</li>
133
134
<p>
135
In six records (e0161, e0509, e0601, e0611, e0613, and e0615), axis shifts
136
resulting from positional change give the appearance of real ST or T changes.
137
These axis shifts are annotated using comment annotations.  The text fields
138
of these annotations are constructed in the same way as for ST and T change
139
annotations, except that lower-case characters are used in order to make it
140
easier to distinguish these axis shift episodes from real ST or T change
141
episodes.  For example, an axis shift in signal 1 which gives the appearance
142
of a peak T deviation of 350 microvolts would be marked by three annotations,
143
with text fields of '(t1+', 'at1+350', and 't1+)'.</li>
144
145
<h3>Annotation types</h3>
146
147
<p>
148
The following types of annotations appear in the European ST-T Database
149
reference (<tt>.atr</tt>) annotation files.  The <b>Code</b> column shows
150
the symbols defined in
151
<a href="/physiotools/wfdb/lib/ecgcodes.h">ecgcodes.h</a>, and the
152
<b>Mnemonic</b> column indicates how these annotations are displayed by
153
WFDB applications such as <a href="/physiotools/dbag/wave-1.htm">WAVE</a>,
154
<a href="/physiotools/dbag/wview-1.htm">WVIEW</a>, and
155
<a href="/physiotools/dbag/pschar-1.htm">pschart</a>.</p>
156
157
<div class="edbtable">
158
<table>
159
<th class="headerrow">Code</th><th>Mnemonic</th>
160
 <th>Meaning</th></tr>
161
<tr><td>NORMAL</td><td>&#149; [bullet]</td><td>Normal beat</td></tr>
162
<tr><td>ABERR</td><td>a</td><td>Aberrated atrial premature beat</td></tr>
163
<tr><td>NPC</td><td>J</td><td>Nodal (junctional) premature beat</td></tr>
164
<tr><td>SVPB</td><td>S</td><td>Supraventricular premature or ectopic beat
165
 (atrial or nodal)</td></tr>
166
<tr><td>PVC</td><td>V</td><td>Premature ventricular contraction</td></tr>
167
<tr><td>FUSION</td><td>F</td><td>Fusion of ventricular and normal beat</td>
168
 </tr>
169
<tr><td>UNKNOWN</td><td>Q</td><td>Unclassifiable beat</td></tr>
170
<tr><td>ARFCT</td><td>|</td><td>Isolated QRS-like artifact</td></tr>
171
<tr><td valign=top>RHYTHM</td><td></td>
172
 <td>Rhythm change, specified by text field:<br>
173
 <table>
174
 <tr><td>(AB</td><td>Atrial bigeminy</td></tr>
175
 <tr><td>(AFIB</td><td>Atrial fibrillation</td></tr>
176
 <tr><td>(B</td><td>Ventricular bigeminy</td></tr>
177
 <tr><td>(B3</td><td>Third degree heart block</td></tr>
178
 <tr><td>(N</td><td>Normal sinus rhythm</td></tr>
179
 <tr><td>(SAB</td><td>Sino-atrial block</td></tr>
180
 <tr><td>(SBR</td><td>Sinus bradycardia</td></tr>
181
 <tr><td>(SVTA</td><td>Supraventricular tachyarrhythmia</td></tr>
182
 <tr><td>(T</td><td>Ventricular trigeminy</td></tr>
183
 <tr><td>(VT</td><td>Ventricular tachycardia</td></tr>
184
 </table></td></tr>
185
<tr><td valign=top>STCH</td><td></td>
186
 <td>ST change, specified by text field:<br>
187
 <table>
188
 <tr><td>(ST...</td><td>Beginning of ST episode</td></tr>
189
 <tr><td>AST...</td><td>Peak of ST episode</td></tr>
190
 <tr><td>ST...)</td><td>End of ST episode</td></tr>
191
 </table></td></tr>
192
<tr><td valign=top>TCH</td><td></td>
193
 <td>T change, specified by text field:<br>
194
 <table>
195
 <tr><td>(T...</td><td>Beginning of T episode</td></tr>
196
 <tr><td>AT...</td><td>Peak of T episode</td></tr>
197
 <tr><td>T...)</td><td>End of T episode</td></tr>
198
 </table></td></tr>
199
<tr><td valign=top>NOTE</td><td></td>
200
 <td>Comment annotation, specified by text field:<br>
201
 <table>
202
 <tr><td>(st...</td>
203
   <td>Beginning of ST deviation resulting from axis shift</td></tr>
204
 <tr><td>ast...</td>
205
   <td>Peak of ST deviation resulting from axis shift</td></tr>
206
 <tr><td>st...)</td>
207
   <td>End of ST deviation resulting from axis shift</td></tr>
208
 <tr><td>(t...</td>
209
   <td>Beginning of T deviation resulting from axis shift</td></tr>
210
 <tr><td>at...</td>
211
   <td>Peak of T deviation resulting from axis shift</td></tr>
212
 <tr><td>t...)</td>
213
   <td>End of T deviation resulting from axis shift</td></tr>
214
 <tr><td>BUTTON</td>
215
   <td>Patient-activated event button pressed</td></tr>
216
 <tr><td>TS</td>
217
   <td>Tape slippage</td></tr>
218
 </table></td></tr>
219
<tr><td valign=top>NOISE</td><td valign=top><i>qq</i></td>
220
 <td>Signal quality change:  the first character ('c', 'n', or 'u')
221
       indicates the quality of signal 0 (clean, noisy, or unreadable),
222
       and the second character indicates the quality of signal 1.
223
       The <tt>subtyp</tt> field of the annotation encodes these
224
       characters:<br>
225
 <table>
226
 <tr><td>0x00</td><td>cc</td>
227
 <tr><td>0x01</td><td>nc</td>
228
 <tr><td>0x02</td><td>cn</td>
229
 <tr><td>0x03</td><td>nn</td>
230
 <tr><td>0x11</td><td>uc</td>
231
 <tr><td>0x12</td><td>un</td>
232
 <tr><td>0x20</td><td>cu</td>
233
 <tr><td>0x21</td><td>nu</td>
234
 <tr><td>0x33</td><td>uu</td>
235
 </table></td></tr>
236
</table> 
237
</div> <!-- end edbtable -->
238
239
<h3 id="reference-beat">Which was the reference beat in each record?</h3>
240
241
<p>
242
As noted above, the expert annotators were given a clear plastic
243
template on which had been printed a reference waveform.  The position
244
of this waveform was not recorded, however, and the original plastic
245
templates no longer exist.  The only available information about the
246
choice of reference beat is that the waveform was taken from the first
247
30 seconds of the record being annotated.  One may assume that the
248
waveform was typical of those within the 30-second interval, and that
249
if the amount of noise varied significantly within the interval, the
250
reference was one of the cleaner waveforms.</p>
251
252
<p>
253
As a practical matter for evaluation of an algorithm for automated ST
254
analysis using this database, this question need not be an issue.
255
Some of the patients represented in the database had prior myocardial
256
infarctions with consequent fixed ST elevation or depression.  The ST
257
annotations in this database mark transient ST changes that are
258
superimposed on any fixed elevation or depression.  The important
259
point is that this database's annotations provide samples not of
260
the <em>ST level</em> function (the difference, for any given time,
261
between the ECG amplitudes of the nearest beat during the ST segment
262
and at the isoelectric point), but of the <em>ST deviation</em>
263
function (the difference between the ST level function measured at any
264
given time and during the first 30 seconds of the record).
265
Put another way, the ST level function is the sum of the fixed
266
elevation or depression (the reference ST level) and the transient
267
changes in ST level (the ST deviation function).</p>
268
269
<p>
270
To use this database to evaluate an ST analysis algorithm, the
271
algorithm needs to estimate the ST deviation function, a
272
task that requires determining its own reference ST level (using any
273
desired method;  a median of its ST level measurements made during the
274
first 30 seconds is a commonly used approach).  The algorithm's ST
275
deviation function is the difference between its ST level function and its
276
reference ST level.  See <a href="/physiotools/wag/epicmp-1.htm">epicmp</a>
277
for details on how to record an algorithm's ST deviation function in an
278
annotation file, and how to use standard software to measure how well
279
an algorithm's ST deviation measurements match those provided with the
280
database.</p>
281
282
<!--#include virtual="/dir-footer.shtml"-->
283