which class of people in the 1800s were doctors?