An advance directive is a person's right to plan the treatment and care they wish to receive or refuse at the end of their life.