Say that a John Doe case (i.e. someone whose identity is unknown and the patient can't tell them) comes into the hospital and collapses, becoming incapacitated. They receive treatment yet ultimately die.
As the hospital staff doesn't know the identity of the John Doe, they can't tell if they have insurance to pay for the coverage, nor do they have any known next of kin. So who is ultimately responsible for their medical costs?
This question was inspired by the 2016 Doctor Strange movie where Strange brings the Ancient One into the hospital yet she dies, then Strange leaves without identifying her.