Arrhythmia detection program for an ambulatory ECG monitor.