My understanding is that the medical principle has always been to put the life of the mother ahead of that of the unborn child, if it should ever, God forbid, come to having to choose. Long standing principle, too. Dates back to Roman times. As far as I know, such abortions are perfectly legal in all States of the US (and indeed every country in the Western world).
Much more common in days gone by of course, when gynaecology was not so well understood and effective medicines less available, but I had a friend, a Christian lady, who had to have an abortion on medical grounds.
That is morally corrupt.
It is my belief that the only consistent approach is what the Catholic Church teaches...that no illicit act can be made licit due to a desire achieve a desirable outcome for another being. All direct abortion is intrinsically evil.
"The inalienable right to life of every innocent human individual is a constitutive element of a civil society and its legislation:
'The inalienable rights of the person must be recognized and respected by civil society and the political authority. These human rights depend neither on single individuals nor on parents; nor do they represent a concession made by society and the state; they belong to human nature and are inherent in the person by virtue of the creative act from which the person took his origin. Among such fundamental rights one should mention in this regard every human being's right to life and physical integrity from the moment of conception until death.'(79)
'The moment a positive law deprives a category of human beings of the protection which civil legislation ought to accord them, the state is denying the equality of all before the law. When the state does not place its power at the service of the rights of each citizen, and in particular of the more vulnerable, the very foundations of a state based on law are undermined. . . As a consequence of the respect and protection which must be ensured for the unborn child from the moment of conception, the law must provide appropriate penal sanctions for every deliberate violation of the child's rights.' (80)
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.
“but I had a friend, a Christian lady, who had to have an abortion on medical grounds.”
Exceedingly rare for that to occur. Most of the time the womans body will reject the baby if its harming her. As one doctor/congressman said “in 20 years of delivering babies I have never seen this happen”.