A doctor is using an electrocardiogram machine to diagnose a patient's heart condition.