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:

Elizabeth Bisland, Beyond the Trip Around the World
42:54

SYMHC Classics: Marie Laurencin
32:46

Behind the Scenes Minis: Censorship Cats
26:59