Well, that's the downside of publicly funded healthcare: government pays for your treatment, so government gets to decide if you are worth the expense. Which of course is completely fucked up.
but state funded healthcare makes sure even the poorest get some form of care. and yes, they will triage.