What should have always been done is to add up the expenses and send the bill to their home nation. If, as is so often the case, their home nation is getting money from the US, either official US aide or via remittances from non-citizens here sending money back home, that money should be used to pay the accrued medical bills.
I love it when a plan comes together.