A logistic equation to determine the validity of tramadol from related gene polymorphisms and psychological factors.