See living will.
Declarations by patients, made in advance of a situation in which they may be incompetent to decide about their own care, stating their treatment preferences or authorizing a third party to make decisions for them. (Bioethics Thesaurus)
A document about final wishes of an individual. It is drawn up in case the person becomes unable to make their own decisions. AKA living will.