In the case of risk to a mother's life, like ectopic pregnancy specifically, I'd imagine that an abortion procedure would fall under self defense laws, which already cover those "him or me" kind of scenarios. I find it unlikely that any prosecutor would push those cases into court.
In the case of miscarriage, under this you would handle it like any other death is handled. If there were signs of foul play you look at a manslaughter or murder investigation and charges.
Invitro is done under this. Making that process comply with the law would make it outrageous. Birth control is in really strange waters with this, as the pill can cause fertilized eggs to fail to implant.
Once you hear the ultrasound, most rational folks agree that the baby is, well, a baby. I agree with the idea, but codifying it into law seems like it opens pandora's box.
I'm thinking a much better use of time and cash is giving kids some condoms and making them care for a kid for a few days. Guarantee the demand for abortions and the unmarried birth rate would go down.