Debian Codegraph @

biosig4c++/t210/codes.h

raw symbols SCIP
1 /*
2 ---------------------------------------------------------------------------
3 Copyright (C) 2003 Eugenio Cervesato & Giorgio De Odorico.
4 Developed at the Associazione per la Ricerca in Cardiologia - Pordenone - Italy.
5
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 2
9 of the License, or (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 ---------------------------------------------------------------------------
20 */
21 // codes.h consts included in the protocol
22 #ifndef __CODES_H__
23 #define __CODES_H__
24
25 static const char STR_END[]={(char)-1,'\0'};
26 static char STR_NULL[]=" unspecified/unknown ";
27
28 static alfabetic _special[]={
29 { 29999 , "measurements not computed" },
30 { 29998 , "measurements not found due to rejection of the lead" },
31 { 19999 , "measurements not found because wave not present" },
32 { 999 , "undefined" }
33 };
34
35 static alfabetic _age[]={
36 { 0 , " unspecified/unknown " } ,
37 { 1 , " years " } ,
38 { 2 , " months " } ,
39 { 3 , " weeks " } ,
40 { 4 , " days " } ,
41 { 5 , " hours " }
42 };
43
44 static alfabetic _height[]={
45 { 0 , " unspecified/unknown " } ,
46 { 1 , " cm " } ,
47 { 2 , " inch " } ,
48 { 3 , " mm " }
49 };
50
51 static alfabetic _weight[]={
52 { 0 , " unspecified/unknown " } ,
53 { 1 , " Kg " } ,
54 { 2 , " g " } ,
55 { 3 , " lb " } ,
56 { 4 , " oz " }
57 };
58
59 static alfabetic _sex[]={
60 { 0 , " ? " } ,
61 { 1 , " M " } ,
62 { 2 , " F " } ,
63 { 3 , " unspecified/unknown " }
64 };
65
66 static alfabetic _race[]={
67 { 0 , " unspecified/unknown " } ,
68 { 1 , " caucasian " } ,
69 { 2 , " black " } ,
70 { 3 , " oriental " }
71 };
72
73 static alfabetic class_drug[]={
74 { 0 , " unspecified/unknown " } ,
75 { 1 , " digitalis preparation " } ,
76 { 2 , " antiarrhythmic " } ,
77 { 3 , " diuretics " } ,
78 { 4 , " antihypertensive " } ,
79 { 5 , " antianginal " } ,
80 { 6 , " antithrombotic agents " } ,
81 { 7 , " beta blockers " } ,
82 { 8 , " psychotropic " } ,
83 { 9 , " calcium blockers " } ,
84 { 10 , " antihypotensive " } ,
85 { 11 , " anticholesterol " } ,
86 { 12 , " ACE-inhibitors " } ,
87 { 100 , " not taking drugs " } ,
88 { 101 , " drugs, but unknown type " } ,
89 { 102 , " other medication " },
90 { 256 , " unspecified/unknown " } ,
91 { 257 , " digoxin-lanoxin " } ,
92 { 258 , " digitoxin-digitalis " } ,
93 { 265 , " other " },
94 { 512 , " unspecified/unknown " } ,
95 { 513 , " dysopyramide " } ,
96 { 514 , " quinidine " } ,
97 { 515 , " procainamide " } ,
98 { 516 , " lidocaine " } ,
99 { 517 , " phenytoin " } ,
100 { 518 , " dilantin " } ,
101 { 519 , " amiodarone " } ,
102 { 520 , " tocainide " } ,
103 { 521 , " other " } ,
104 { 522 , " encainide " } ,
105 { 523 , " mexitil/mexilitine " } ,
106 { 524 , " flecainide " } ,
107 { 525 , " lorcainide " } ,
108 { 768 , " unspecified/unknown " } ,
109 { 769 , " thiazide " } ,
110 { 770 , " furosemide (lasix) " } ,
111 { 771 , " potassium cloride " } ,
112 { 777 , " other " } ,
113 { 1024 , " unspecified/unknown " } ,
114 { 1025 , " clonidine " } ,
115 { 1026 , " prasozin " } ,
116 { 1027 , " hydralazine " } ,
117 { 1033 , " other " },
118 { 1280 , " unspecified/unknown " } ,
119 { 1281 , " isosorbide " } ,
120 { 1282 , " calcium blockers " } ,
121 { 1283 , " diuretics " } ,
122 { 1284 , " nitrates " } ,
123 { 1289 , " other " },
124 { 1536 , " unspecified/unknown " } ,
125 { 1537 , " aspirin " } ,
126 { 1538 , " coumarin " } ,
127 { 1539 , " heparin " } ,
128 { 1540 , " warfarin " } ,
129 { 1541 , " streptokinase " } ,
130 { 1542 , " t-PA " } ,
131 { 1545 , " other " },
132 { 1792 , " unspecified/unknown " } ,
133 { 1793 , " propanolol " } ,
134 { 1794 , " corgard " } ,
135 { 1795 , " atenolol " } ,
136 { 1796 , " metoprolol " } ,
137 { 1797 , " pindolol " } ,
138 { 1798 , " acebutolol " } ,
139 { 1801 , " other " },
140 { 2048 , " unspecified/unknown " } ,
141 { 2049 , " tricyclic antidepressant " } ,
142 { 2050 , " phenothiazide " } ,
143 { 2051 , " barbiturate " } ,
144 { 2057 , " other " },
145 { 2304 , " unspecified/unknown " } ,
146 { 2305 , " nifedipine " } ,
147 { 2306 , " verapamil " } ,
148 { 2313 , " other " },
149 { 2560 , " unspecified/unknown " } ,
150 { 2561 , " asthmatic drug " } ,
151 { 2562 , " aminophyline " } ,
152 { 2563 , " isuprel " } ,
153 { 2569 , " other " },
154 { 2816 , " unspecified/unknown " } ,
155 { 2817 , " colestid " } ,
156 { 2818 , " lovastatin " } ,
157 { 2819 , " simvastatin " } ,
158 { 2820 , " fibrates " } ,
159 { 2825 , " other " },
160 { 3071 , " unspecified/unknown " } ,
161 { 3072 , " captopril " } ,
162 { 3081 , " other " }
163 };
164
165 static alfabetic device_type[]={
166 { 0 , " Cart " },
167 { 1 , " host " },
168 { 2 , " unspecified/unknown "}
169 };
170
171 static alfabetic legacy_device[]={
172 { 0 , " unspecified/unknown " } ,
173 { 1 , " Burdick " } ,
174 { 2 , " Cambridge " } ,
175 { 3 , " Comprumed " } ,
176 { 4 , " Datamed " } ,
177 { 5 , " Fukuda " } ,
178 { 6 , " Hewlett-Packard " } ,
179 { 7 , " Marquette Electronics " } ,
180 { 8 , " Moratara Instruments " } ,
181 { 9 , " Nihon Kohden " } ,
182 { 10 , " Okin " } ,
183 { 11 , " Quinton " } ,
184 { 12 , " Siemens " } ,
185 { 13 , " Spacelabs " } ,
186 { 14 , " Telemed " } ,
187 { 15 , " Hellige " } ,
188 { 16 , " ESA-OTE " } ,
189 { 17 , " Schiller " } ,
190 { 18 , " Picker-Schwarzer " } ,
191 { 19 , " Elettronica-Trentina " } ,
192 { 20 , " Zwonitz " }
193 };
194
195 static alfabetic compatibility[]={
196 { 72 , " I " } ,
197 { 160 , " II " } ,
198 { 176 , " III " } ,
199 { 192 , " IV " },
200 { 255 , " unspecified/unknown " }
201 };
202
203 static alfabetic language_code[]={
204 { 0 , " 8 bit ASCII only " } ,
205 { 1 , " ISO-8859-1 latin-1 " } ,
206 { 192 , " ISO-8859-2 latin-2 (central and estern european) " } ,
207 { 208 , " ISO-8859-4 latin-4 (Baltic) " } ,
208 { 200 , " ISO-8859-5 (Cyrillic) " } ,
209 { 216 , " ISO-8859-6 (Arabic) " } ,
210 { 196 , " ISO-8859-7 (Greek) " } ,
211 { 212 , " ISO-8859-8 (Hebrew) " } ,
212 { 204 , " ISO-8859-11 (Thai) " } ,
213 { 220 , " ISO-8859-15 latin-9 (latin-0) " } ,
214 { 224 , " Unicode (ISO-60646) " } ,
215 { 240 , " JIS X0201-1976 (Japanese) " } ,
216 { 232 , " JIS X0208-1977 (Japanese) " } ,
217 { 248 , " JIS X0212-1990 (Japanese) " } ,
218 { 228 , " GB 2312-80 (Chinese) " } ,
219 { 244 , " KS C5601-1987 (Korean) " } ,
220 { 255 , " unspecified/unknown " }
221 };
222
223 static alfabetic capability_device[]={
224 { 1 , " No printing " } ,
225 { 2 , " No analysis " } ,
226 { 3 , " No storage " } ,
227 { 4 , " No acquisition " } ,
228 { 5 , " can print ECG reports " } ,
229 { 6 , " can interpret ECG " } ,
230 { 7 , " can store ECG records " } ,
231 { 8 , " can acquire ECG data " }
232 };
233
234 static alfabetic frequency_AC[]={
235 { 0 , " unspecified/unknown " } ,
236 { 1 , " 50 Hz " } ,
237 { 2 , " 60 Hz " }
238 };
239
240 static alfabetic filter_bitmap[]={
241 { 0 , " unspecified/unknown " },
242 { 1 , " 60 Hz notch filter " } ,
243 { 2 , " 50 Hz notch filter " } ,
244 { 3 , " artifact filter " } ,
245 { 4 , " baseline filter " }
246 };
247
248 static alfabetic _hystory[]={
249 { 0 , " diagnoses or clinical problems " } ,
250 { 1 , " apparently healty " } ,
251 { 10 , " acute myocardial infarction " } ,
252 { 11 , " myocardial infarction " } ,
253 { 12 , " previous myocardial infarction " } ,
254 { 15 , " ischemic heart disease " } ,
255 { 18 , " peripheral vascular disease " } ,
256 { 20 , " cyanotic congenital heart disease " } ,
257 { 21 , " acyanotic congenital heart disease " } ,
258 { 22 , " valvular heart disease " } ,
259 { 25 , " hypertension " } ,
260 { 27 , " cerebrovascular accident " } ,
261 { 30 , " cardiomyopathy " } ,
262 { 35 , " pericardits " } ,
263 { 36 , " myocardits " } ,
264 { 40 , " post-operative cardiac surgery " } ,
265 { 42 , " implanted cardiac pacemaker " } ,
266 { 45 , " pulmonary embolism " } ,
267 { 50 , " respiratory disease " } ,
268 { 55 , " endocrine disease " } ,
269 { 60 , " neurological disease " } ,
270 { 65 , " alimentary disease " } ,
271 { 70 , " renal disease " } ,
272 { 80 , " pre-operative general surgery " } ,
273 { 81 , " post-operative general surgery " } ,
274 { 90 , " general medical " } ,
275 { 100 , " unspecified/unknown " }
276 };
277
278 static alfabetic electrode_configuration_standard[]={
279 { 0 , " unspecified/unknown " } ,
280 { 1 , " 12-lead positions: RA, RL, LA, and LL at limb extremities. V1 to V6 at standard positions on the chest. Individually " } ,
281 { 2 , " RA, RL, LA, and LL are placed on the torso. V1 to V6 are placed at standard positions on the chest. Individually " } ,
282 { 3 , " RA, RL, LA, and LL are individually placed on the torso. V1 to V6 on the chest as part of a single electrode pad " } ,
283 { 4 , " RA, RL, LA, LL, and V1 to V6 (all electrodes) are on the chest in a single electrode pad " } ,
284 { 5 , " 12-lead ECG is derived from Frank XYZ leads " } ,
285 { 6 , " 12-lead ECG is derived from non-standard leads " }
286 };
287
288 static alfabetic electrode_configuration_XYZ[]={
289 { 0 , " unspecified/unknown " } ,
290 { 1 , " Frank " } ,
291 { 2 , " McFee-Parungao " } ,
292 { 3 , " Cube " } ,
293 { 4 , " XYZ bipolar uncorrected " } ,
294 { 5 , " pseudo-orthogonal XYZ (as used in Holter) " } ,
295 { 6 , " XYZ derived from standard 12 leads " }
296 };
297
298 static alfabetic lead_identification[]={
299 { 0 , " unspecified/unknown " } ,
300 { 1 , " I " } ,
301 { 2 , " II " } ,
302 { 3 , " V1 " } ,
303 { 4 , " V2 " } ,
304 { 5 , " V3 " } ,
305 { 6 , " V4 " } ,
306 { 7 , " V5 " } ,
307 { 8 , " V6 " } ,
308 { 9 , " V7 " } ,
309 { 10 , " V2R " } ,
310 { 11 , " V3R " } ,
311 { 12 , " V4R " } ,
312 { 13 , " V5R " } ,
313 { 14 , " V6R " } ,
314 { 15 , " V7R " } ,
315 { 16 , " X " } ,
316 { 17 , " Y " } ,
317 { 18 , " Z " } ,
318 { 19 , " CC5 " } ,
319 { 20 , " CM5 " } ,
320 { 21 , " left arm " } ,
321 { 22 , " right arm " } ,
322 { 23 , " left leg " } ,
323 { 24 , " I " } ,
324 { 25 , " R " } ,
325 { 26 , " C " } ,
326 { 27 , " A " } ,
327 { 28 , " M " } ,
328 { 29 , " F " } ,
329 { 30 , " H " } ,
330 { 31 , " I-cal " } ,
331 { 32 , " II-cal " } ,
332 { 33 , " V1-cal " } ,
333 { 34 , " V2-cal " } ,
334 { 35 , " V3-cal " } ,
335 { 36 , " V4-cal " } ,
336 { 37 , " V5-cal " } ,
337 { 38 , " V6-cal " } ,
338 { 39 , " V7-cal " } ,
339 { 40 , " V2R-cal " } ,
340 { 41 , " V3R-cal " } ,
341 { 42 , " V4R-cal " } ,
342 { 43 , " V5R-cal " } ,
343 { 44 , " V6R-cal " } ,
344 { 45 , " V7R-cal " } ,
345 { 46 , " X-cal " } ,
346 { 47 , " Y-cal " } ,
347 { 48 , " Z-cal " } ,
348 { 49 , " CC5-cal " } ,
349 { 50 , " CM5-cal " } ,
350 { 51 , " left arm-cal " } ,
351 { 52 , " right arm-cal " } ,
352 { 53 , " left leg-cal " } ,
353 { 54 , " I-cal " } ,
354 { 55 , " R-cal " } ,
355 { 56 , " C-cal " } ,
356 { 57 , " A-cal " } ,
357 { 58 , " M-cal " } ,
358 { 59 , " F-cal " } ,
359 { 60 , " H-cal " } ,
360 { 61 , " III " } ,
361 { 62 , " aVR " } ,
362 { 63 , " aVL " } ,
363 { 64 , " aVF " } ,
364 { 65 , " -aVR " } ,
365 { 66 , " V8 " } ,
366 { 67 , " V9 " } ,
367 { 68 , " V8R " } ,
368 { 69 , " V9R " } ,
369 { 70 , " D (Nehb-dorsal) " } ,
370 { 71 , " A (Nehb-anterior) " } ,
371 { 72 , " J (Nehb-inferior) " } ,
372 { 73 , " defibrillator anterior-lateral " } ,
373 { 74 , " external pacing anterior-posterior " } ,
374 { 75 , " A1 (auxiliary unipolar lead 1) " } ,
375 { 76 , " A2 (auxiliary unipolar lead 2) " } ,
376 { 77 , " A3 (auxiliary unipolar lead 3) " } ,
377 { 78 , " A4 (auxiliary unipolar lead 4) " } ,
378 { 79 , " V8-cal " } ,
379 { 80 , " V9-cal " } ,
380 { 81 , " V8R-cal " } ,
381 { 82 , " V9R-cal " } ,
382 { 83 , " D-cal (Nehb-dorsal) " } ,
383 { 84 , " A-cal (Nehb-anterior) " } ,
384 { 85 , " J-cal (Nehb-inferior) " }
385 };
386
387 static alfabetic _encode[]={
388 { 0 , " real " } ,
389 { 1 , " first difference " } ,
390 { 2 , " second difference " }
391 };
392
393 static alfabetic _compression[]={
394 { 0 , " bimodal compression not used " } ,
395 { 1 , " bimodal compression used " }
396 };
397
398 static alfabetic spike_type[]={
399 { 0 , " unspecified/unknown " } ,
400 { 1 , " spike triggers neither P-wave nor QRS " } ,
401 { 2 , " spike triggers a QRS " } ,
402 { 3 , " spike triggers a P-wave " }
403 };
404
405 static alfabetic source_pacemaker[]={
406 { 0 , " unspecified/unknown " } ,
407 { 1 , " internal " } ,
408 { 2 , " external " }
409 };
410
411 static alfabetic triggered_spike[]={
412 { 0 , " spike does not trigger a QRS " } ,
413 { 1 , " spike triggers a QRS " }
414 };
415
416 static alfabetic _formula_type[]={
417 { 0 , " unspecified/unknown " } ,
418 { 1 , " Bazett " } ,
419 { 2 , " Hodges " }
420 };
421
422 static alfabetic ID_tag[]={
423 { 0 , " QTend all-lead dispersion " } ,
424 { 1 , " QTpeak all-lead dispersion " } ,
425 { 2 , " QTend precordial dispersion " } ,
426 { 3 , " QTpeak precordial dispersion " } ,
427 { 4 , " unspecified/unknown " }
428 };
429
430 static alfabetic value_tag[]={
431 { 0 , " Dispersion = maximum QT interval ? minimum QT interval " } ,
432 { 1 , " Heart rate corrected Dispersion: Max?Min " } ,
433 { 2 , " Dispersion = standard deviation of the QT intervals " } ,
434 { 3 , " Heart rate corrected Dispersion: standard deviation " } ,
435 { 4 , " Heart rate correction formula. (See definition of byte 7 for valid values) " }
436 };
437
438 static alfabetic type_confirm[]={
439 { 0 , " original report (not overread) " } ,
440 { 1 , " confirmed report " } ,
441 { 2 , " overread report, but not confirmed " } ,
442 { 3 , " unspecified/unknown " }
443 };
444
445 static alfabetic morphology_description[]={
446 { 0 , " unspecified/unknown " } ,
447 { 1 , " positive " } ,
448 { 2 , " negative " } ,
449 { 3 , " positive/negative " } ,
450 { 4 , " negative/positive " } ,
451 { 5 , " positive/negative/positive " } ,
452 { 6 , " negative/positive/negative " } ,
453 { 7 , " notched M-shaped " } ,
454 { 8 , " notched W-shaped " }
455 };
456
457 static alfabetic quality_code[]={
458 { 0 , " AC (mains) noise " } ,
459 { 1 , " overrange " } ,
460 { 2 , " wander " } ,
461 { 3 , " tremor or muscle artifact " } ,
462 { 4 , " spike or sudden jumps " } ,
463 { 5 , " electrode loose or off " } ,
464 { 6 , " pacemaker " } ,
465 { 7 , " interchanged lead " }
466 };
467
468 static alfabetic noise_level[]={
469 { 0 , " none/no " } ,
470 { 1 , " moderate/yes " } ,
471 { 2 , " severe " } ,
472 { 3 , " unknown " }
473 };
474
475 static alfabetic type_statement[]={
476 { 1 , " coded statement type " } ,
477 { 2 , " full text type " } ,
478 { 3 , " statement logic type " }
479 };
480
481 #endif /*__CODES_H__*/