a doctor does surgery