Chronic pain patients taking long-term opioid analgesics ( n = 47 ) completed a dot probe task designed to assess opioid AB , as well as self-report measures of opioid misuse and pain severity , and then participated in behavioral treatment .