Health officials alleged the doctor accepted ₹40,000 from a pregnant woman before revealing the sex of the foetus.