In the 19th century, going to the doctor could kill you