The Karnataka government passed an order on Friday to implement the Supreme Court's directive on the right to die with dignity for terminally ill patients.