The objectives of the study are to: 1) test the effectiveness of an automated intervention system called COMPACT for improving pain-relevant outcomes including physical functioning and pain intensity; 2) determine whether opioid monitoring promotes guideline concordant care; and 3) examine key components of the intervention process to inform future implementation.