Obtaining consent to a life-sustaining treatment for a patient with a major psychiatric illness