There is no morally compelling reason to distinguish a doctor from a tank driver on the battlefield except for the fact that both sides agree to protect medical personnel.
Thirty states have exceptions to child-neglect laws that provide shelter from misdemeanor violations for parents who treat their children through prayer in accord with the beliefs of a recognized religion.