The model performance was evaluated by the area under the receiver operating characteristic curve (AUC), calibration curve, and decision curve analysis (DCA).<h4>Results</h4>The final model included 6 key predictive factors (including disease duration, baseline pain intensity, Patient Health Questionnaire-9 depression score, pain catastrophizing score, interleukin-6, and high-sensitivity C-reactive protein levels). This evidence concerns the gene IL6 and depressive disorder.