A good example of where free market ideology falls flat
"Supply and demand" is not a free market claim, it is accepted by everyone.
I'm just pointing out that the NHS exchanges monetary cost with temporal cost - you're paying with your time rather than your dollars, for access. You're also paying dollars via tax, but that's unrelated to access.
A nation can accept or even demand this trade-off, and many do - but support tends to drop when it is made explicit.
The same applies if eg the government provides a service for a fee, or otherwise gates access to something. Eg H-1B visas to the US should arguably be auctioned off.