I think you’re not sufficiently taking into account the demographic trajectory of age distribution [0], and the lag induced by the length of the human lifespan on health improvements. For the next few decades, more doctors will be needed.
[0] https://www.calculatedriskblog.com/2013/08/us-population-dis...