Quite the opposite. If the baby is dead and/or your life is in significant threat a doctor in an ER is **obligated** to treat and save you. Not treating (intentionally) a patient whose life is at risk would at a minimum result in a loss of license and at most would result in a voluntary manslaughter charge.