However, the way the US medical system works is a doctor decides that you’re going to get a test, and then they perform it and bill you with no agreement or warning about what the price will be.
Not really. The doctor prescribes the test, but you decide where the test is done. Make sure the lab is listed as a preferred provider by your insurance plan. Good rule of thumb is to stick to major labs: Labcorp and Quest. Be very suspicious about local hospital lab, which usually will be much more expensive.
How about when you’re hospitalized? I don’t think had that choice when I was visiting Mayo as an outpatient, either. Perhaps theoretically. I have seen this option with my local physician, but it’s not as if there’s more than one lab in town that I can choose, especially with the restriction of insurance.
You are right. When you are hospitalized, you are in their clutches. I asked them once about getting my own Ibuprofen tablets instead of being charged $2 each. They refused.
In Arizona you can order common tests (from Sonora Quest) without a doctor. Unfortunately I don't think that's the case in most other states. Would be nice to fix.