Controlling the environment to prevent suicide