Brain functions as an integrative component of psychological-psychological diagnostics