A jury has recommended an urgent review of legislation regarding the retention of adult mental health patients following the death of a man hours after he was discharged from a HSE mental health unit.