The first electrocardiograph was invented in 1895. That device looked a lot different from today’s machines, and there are some other contenders for the title of “first.”
Research:

Sara Weiss’s Journeys to the Planet Mars
39:45

SYMHC Classics: Charles Colchester
33:49

Behind the Scenes Minis: Lager, Ale, Emo Girl
25:06