case based pain management