ECG data compression for tapeless ambulatory monitors