2322 From its conception, the child has the right to life. Direct abortion, that is, abortion willed as an end or as a means, is a "criminal" practice (GS 27 § 3), gravely contrary to the moral law. The Church imposes the canonical penalty of excommunication for this crime against human life.
2271 Since the first century the Church has affirmed the moral evil of every procured abortion. This teaching has not changed and remains unchangeable. Direct abortion, that is to say, abortion willed either as an end or a means, is gravely contrary to the moral law:
You shall not kill the embryo by abortion and shall not cause the newborn to perish.
God, the Lord of life, has entrusted to men the noble mission of safeguarding life, and men must carry it out in a manner worthy of themselves. Life must be protected with the utmost care from the moment of conception: abortion and infanticide are abominable crimes.
2272 Formal cooperation in an abortion constitutes a grave offense. The Church attaches the canonical penalty of excommunication to this crime against human life. "A person who procures a completed abortion incurs excommunication latae sententiae," "by the very commission of the offense," and subject to the conditions provided by Canon Law. The Church does not thereby intend to restrict the scope of mercy. Rather, she makes clear the gravity of the crime committed, the irreparable harm done to the innocent who is put to death, as well as to the parents and the whole of society.
2274 Since it must be treated from conception as a person, the embryo must be defended in its integrity, cared for, and healed, as far as possible, like any other human being.
Prenatal diagnosis is morally licit, "if it respects the life and integrity of the embryo and the human fetus and is directed toward its safe guarding or healing as an individual. . . . It is gravely opposed to the moral law when this is done with the thought of possibly inducing an abortion, depending upon the results: a diagnosis must not be the equivalent of a death sentence."