(medicine) The graphic recording of the movement, or other function of the heart as a means of diagnosis