A prospective study of pain and psychological functioning following traumatic spinal cord injury