Dr Sara MacRae took her own life in her room at the Royal Edinburgh psychiatric hospital in March 2020.