Advance directive
Advance directive is someone's written statement made in advance which includes his/her wishes and directives regarding medical treatment.
It is generally made by someone ill, and intended to be carried out by the doctors should the person be unable to communicate them in person.