An ECG recorder is a portable medical device that records your heart rhythm over a longer period of time (a few days or weeks). We call such a recording an electrocardiogram (ECG). Your doctor has asked for this examination because it provides important information about the functioning of your heart.