The doctors I encounter are the equivalent of a junior developer right out of code school, checking the docs for everything. That might be OK, if we were paying them commensurately with their value add.
Similarly, my doctor _should_ know how human anatomy and microbiology work by default, but the person that they are speaking to is essentially a black box. When that black box is diseased, then it's as if the body has imported a library. They cannot easily check the source code to determine which library they have imported or what calls it is making, so they hunt through a bug database to determine which library they have imported and what the code is doing, and then they have to find a way to get that code out of the system, still without access to the source. Of course, they will probably know some things (sinus infection, flu) by default, but medical science is constantly updated. Still, that knowledge of anatomy, microbiology, etc., is tantamount in being able to accurately use that data for assessment.
You might need to adjust your expectations.
I check documentation all the time because I can't remember what language uses 'size', 'size()', 'length', 'length()', 'count', or 'count()'. I have no value in memorizing those facts because I can simply look them up.
If you think of a modern hospital as a direct organizational descendant of a war triage hospital, albeit one that is dealing with the health issues that kill the American public (generally cancer, heart disease and other manifestations of our unhealthy lifestyles), then you will have a better idea of when to go there. i.e. your problem must be acute.
If you are an average salaried software engineer, you can accumulate more wealth than a doctor if you invest at recommended rates. The break even point is somewhere around 60-65 years of age.
Irrelevant of the salary, most medium cities will only have a handful of tech roles available, at best. It's super hard to find and hold a job.
Veterinarians pay about the same for their schooling (but they don't really have residencies) and vets make ~70k-80k/yr.
If we think of a job's salary as a function of the talents used by the job and the cost of admission to the job, it's unclear why doctors and vets should earn substantially different amounts of money.
But I agree that it's easier to accumulate wealth as a non-doctor than a doctor. Just treat the first couple years of your career like medical school and it shouldn't be too hard to crack 6 figures - if you live modestly outside a megaopolis, you can save 40k/yr and get a six figure headstart over a doctor.
Many Univ. alumni associations will provide access to UpToDate along with their regular academic journal access library. My Univ. was an upfront $200 lifetime fee or a $10/year fee. Compared to NetFlix, the benefits are insane and obvious.
The doctor wanted to prescribe muscle relaxers and pain relievers, and suggested I try massage therapy. While those things helped some of the symptoms, what completely transformed my situation was hiking and doing yoga (especially yoga). I never have pain like I used to in my back, neck, and shoulders and any that does arise never lingers like it used to.
My doctor did not suggest yoga or hiking (or exercise in general) to solve the issues I was having. I know it's an anecdote, but in general in my life doctors seem to try to be experts on matters of health yet can't seem to help with basic beneficial suggestions for certain issues.
I had RSI in my wrists for years. I had several different diagnoses, and none of the treatments worked. Finally I found Dr. Sarno's book and my RSI has been gone since then.
I guess my point is - we pay these people a lot, and they aren't even particularly competent at what they do. I'm sure the Mayo Clinic specialists are, but those folks are making more like 500k a year. To be competent.