Tailored therapy for chronic pain, depression, anxiety and OCD