The generic term for the treatment of an ectopic pregnancy seems to be "embryectomy":
ἐκ (ek, “out”) + τέμνω (témnō, “to cut”)
Stedman, Practical Medical Dictionary (1916), p. 302 calls embryectomy
The operative removal of the product of conception, especially in ectopic pregnancy.
Anderson, K. A., L. E. Anderson, Angie Dröber, and Ute Villwock. “E.” In Springer Lexikon Pflege, edited by K. A. Anderson, L. E. Anderson, Angie Dröber, and Ute Villwock, 264–319. Berlin, Heidelberg: Springer, 2002, 281:
Embryektomie. Operatives Entfernen eines Embryos, z.B. bei einer ektopischen Schwangerschaft.
[griech.: bryein, wachsen, ektome, ausschneiden.]
Embryectomy. Surgical removal of an embryo, e.g., in an ectopic pregnancy.
[Greek: bryein, to grow, ectome, to cut out.]
However, I see the term is rarely used in recent medical literature. A Google Ngram search reveals:
"Salpingectomy" is much more common (embryectomy, salpingectomy Ngram):
Is embryectomy still the proper medical term for the treatment of any type of ectopic pregnancy, or is a different term used?
Note: I'm interested in the generic term covering all types of ectopic (extra-uterine) pregnancies, not just those that occur in the Fallopian tube.
If it is a tubal ectopic pregnancy, a salpingectomy is done, and this term is in current use in more modern medical books:
From salping- (“of or relating to the salpinx [Fallopian tube]”) + -ectomy (“surgical removal”)
which involves a simultaneous embryectomy.
Cf. the etymology of "ectopic":
ἐκ (ek, “out”) + -topic τόπος (tópos, “place”)