A risk assessment tool has helped bring down the number of injuries staff get from psychiatric hospital patients.