You paid all that because you were to the Private Sector, if you went to the Public you would pay according to the earnings, or pay nothing.
Emergencies are always taken care and the billing, if there's a reason to be billed, is only afterwards and you don't even have to pay at the moment...