There is no federal law that prevents state funds from being used to pay medical bills of undocumented immigrants which does happen in a number of states. There is also no law that prevents hospitals from writing off costs of treating indigent patients that have no insurance coverage even if they are undocumented.The parents came here with the intent of using taxpayer funds to pay for their medical care. That's theft. Our mercy is, they won't have to pay it back. That's what they get which is more than most thieves get. Deport the lot of them.
Unless the parents claim to be US citizens they broke no law in seeking medical treatment for their daughter. However, had the parents not sought any treatment for their daughter and she died, they could have been charged with child neglect or child abuse.