Barwon Health has faced court after a woman took her own life while undergoing treatment at the Swanston Centre in Geelong, an acute psychiatric unit.