Arrhythmia Detect
Category: Healthcare Standards
Node id: arrhythmia-detect
Standards: HIPAA
Classifies cardiac arrhythmias from ECG-derived metrics (heart rate, RR intervals, signal quality). Detects bradycardia, tachycardia, asystole, AFib, and PVC using clinical thresholds.
What it does
- Bradycardia detection via heart rate threshold
- Tachycardia detection via heart rate threshold
- Long pause / asystole detection via RR interval threshold
- AFib detection via RR coefficient of variation (>15%)
- PVC detection via short-long RR pattern analysis
- Signal quality gating (skips detection when quality < 50)
Use cases
- Mobile Cardiac Telemetry (MCT) automated event detection
- Real-time ECG strip analysis in continuous monitoring pipelines
- Pre-screening for cardiologist review queue prioritization
Runtime
- Performance tier:
fast
Input ports
| Name | Type | Required | Description |
|---|---|---|---|
heart_rate_bpm | json | Yes | Heart rate in beats per minute |
rr_intervals | json | No | R-R intervals in milliseconds as an array of numbers |
quality_score | json | No | Signal quality score 0-100; values below 50 suppress detection |
Output ports
| Name | Type | Required | Description |
|---|---|---|---|
result | json | No | Detection result: events array, event_count, has_critical, summary |
success | boolean | No | True when execution completed without error |
Settings
Basic
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Tachycardia Threshold (bpm) | hr_high_bpm | number | No | 150 | min 0 | |
| Bradycardia Threshold (bpm) | hr_low_bpm | number | No | 40 | min 0 | |
| Detect AFib | detect_afib | boolean | No | true | ||
| Detect PVC | detect_pvc | boolean | No | true | ||
| Detect Long Pause / Asystole | detect_pause | boolean | No | true |
Advanced
| Setting | Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|---|
| Pause Threshold (ms) | pause_threshold_ms | number | No | 3000 | min 0 | |
| Minimum Confidence (%) | min_confidence | number | No | 80 | min 0; max 100 |
Errors
| Code | Description |
|---|---|
HEART_RATE_REQUIRED | heart_rate_bpm input is missing |
INVALID_THRESHOLDS | hr_high_bpm is not greater than hr_low_bpm |
INVALID_CONFIDENCE | min_confidence is outside 0-100 range |
Runtime notes
- When quality_score < 50, detection is skipped entirely and events is empty — check event_count to distinguish no-arrhythmia from low-quality
- has_critical is true only for asystole events — wire this to an alert node for immediate notification
- AFib detection requires at least 3 RR intervals; PVC detection also needs 3+ — fewer intervals silently skips those rules
- Events below min_confidence are filtered out — lower this threshold to increase sensitivity at the cost of specificity
See Build any workflow for how to put nodes together and Ports, types and data flow for how port types connect.
Quelque chose n'est pas clair ? Envoyez vos commentaires sur la documentation par courriel.