Cognitive impairment in patients with advanced heart failure and its implications on decision-making capacity.