In a recent year, 28.7% of all registered doctor were female. If there were 49,400 female registered doctors that year, what was the total number of registered doctors? Round your answer to the nearest whole number.

Let the total number of registered doctors be x.

If 28.7% of all registered doctors were female, then 28.7/100 * x = 49,400.
Multiplying both sides by 100/28.7, we get x = 49,400 * 100/28.7 = 171,668.89.
Rounding to the nearest whole number, the total number of registered doctors is 171,669. Answer: \boxed{171669}.