a doctor is used for treating a patient