And it appears that the two sources differ on whether ending an ectopic pregnancy is an "abortion". The first defines an abortion as an action taken with the intent of ending a pregnancy that could be successfully brought to term, which isn't the case for ectopic pregnancies. The second link's definition of abortion includes any action that results in the termination of the pregnancy, which would include dealing with an ectopic pregnancy.
I don't think any of those terms are correct. I would say any action that has as the primary object to cause a miscarriage is an abortion. Its wider than the first and narrower than the second. Ending an ectopic pregnancy is an abortion. Giving a woman chemotherapy for Leukemia and she miscarries as a result is not an abortion.
In medical terms, wouldn't it be not about intent but instrumentality?