A Model-Based Approach for Joint Analysis of Pain Intensity and Opioid Consumption in Postoperative Pain