Wow, you will probably be blasphemed for your statement but it needed to be said.
If you want heroic end-of-life measures, be sure to get rich during your life.
Just as food, shelter and jobs are not rights, neither is health care. Access to these things is a right but the things themselves must not be guaranteed by the state.
Providing these things provides short term benefits, especially for lying politicians, but eventually destroys the host.
Tons of money spent on so called heroic procedures aren't spent for the patient or the patients family. It is spent by a corrupt medical establishment that takes every opportunity to gouge the government system and government system corrupt enough to take the payoff(campaign contributions)to let them get away with it!!!