These issues are similar to "lifeboat ethics". A great movie, made in 1957 features a lifeboat crowded with too many people. At least a dozen need to be tossed overboard, where they will die. How to decide who goes? It is not easy. The movie goes by several names: "Seven Days From Now", "Abandon ship", or "Seven Waves Away". It's on Youtube & it's worth a look. There are doubtless newer movies with the same theme; but, this one is the only one I remember & there are parts of it I'll probably never forget.
I would give the hospital care, drugs, medical equipment, etc. to the one who could afford to pay for them.
That precept wouldn't work, e.g., in a Veterans' Administration hospital, I admit, but in private hospitals...
Regards,