Algorithms in psychiatry: state of the art.