medical evaluation for pain medication