They help the dying identify what matters most to them at the end of their lives and work out how to make it happen — what one might call a ‘good death’