This study was approved by the Ethics Committee of The Second People's Hospital of Liaocheng. Written informed consent was obtained from all participants before enrollment. The study was conducted at The Second People's Hospital of Liaocheng between December 2021 and October 2025. The reagents and the equipment used are listed in the Table of Materials.
Study subjects
Adult patients presenting with diabetic foot ulcers (DFUs) were screened according to the Practical Guidelines on the Prevention and Management of Diabetic Foot Ulcers. Participants were confirmed to be at least 18 years of age, to have a DFU requiring routine dressing changes at least twice weekly, to have had an ulcer for at least 1 week, and to be capable of understanding and completing pain assessments. Patients with severe organ failure, malignant disease, autoimmune disorders, psychiatric illness, cognitive impairment, allergy to the study analgesics, recent participation in another clinical trial, or severe infection requiring emergency surgery were excluded. The study procedures were explained to all eligible participants, and written informed consent was obtained before enrollment. Each participant was assigned a unique study identification number, and demographic and clinical information were recorded using a standardized case-report form.
Baseline clinical data collection
Baseline clinical data, including age, sex, body mass index, duration of diabetes, HbA1c, ulcer duration, ulcer area, ulcer depth, infection status, educational level, history of chronic pain, and Self-Rating Anxiety Scale (SAS) score, were recorded before the first dressing change. All collected data were independently verified by two trained investigators. Any discrepancies were resolved through source-document verification. The verified data were then entered into the electronic database using a double-entry verification process.
Standardized wound dressing procedure
All sterile dressing materials were prepared before the procedure was initiated. Participants were positioned comfortably with the affected foot fully exposed. The previous dressing was removed gently to minimize tissue trauma. The wound was thoroughly irrigated using sterile normal saline maintained at 22 °C ± 2 °C. Loose necrotic tissue was debrided using sterile instruments when clinically indicated. Antibacterial ointment was applied according to institutional wound-care guidelines. The wound was then covered with sterile gauze, and the dressing was secured. All dressing changes were performed using the same standardized technique by the same certified wound-care nurse whenever possible. Dressing changes were carried out twice weekly throughout the study period. Complete wound coverage and secure dressing placement were confirmed before the procedure was concluded.
Assessment of dressing-change pain
Immediately after each dressing change was completed, participants were instructed to rate their pain using the Visual Analog Scale (VAS). The VAS was explained, with a score of 0 representing no pain and a score of 10 representing the worst imaginable pain. Pain scores were recorded after three consecutive dressing changes, and the mean VAS score was calculated for each participant. The mean VAS score was used as the final dressing-change pain score. Participant understanding of the VAS scoring method was confirmed before the final score was recorded.
Wound photography
The wound was cleaned before image acquisition. Participants were positioned comfortably with the wound fully exposed. A sterile metric ruler was placed adjacent to the wound for image calibration. Wound photographs were captured using the same digital camera under identical lighting conditions. The camera was positioned perpendicular (90°) to the wound surface and maintained at a constant distance of approximately 30 cm from the wound. All photographs were saved in JPEG format without compression and labeled with the participant identification number and assessment date. The entire wound margin and the calibration ruler were confirmed to be clearly visible before each image was accepted.
Ulcer area measurement using ImageJ
Each wound photograph was opened using ImageJ software. The image scale was calibrated using the metric ruler included in the photograph by selecting Analyze → Set Scale. The entire wound margin was carefully traced using the Polygon Selection tool, and the ulcer area was measured by selecting Analyze → Measure. The ulcer area was recorded in cm2. Each measurement was repeated twice, and the average value was used for statistical analysis. Image analysis was repeated whenever the wound margins could not be clearly identified.
Personalized analgesic care regimen
Participants predicted to have a Visual Analog Scale (VAS) score of <4 were classified as low risk and received reassurance, routine wound care, gentle dressing techniques, and music therapy during dressing changes. Routine prophylactic analgesics were not administered to this group.
Participants predicted to have a VAS score of 4–6 were classified as moderate risk. Oral ibuprofen sustained-release capsules (0.3 g) were administered 30 min before each dressing change. Guided abdominal breathing exercises were performed, and a periwound cold compress maintained at 4–8 °C was applied for 10 min before dressing changes.
Participants predicted to have a VAS score of ≥7 were classified as high risk. Oral ibuprofen sustained-release capsules (0.3 g) were administered 30 min before dressing changes, and cognitive-behavioral preparation and distraction techniques were provided. If the VAS score remained ≥7, intravenous flurbiprofen axetil (50 mg) was administered as rescue analgesia according to institutional guidelines. All assigned interventions were completed before every scheduled dressing change. Completion of the assigned analgesic intervention was confirmed before the dressing procedure was initiated.
Outcome assessment
Visual Analog Scale (VAS) scores were recorded at baseline and after 4 weeks. Ulcer area was measured at baseline and after 4 weeks using ImageJ. The percentage reduction in ulcer area was calculated using the following formula: Ulcer-area reduction (%) = [(Baseline ulcer area − Week 4 ulcer area) / Baseline ulcer area] × 100. Wound-healing time was recorded from the initiation of the intervention until complete epithelialization. Treatment adherence was monitored throughout the study, and adverse events, including gastrointestinal discomfort, dizziness, and somnolence, were recorded. Complete epithelialization was independently confirmed by two experienced wound-care clinicians before wound-healing time was documented.
Quality control
All investigators were trained before study initiation. Standardized operating procedures were followed throughout the study. Clinical data were verified using an independent double-entry verification process. The clinical assessment environment was maintained at 22 °C ± 2 °C whenever feasible. Wound photographs were reviewed before ImageJ analysis to ensure adequate image quality. ImageJ measurements were performed by trained investigators who were blinded to treatment allocation.
Statistical analysis
All verified data were entered into the study database after completion of double-entry verification. Statistical analyses were performed using IBM SPSS Statistics Version 26.0. Continuous variables were expressed as the mean ± standard deviation (SD) or median (interquartile range [IQR]), according to the data distribution, whereas categorical variables were expressed as frequencies and percentages. Data normality was assessed before statistical testing. Univariate linear regression analysis was performed to identify variables associated with dressing-change pain, and eligible variables were included in a multivariable linear regression model according to the predefined selection criteria. The final prediction model was constructed using the regression coefficients obtained from the multivariable analysis. Internal validation was performed using bootstrap resampling with 1,000 iterations. The required sample size was calculated using PASS Version 15.0. A two-sided P < 0.05 was considered statistically significant. Data completeness was verified, and all assumptions for linear regression were confirmed before the final prediction model was reported.