Among adults with chronic pain, people with certain types of pain are more vulnerable to depression and anxiety.