The Supreme Court also urged the Centre to enact a comprehensive legislation addressing end-of-life care in the country.