Adjusting for Time Varying Confounding in Adaptive Interdisciplinary Pain Management Program