What Is The Double Effect In Ectopic Pregnancy?

What Is The Double Effect In Ectopic Pregnancy? Under the rule of double effect, removing a cancerous uterus of a pregnant woman is considered warranted because the intention is to cure the cancer, and not kill the baby, despite this consequence being foreseen. What do you mean by the principle of double effect? This doctrine