(Sigh) If the law states only in a medical emergency, then it is typically up to the treating physician to determine that.
There are any number of medical complications that can classify as such an emergency:
Research is your friend:
"
Ectopic pregnancies—during which a fertilized egg implants itself outside of the uterus (mainly in one of the fallopian tubes)—are another example of medical emergencies. Ectopic pregnancies only occur in 1%-2% of pregnancies, but make up about
2.7% of all pregnancy-related deaths. A
fetus cannot survive an ectopic pregnancy, which, left untreated for too long, can be harmful or fatal for the pregnant person.
According to the
Kaiser Family Foundation, other life-threatening conditions for the pregnant person include:
severe preeclampsia, newly
diagnosed cancer that needs treatment right away, and an
intrauterine infection known as
chorioamnionitis following a premature rupture of the amniotic sac. A
placental abruption, in which the placenta separates from the uterine lining, may also be considered a medical emergency in some cases of extensive bleeding.
These
fetal abnormalities—which may only be detected on a 20-week fetal anatomy scan—include
anencephaly (an underdeveloped brain and incomplete skull),
renal agenesis (absence of one or both kidneys), and
hydrops fetalis (extensive fluid build-up and swelling)."
https://www.health.com/news/abortion-medically-necessary
Now I am also certain there may be legal issues raised in certain "hard States." That's when you take it back to the Courts.
Meanwhile, once again, if you wish to effect change, do it at the ballot box.