Some programs are helping physicians cope.