If you have a first hand experience of what doctors do then you are a doctor yourself and have skewed perception of that trade. If you are not then you just do not know much about it. It may be a trade but it is a skilled trade and not much software can replace that yet. As with many other things some manual highly skilled work is needed and can be augmented by a lots of automation that could (in theory) slash a huge part of your bill.
As for truly innovative coders - by themselves they cannot do much still, especially that coding by itself is just part of the whole development process.
As for your claim on doctors and teachers pay - I googled a bit because I grew curious. There was a report by this asshat in white house that there are some places where these salaries are on par but there is no report apparently confirming that. See
here for reference.
I can see where your ignorance is taken from - I medicate myself and my kids as much as I can and that is much more than any of my neighbuors and colleagues would trust themselves yet as soon as symptoms reach levels I cannot be sure what they indicate I go to a doctor if only to be told to take rest and wait till the sick body cures itself (supported by checks on symptoms that I cannot verify myself like: blood tests, how my throat looks like and other things that I have no clue about). Doctors have as much difficult work as troubleshooters of complex systems that have to judge where fault is on basis of very limited and often confusing information. I can hardly see this being replaced by machines any day soon albeit the automation of some of the tasks can be of great help especially as the knowledge well is so deep today that pulling basket from it maybe beyond reach of a normal human without an intelligent mechanical helpers.
Looking at this then I must conclude that your post is just a nice trolling attempt. Or do you happen to have data confirming your view point? Do not worry if it is long as long as it is well structured.