Obstetricians that specialise in maternal-fetal medicine are known as subspecialists.
https://healthlinemag.blogspot.com/2022/07/what-is-the-need-for%20fetal-medicine.html