I'm glad this worked out for you, but if one is visiting the doctor because of some symptoms, rather than visiting a technician to have a specific, prescribed, and highly standardized service (like an MRI) performed, I'm sure you'd agree that situation is different.
It's simply not in the nature of medical care to have price-tags (although the situation could certainly be better that what we have in the US today).
I'd argue this is the case with all sorts of expertise-based services, actually - auto mechanics, lawyers, consultancies of all kinds, etc. You can't know how much a visit to your lawyer will cost unless you know exactly what you need - but much of the time you don't know what you need. You're visiting the lawyer so he can figure out what you need.
Yet every time I see an article that involves economists pondering medical care costs, this fundamental uncertainty (at the personal level) is just elided, as if the economists never thought of that. As if they never actually deal with the health care system themselves.