At the moment, people can make an advance medical request to specify, for example, that they do not want to be resuscitated if they have a stroke or cardiac arrest. People might wish to avoid the risk of sequelae stemming from such an event.
That exists already, doesn't it?