Total hip arthroplasty is associated with moderate to severe pain in the acute postoperative period, which can increase the risk of postoperative complications such as thromboembolism, myocardial ischemia/infarction, pneumonia, poor wound healing, insomnia, and delirium.