? All medical consultations are free in this system. It's rationed by queuing - if your condition isn't urgent you may have to wait a few more months for a specialist.
Someone pays. All the software devs in this thread ranting about overpayment of physicians should think about their hourly consultation rate and their praise of articles like "fuck you, pay me". Or other articles talking about how "many years of experience built to give me the ability to provide a solution in 5 minutes, which is why I deserve to charge $150 an hour".
Physicians are the same. Someone has to pay for our services. In other systems, taxes pay. In the USA, insurance and the patient does.