Unfortunately, doctors might be replaced by diagnostic AIs. It'll be AIs all the way down by then.
Someone will need to maintain these diagnostic AIs, doctors will take to programming too in some way or another. Unless we devolve into a giant sass where we’ll all become like cells to in larger organism. I have no doubt some will adapt but I wonder whether the humanity in people will survive. AI will certainly be able to make a very good imitation of it though
Considering bugs used to literally be bugs, that’s not far off.