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:

SYMHC Classics: Dr. Lucy Hobbs Taylor
29:58

Behind the Scenes Minis: Carry-on Bags
28:38

Gustave Flaubert and the ‘Madame Bovary’ Trial
45:15