An increasing number of physicians are dismissing patients, but are they doing it legally?