Unfortunately, the original Hippocratic oath that many doctors swear to includes a line about not performing abortions or prescribing abortifacients.
It is my understanding that, at the time that version of the oath was written, that was less a prohibition of abortion and more a matter of pregnancy and abortion being under the purview of midwives, not physicians.
To that point, I wrote my own medical oath that I will hold to because I think that things like autonomy, free choice, and dignity in death are actually important.