If a doctor who usually isn't a yeller loses his cool with me, I'll usually just ignore it and deal with whatever he needs, however if it's someone who blows up regularly, I won't. I look him right in the eye and say, "When you've calmed down enough that you can be polite enough to treat me like a human being, then we'll talk about your patient orders." I walk away. I'm not rude, just firm. I've actually had MDs apologize to me!
One repeat offender was so obnoxious and a repeat offender, and I finally reported him through channels.
After that, he was never sweetness and light, but at least he quit swearing at me.