Therefore, we determined that hydromorphone dosage, age, biological sex, BMI, WBC count, and CRP are significant risk factors in developing postoperative infections. Here, CRP is linked to infection.