Boilerman having linked the story of a hospital going broke due to treating non-citizens, here is what I know:
There are laws requiring hospitals to treat anyone, anyone, who presents in an ER for care, 'legal' or non-legal. You and I who have insurance or other means of paying for care...yes, we pay, and yes we float the bill for those who don't. That's just the way this works in the US.
The extent of care given all depends. For one, no pregnant woman claiming to be on the brink of giving birth or other related distress absolutely can be sent away from and ER. She might be transferred to another system where she can receive care, but if she is just told "sorry, no pay, no care" that hospital will suffer the consequences.
The severity of condition of anyone presenting in ER is certainly considered, but all will receive a basic intake exam, basic stabalization or higher level of care if necessary. And referral to a system where his problems (often mental) can be addressed. If they show up.
There are systems in place to pay for indigent care. Social Workers are consulted to dig into what is available for that person. And "illegal" as related to care or housing or anything is complex, as most of us know.
My mother's parents came through Ellis Island from Wales. Shamefully I don't know details as I should, and of course they are long gone , but they relocated to Ohio, Pennsylvania areas amongst other Welsh. I know that Granddad work railroads, others worked coal mines, others established feed/grain mills. But they worked and raised their families, nothing free to them. They weren't looking for a handout, and back then there were few if any handouts, just humane conditions. Nothing is perfect and never will be perfect. Everything under the sun has conditions to it. You can't generalize about those who came to America via Ellis Island or any other way.
And, BTW, any of you guys have children? Guess what? I paid hefty health insurance premiums to have "family" coverage for my husband and myself. We never had children. My insurance premiums covered your care and the wife's pre-natal, pregnancy, delivery, etc. So...you got some "free shit" from me as I paid for health insurance. Of course it works both ways, as insurance does. Thanks for any contributions to my health care as you paid for yours.
Candy