A new study suggests that politics may play a larger role in a doctor’s medical advice than you might think.