I've got some basic filter code setup (but not yet tested).
Dependencies: BLE_API Queue mbed nRF51822
Fork of BLE_HeartRate by
ecgcodes.h@62:8e2fbe131b53, 2015-06-28 (annotated)
- Committer:
- roysandberg
- Date:
- Sun Jun 28 03:06:00 2015 +0000
- Revision:
- 62:8e2fbe131b53
Working Beat Detection and Analysis
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
roysandberg | 62:8e2fbe131b53 | 1 | /* file: ecgcodes.h T. Baker and G. Moody June 1981 |
roysandberg | 62:8e2fbe131b53 | 2 | Last revised: 19 March 1992 dblib 7.0 |
roysandberg | 62:8e2fbe131b53 | 3 | ECG annotation codes |
roysandberg | 62:8e2fbe131b53 | 4 | |
roysandberg | 62:8e2fbe131b53 | 5 | Copyright (C) Massachusetts Institute of Technology 1992. All rights reserved. |
roysandberg | 62:8e2fbe131b53 | 6 | */ |
roysandberg | 62:8e2fbe131b53 | 7 | |
roysandberg | 62:8e2fbe131b53 | 8 | #ifndef db_ECGCODES_H /* avoid multiple definitions */ |
roysandberg | 62:8e2fbe131b53 | 9 | #define db_ECGCODES_H |
roysandberg | 62:8e2fbe131b53 | 10 | |
roysandberg | 62:8e2fbe131b53 | 11 | #define NOTQRS 0 /* not-QRS (not a getann/putann code) */ |
roysandberg | 62:8e2fbe131b53 | 12 | #define NORMAL 1 /* normal beat */ |
roysandberg | 62:8e2fbe131b53 | 13 | #define LBBB 2 /* left bundle branch block beat */ |
roysandberg | 62:8e2fbe131b53 | 14 | #define RBBB 3 /* right bundle branch block beat */ |
roysandberg | 62:8e2fbe131b53 | 15 | #define ABERR 4 /* aberrated atrial premature beat */ |
roysandberg | 62:8e2fbe131b53 | 16 | #define PVC 5 /* premature ventricular contraction */ |
roysandberg | 62:8e2fbe131b53 | 17 | #define FUSION 6 /* fusion of ventricular and normal beat */ |
roysandberg | 62:8e2fbe131b53 | 18 | #define NPC 7 /* nodal (junctional) premature beat */ |
roysandberg | 62:8e2fbe131b53 | 19 | #define APC 8 /* atrial premature contraction */ |
roysandberg | 62:8e2fbe131b53 | 20 | #define SVPB 9 /* premature or ectopic supraventricular beat */ |
roysandberg | 62:8e2fbe131b53 | 21 | #define VESC 10 /* ventricular escape beat */ |
roysandberg | 62:8e2fbe131b53 | 22 | #define NESC 11 /* nodal (junctional) escape beat */ |
roysandberg | 62:8e2fbe131b53 | 23 | #define PACE 12 /* paced beat */ |
roysandberg | 62:8e2fbe131b53 | 24 | #define UNKNOWN 13 /* unclassifiable beat */ |
roysandberg | 62:8e2fbe131b53 | 25 | #define NOISE 14 /* signal quality change */ |
roysandberg | 62:8e2fbe131b53 | 26 | #define ARFCT 16 /* isolated QRS-like artifact */ |
roysandberg | 62:8e2fbe131b53 | 27 | #define STCH 18 /* ST change */ |
roysandberg | 62:8e2fbe131b53 | 28 | #define TCH 19 /* T-wave change */ |
roysandberg | 62:8e2fbe131b53 | 29 | #define SYSTOLE 20 /* systole */ |
roysandberg | 62:8e2fbe131b53 | 30 | #define DIASTOLE 21 /* diastole */ |
roysandberg | 62:8e2fbe131b53 | 31 | #define NOTE 22 /* comment annotation */ |
roysandberg | 62:8e2fbe131b53 | 32 | #define MEASURE 23 /* measurement annotation */ |
roysandberg | 62:8e2fbe131b53 | 33 | #define BBB 25 /* left or right bundle branch block */ |
roysandberg | 62:8e2fbe131b53 | 34 | #define PACESP 26 /* non-conducted pacer spike */ |
roysandberg | 62:8e2fbe131b53 | 35 | #define RHYTHM 28 /* rhythm change */ |
roysandberg | 62:8e2fbe131b53 | 36 | #define LEARN 30 /* learning */ |
roysandberg | 62:8e2fbe131b53 | 37 | #define FLWAV 31 /* ventricular flutter wave */ |
roysandberg | 62:8e2fbe131b53 | 38 | #define VFON 32 /* start of ventricular flutter/fibrillation */ |
roysandberg | 62:8e2fbe131b53 | 39 | #define VFOFF 33 /* end of ventricular flutter/fibrillation */ |
roysandberg | 62:8e2fbe131b53 | 40 | #define AESC 34 /* atrial escape beat */ |
roysandberg | 62:8e2fbe131b53 | 41 | #define SVESC 35 /* supraventricular escape beat */ |
roysandberg | 62:8e2fbe131b53 | 42 | #define NAPC 37 /* non-conducted P-wave (blocked APB) */ |
roysandberg | 62:8e2fbe131b53 | 43 | #define PFUS 38 /* fusion of paced and normal beat */ |
roysandberg | 62:8e2fbe131b53 | 44 | #define PQ 39 /* PQ junction (beginning of QRS) */ |
roysandberg | 62:8e2fbe131b53 | 45 | #define JPT 40 /* J point (end of QRS) */ |
roysandberg | 62:8e2fbe131b53 | 46 | #define RONT 41 /* R-on-T premature ventricular contraction */ |
roysandberg | 62:8e2fbe131b53 | 47 | |
roysandberg | 62:8e2fbe131b53 | 48 | /* ... annotation codes between RONT+1 and ACMAX inclusive are user-defined */ |
roysandberg | 62:8e2fbe131b53 | 49 | |
roysandberg | 62:8e2fbe131b53 | 50 | #define ACMAX 49 /* value of largest valid annot code (must be < 50) */ |
roysandberg | 62:8e2fbe131b53 | 51 | |
roysandberg | 62:8e2fbe131b53 | 52 | #endif |