Assessing the decision-making capacity