ANSWER:
This person is an ignorant Kafir!
Only Allah knows what is in the wombs even in the presence of technology! Doctors can’t tell the gender of a fetus before it develops organs! Allah knows the gender way before that. Besides, Allah knows whether the born child would be healthy or not, Wealthy or poor and righteous or a sinner.
No medical doctor can know what is in the wombs except Allah.