Assessing decision-making capacity at end of life.