Abstract
Objective
Physical activity is increasingly recognized as an important factor in recovery after orthopedic surgery, but objective evidence remains limited. This study examined whether wearable-derived preoperative activity levels were associated with recovery outcomes following Total Knee Arthroplasty (TKA).
Methods
In this prospective longitudinal study, 30 adults undergoing unilateral TKA for knee osteoarthritis wore validated thigh-mounted accelerometers for up to two weeks preoperatively and for three months postoperatively. Participants were classified into low-, moderate-, and high-activity groups based on preoperative 24-hour activity intensity profiles. Recovery was assessed using continuous accelerometer-derived activity metrics and patient-reported outcomes (PROMs), including the Knee injury and Osteoarthritis Outcome Score (KOOS).
Results
Higher preoperative activity levels were associated with more favorable objective recovery after TKA. Compared with the low-activity group, the high-activity group showed higher postoperative activity intensity and total steps, with 2.6-fold higher activity intensity and 2.2-fold higher total steps. During the first postoperative month, the high-activity group also showed faster increases in activity intensity and total steps. In contrast, KOOS subscale scores improved over time but did not differ significantly between activity groups.
Conclusion
The findings of this study highlight the importance of accounting for baseline activity when interpreting wearable-derived postoperative recovery patterns. They also suggest that objective monitoring can provide information on functional recovery that may not be captured by PROMs.
Keywords
1. Introduction
Total knee arthroplasty (TKA) is a commonly performed procedure designed to relieve pain and restore function in patients with advanced knee osteoarthritis unresponsive to conservative treatment. 1 Although TKA is highly successful overall, recovery trajectories vary considerably among individuals, reflecting the influence of multiple factors such as perioperative care, pain management, and rehabilitation strategies.2,3 Understanding these factors is essential for optimizing patient management, tailoring rehabilitation, and ultimately improving satisfaction and functional recovery. 4
Preoperative physical activity has been identified as a potentially adjustable factor associated with postoperative recovery.5–9 However, most prior studies investigating this relationship have relied on discrete assessments; either subjective, such as questionnaires, or objective, like accelerometer readings taken during brief laboratory visits.5,6,10 Such discrete assessments may limit the ability to capture habitual and nuanced activity patterns. 11 Moreover, earlier research has predominantly relied on patient-reported outcome measures (PROMs) such as the Oxford Knee Score or Knee Society Score, which may overestimate recovery when compared with objective performance-based assessments. 12
Advances in wearable sensor technology now enable continuous monitoring of daily physical activity, providing detailed insights into real-world behaviors that go beyond self-reports. 13 Diurnal activity profiles captured by wearable sensors can reflect patients’ functional capacity and behavioral adaptations to chronic pain, making them potential markers of postoperative recovery patterns.14,15 However, most existing research has focused on postoperative activity, leaving a critical gap in understanding the relationship between preoperative activity patterns and postoperative functional and PROMS. 16
This study investigated whether preoperative physical activity patterns, measured objectively using wearable sensors, are associated with recovery after TKA. Specifically, we examined how daily activity profiles before surgery relate to postoperative mobility, pain, and quality of life. We hypothesized that patients with more intense and consistent preoperative activity would show more favourable objective recovery after surgery.
2. Method
2.1. Study design and participants
This prospective longitudinal observational study was conducted at Aalborg University Hospital and Capio Private Hospital in Denmark between March and October 2024. Ethical approval was granted by the North Denmark Regional Committee on Health Research Ethics (Journal number: N-20230035). All study procedures complied with the Declaration of Helsinki and the General Data Protection Regulation. Written informed consent was obtained from all participants prior to enrollment.
Participants were eligible for inclusion if they were adults aged 18 years or older and scheduled for unilateral TKA due to knee osteoarthritis that had not responded to non-surgical management. Inclusion criteria required independent ambulation, ownership of a smartphone compatible with the study’s mobile application, and willingness to wear a physical activity tracker continuously throughout the study period. Participants were excluded if they had a Clinical Frailty Scale score of 5 or higher, severe comorbidities, recent surgery involving the lower limbs or spine within the past six months, cognitive impairment, dermatological conditions at the sensor attachment site, or used walking aids prior to surgery. Perioperative management was standardized across both sites, including analgesia, postoperative mobilization, and rehabilitation. Patients at both hospitals followed the same clinical pathway, with the same postoperative treatment and rehabilitation principles.
2.2. Physical activity data
Participants were equipped with SENS Motion® trackers (SENS Innovation ApS), which are medical-grade wearable accelerometers that have been validated in previous studies.17,18 The sensor was attached to the lateral distal thigh and worn continuously, 24 hours per day, throughout the monitoring periods. Data were synchronized daily via a dedicated smartphone application to a secure cloud platform. The sensor battery supported uninterrupted monitoring across the 3-month follow-up period, and participants were instructed to open the mobile application regularly to enable synchronization. If synchronization had not occurred within 72 hours, participants were contacted directly. Patch or sensor replacement was performed as needed during follow-up.
Data collection began two weeks prior to surgery and continued for three months postoperatively. Preoperative physical activity was assessed using available valid sensor data collected within an up-to-14-day monitoring window before surgery. This window was selected to provide stable and reliable estimates of habitual physical activity, as recent evidence indicates that 7 to 10 days of wearable monitoring are generally required to achieve acceptable reliability for key activity metrics. 19 A day was considered valid/analyzable when at least 95% of the 24-hour recording contained valid sensor data. Periods without valid sensor signal or synchronization were treated as missing/non-wear and were excluded from daily summaries.
The SENS Motion algorithm classified daily physical activity into several physical activity parameters. • • • •
Physical activity parameters were aggregated into 24-hour summaries per participants and segmented into different periods (preoperative, and postoperative months 1, 2, and 3). In addition, hourly activity intensity profiles were generated by summing intensity counts within each hour of the day and averaging across days per participant and period. This enabled the construction of individualized diurnal intensity curves for each recovery stage.
Preoperative hourly physical activity intensity counts were analyzed to identify distinct patterns of daily activity behavior. For each participant, a mean 24-hour preoperative activity profile was created by averaging their daily activity intensity curves over all monitored days before surgery. This mean profile was then modeled as a smooth curve using a 7-term Fourier basis expansion, representing the typical diurnal activity rhythm for that participant as a sum of sinusoidal functions. This approach acts as a low-pass filter and effectively captures the dominant cyclical patterns in daily activity while minimizing high-frequency noise and smoothing out minor day-to-day fluctuations. The resulting functional representations were normalized using feature-wise z-scores and clustered using hierarchical clustering. 20 Candidate solutions with k = 2, 3, and 4 were compared using internal validity indices (silhouette, Calinski–Harabasz, and Davies–Bouldin). The 3-cluster solution was retained as the primary specification based on overall interpretability and sample-size considerations.
Recovery across the resulting preoperative activity clusters was then examined by visually comparing hourly activity intensity profiles at 1, 2, and 3 months after surgery. In addition, daily values for step counts, including regular continuous, slow continuous, sporadic walking, and total steps calculated as the sum of these three categories, were extracted together with sit-to-stand transitions, activity intensity count, and time spent in distinct postural behaviors including resting, sitting, standing, and walking. These outcomes were analyzed across the 90-day postoperative period, as described in the Statistical Analysis section.
2.3. Patient-reported outcomes (PROMs)
Patient-reported outcomes (PROMs) were collected electronically using REDCap (Research Electronic Data Capture). 21 The Knee Injury and Osteoarthritis Outcome Score (KOOS) was administered at each study phase, including the preoperative assessment and the postoperative assessments at 1, 2, and 3 months. The KOOS comprises five subscales: Pain, Symptoms, Activities of Daily Living (ADL), Sport and Recreation, and Quality of Life (QoL).
2.4. Statistical analysis
Baseline characteristics were compared across the three preoperative activity clusters using one-way analysis of variance (ANOVA) or Fisher’s exact test, as appropriate.
The primary outcome was activity intensity count, derived from the wearable sensor as a measure of overall movement intensity based on acceleration magnitude. Secondary outcomes included step-based measures, sit-to-stand transitions, postural behavior outcomes, and KOOS subscales.
Postoperative physical activity outcomes were analyzed using generalized estimating equations (GEE) to account for repeated daily observations within participants. Analyses were performed within three predefined postoperative periods (days 0–30, 31–60, and 61–90). Within each period, cluster-only models were used to estimate between-cluster differences, and additional models including day-in-block, cluster, and their interaction were used to examine differences in recovery slopes. Negative binomial GEE models were used for step-based outcomes and sit-to-stand transitions, Gamma GEE models with a log link were used for activity intensity, and Gaussian GEE models on logit-transformed proportions were used for postural behavior outcomes. For negative binomial and Gamma GEE models, exponentiated coefficients are presented, whereas Gaussian GEE estimates are reported on the transformed model scale. False discovery rate adjustment was applied to key between-cluster comparisons to address multiple testing. Model assumptions were assessed using residual and distributional diagnostics. Within each postoperative month, cluster-specific rates of change were estimated from the fitted models, and pairwise comparisons were used to assess whether these rates differed between clusters. Results are reported as model-based effect estimates with 95% confidence intervals.
For visualization, daily wearable-derived recovery outcomes were plotted as model-based estimated trajectories over the first 90 postoperative days with 95% confidence intervals.
KOOS subscales were analyzed using linear mixed-effects models with fixed effects for time, preoperative activity cluster, and their interaction, with a random intercept for participant. For visualization, KOOS subscale scores were plotted as group means with 95% confidence intervals.
To assess potential baseline confounding, key baseline variables were examined across clusters, and additional sensitivity analyses were performed with adjustment for BMI, age, sex, and comorbidity presence.
Statistical significance was defined as a two-sided p value < 0.05. Missing data were not imputed, and longitudinal analyses were performed using all available observations. All analyses were conducted in Python version 3.12.2.
3. Results
3.1. Study population
Baseline demographic and clinical characteristics stratified by preoperative activity.
Sixteen participants underwent right-sided, and 14 underwent left-sided TKA. Previous surgery was reported by 18 participants, most commonly involving the knee, and 17 participants reported at least one comorbid condition, most commonly hypertension. Baseline characteristics were broadly similar across clusters; BMI was the only variable that differed significantly between groups (p = 0.040), with lower BMI in the moderate-activity group than in the low-activity group (post hoc p = 0.043). In sensitivity analyses adjusting for BMI, age, sex, and comorbidity presence, the principal associations for activity intensity, total steps, and regular continuous steps remained broadly consistent. Some secondary step-pattern associations, including sporadic steps and the moderate-versus-low comparison for slow continuous steps, were attenuated after adjustment and were therefore interpreted cautiously.
3.2. Physical activity outcomes
Wearable data completeness was high throughout data collection. Across all recorded study days, mean valid wear percentage was 95.3%, and 2659 of 2794 recorded days (95.2%) met the analyzable-day criterion. In the preoperative period, 299 of 378 expected days were available, of which 297 days (99.3% of recorded preoperative days) were analyzable. By study period, analyzable days represented 98.6% of expected days in month 1, 100.0% in month 2, and 89.8% in month 3, since the three participants had incomplete postoperative activity records, with data collection ending at postoperative days 48, 53, and 72, respectively. These individuals were included in the analyses up to their last available time point.
Analysis of preoperative physical activity data identified three distinct patterns using hierarchical clustering of 24-hour activity intensity profiles, revealing clear inter-individual differences in diurnal activity patterns prior to TKA (Figure 1). Cluster 1, characterized by low activity, showed the lowest levels of physical activity throughout the day, with only a gradual increase beginning in the early morning and remaining consistently low across waking hours. Cluster 2, the moderate activity group, displayed a pronounced peak in the morning followed by a steady decline during the afternoon, with a smaller secondary rise later in the day. Cluster 3, representing high activity, maintained the highest and most sustained activity levels across the day, with sharp increases in the early morning that remained elevated into the late afternoon before gradually tapering in the evening. Preoperative hourly activity intensity profiles by preoperative activity group. Lines represent mean hourly activity intensity counts across the 24-hour day for each preoperative activity group. Shaded bands indicate 95% confidence intervals. Orange indicates the low-activity group, blue the moderate-activity group, and green the high-activity group.
Over the three-month postoperative period, distinct recovery trajectories were observed across the preoperative activity clusters (Figure 2). All groups experienced an initial decline in physical activity immediately after surgery. The high-activity group appeared to show the greatest recovery in both activity volume and diurnal rhythmicity, while the moderate-activity group showed intermediate recovery with progressive increases in activity and gradual re-establishment of a structured daily pattern. In contrast, the low-activity group exhibited only modest gains, maintaining a blunted and low-intensity activity profile throughout the follow-up period. Postoperative hourly activity intensity profiles by preoperative activity group. Panels show mean hourly activity intensity counts for each preoperative activity group during postoperative months 1, 2, and 3. Shaded bands indicate 95% confidence intervals. Orange indicates the low-activity group, blue the moderate-activity group, and green the high-activity group.
Key longitudinal associations between preoperative activity cluster and postoperative physical activity outcomes. Effect estimates are exponentiated coefficients for negative binomial and Gamma GEE models and regression coefficients on the transformed model scale for Gaussian GEE models.

Postoperative recovery of daily activity outcomes by preoperative activity group. Panels show model-based estimated trajectories across the first 90 postoperative days; shaded bands indicate 95% confidence intervals. Points represent observed daily values, dashed horizontal lines show group-specific preoperative means, and the dashed vertical line marks surgery. Y-axes were limited for visualization; model estimates used all valid observations. Orange indicates the low-activity group, blue the moderate-activity group, and green the high-activity group.
For postural behavior outcomes, fewer cluster-related differences were observed (Table 2, Figure 4). Resting time was lower in the high-activity cluster than in the low-activity cluster, sitting time was higher in both the moderate- and high-activity clusters than in the low-activity cluster, and walking time was higher in the high-activity cluster than in the low-activity cluster. Standing time did not differ significantly between clusters after correction for multiple testing. Postoperative recovery of daily postural behavior outcomes by preoperative activity group. Panels show model-based estimated trajectories across the first 90 postoperative days; shaded bands indicate 95% confidence intervals. Points represent observed daily values, dashed horizontal lines show group-specific preoperative means, and the dashed vertical line marks surgery. Y-axes were limited for visualization; model estimates used all valid observations. Orange indicates the low-activity group, blue the moderate-activity group, and green the high-activity group.
Time-by-cluster analyses identified significant differences in rates of change for selected outcomes. During the first postoperative month, activity intensity increased faster in the high-activity cluster than in the low-activity cluster (effect ratio per day 1.02, 95% CI 1.00 to 1.03; p = 0.016). Total steps also increased faster in the high-activity cluster than in the low-activity cluster during month 1, although this difference was smaller (effect ratio per day 1.01, 95% CI 1.00 to 1.03; p = 0.049). Additional differences were observed for sporadic steps in the third postoperative month, but these later findings were interpreted cautiously because of greater instability in late follow-up observations.
3.3. PROMs: KOOS subscales
Figure 5 shows KOOS subscale scores over time with 95% confidence intervals. No significant between-cluster differences were observed for any KOOS subscale at baseline or across follow-up (all p > 0.05). Postoperatively, all groups demonstrated improvements across KOOS domains, with the most pronounced gains observed in Pain, Sport and Recreation, and Quality of Life (QoL) scores by week 12 (p < 0.05). While the Symptoms and ADL subscales also improved over time, these changes were not statistically significant. KOOS subscale scores over time by preoperative activity group. Panels show mean KOOS scores for Pain, Symptoms, Activities of Daily Living (ADL), Sport and Recreation, and Quality of Life (QoL) from the preoperative assessment to 3 months postoperatively. Error bars indicate 95% confidence intervals. Orange indicates the low-activity group, blue the moderate-activity group, and green the high-activity group.
4. Discussion
In this study, preoperative activity clusters identified from continuous wearable sensor data were associated with distinct activity patterns of postoperative recovery following TKA. Patients in the high-activity cluster demonstrated more favorable objective recovery trajectories, including higher postoperative activity levels overall and a faster early rate of recovery, particularly in activity intensity and total steps during the first postoperative month. These findings support the relevance of continuously measured preoperative activity behavior as an indicator of early postoperative recovery and highlight the potential value of wearable monitoring for characterizing recovery patterns after TKA.
It has been observed that participants with higher levels of preoperative physical activity experienced better recovery after TKA, characterized by faster functional improvement and an earlier return to baseline activity. This observation aligns with Kennedy et al.'s findings, which suggest that greater preoperative function predicts better postoperative outcomes on performance tests. 7 Similarly, Oka et al. found that increased preoperative sedentary behavior was associated with poorer Knee Society Scores. 5 However, not all studies establish a direct link between preoperative physical activity and postoperative recovery. For instance, Boersma et al. used the self-reported SQUASH questionnaire to assess preoperative activity and found no association with time to return to work, suggesting that occupational and psychosocial factors may play a greater role in postoperative recovery. 22 Rooks et al. conducted a randomized controlled trial of prehabilitation in patients awaiting TKA and found that while preoperative exercise improved surgical readiness, it did not translate into long-term functional gains. 23 Their study population consisted mainly of relatively active individuals, indicating that prehabilitation effects might differ in patients with lower baseline activity levels. Onerup et al. found that physically active colorectal surgery patients reported better recovery, although objective measures showed no difference. 24 Vasta et al.'s systematic review of TKA and THA prehabilitation revealed mixed outcomes with no consistent functional improvements. 10 These findings underscore the importance of assessing habitual physical activity to better understand recovery outcomes.
Postoperative gains in structured ambulatory behavior, specifically regular and slow continuous walking, were most pronounced in participants with higher preoperative activity levels. In contrast, sporadic walking remained unchanged, indicating recovery is driven by improvements in sustained ambulation. These findings align with Christensen et al. 25 and Bin Sheeha et al., 26 who found step count and moderate-to-vigorous activity improved postoperatively, while low-effort behaviors were less responsive. Sit-to-stand transitions increased across groups without significant cluster variation, suggesting this function relates more to general recovery. Activity intensity increased particularly among moderate and high activity clusters, supporting evidence that higher baseline function leads to faster recovery of movement. 7 We observed decreased resting time and increased sitting and standing durations, with greater walking gains in higher-activity participants, supporting a recovery model progressing from rest to upright postures before dynamic activity. These patterns align with Hammett et al., 16 Harding et al., 27 and Oka et al., 5 showing sedentary behavior persists despite improved pain and function.
Despite clear differences in objectively measured recovery, PROMs (KOOS subscales) did not significantly differ across preoperative physical activity clusters. In the Symptoms subscale, the low-activity cluster appeared numerically higher across follow-up; however, this separation was already present preoperatively and did not widen over time. Together with the wide uncertainty intervals and the non-significant cluster and time-by-cluster terms, this suggests baseline variation rather than a true cluster-related difference in postoperative symptom recovery. All participants reported improvements in pain, sport and recreation, and quality of life by 12 weeks, while gains in symptoms and activities of daily living were more modest. These findings echo prior research showing a frequent mismatch between PROMs and objective metrics. For example, Kennedy et al. 7 found that self-reported tools like the WOMAC failed to detect early postoperative declines captured by objective tests. Similarly, Hammett et al. 16 and Bin Sheeha et al. 26 Observed that improvements in self-reported pain and function were not accompanied by corresponding increases in physical activity, suggesting that PROMs may reflect perceived relief more than actual behavioral change. Ceiling effects in tools like KOOS may further obscure subtle differences in recovery trajectories. The consistency of PROM improvement across clusters in our study, despite divergent objective gains, reinforces the value of combining subjective and objective assessment as mentioned in literature. 3 Such multidimensional frameworks are essential for capturing the full complexity of recovery and optimizing individualized care after TKA.
The findings of this study have important clinical and research implications. Identifying distinct preoperative physical activity patterns through wearable sensor data may offer valuable opportunities to inform perioperative care for TKA patients. Stratifying patients by activity patterns may help inform future rehabilitation planning and recovery monitoring. Integrating wearable-based activity monitoring into clinical practice could also provide continuous, objective feedback on patient progress, enabling timely interventions when deviations from expected recovery occur. Such approaches may ultimately support recovery monitoring and help reduce the proportion of patients, estimated at around 20%, who remain dissatisfied or experience limited benefit after TKA. 1 Moreover, these findings highlight opportunities for targeted intervention. Patients with low baseline activity may particularly benefit from prehabilitation programs or individualized perioperative education and rehabilitation strategies. Evidence from systematic reviews suggests that prehabilitation can enhance preoperative functional capacity and may shorten early recovery time in selected orthopedic populations, though results remain heterogeneous.28,29 Future research should evaluate the clinical relevance of these activity patterns in larger and more diverse cohorts with extended follow-up to determine long-term outcomes. Exploring behavioral, psychological, and environmental factors that influence activity patterns may further refine patient stratification and inform targeted interventions. Additionally, combining sensor-derived activity data with biomechanical and imaging biomarkers could contribute to developing a multidimensional framework for recovery profiling and advance personalized rehabilitation in orthopedic care.
This study has several limitations that should be considered when interpreting the findings. While the sample size was adequate for primary analyses, it remains modest by physical activity research standards and may limit generalizability, especially for PROMS. Second, the study population was limited to individuals who were independently mobile and capable of using smartphone-based technology, potentially excluding patients with severe functional impairments or limited digital access. Third, the three-month follow-up period, though appropriate for capturing early recovery dynamics, may not reflect longer-term outcomes. Fourth, clinically meaningful thresholds have not yet been established for the wearable-derived activity outcomes used in this study, which limits interpretation of the clinical relevance of the observed between-group differences. Fifth, physical activity classification relied on the vendor-provided SENS Motion processing algorithm. Because full technical details of the classification pipeline were not available for independent inspection, complete algorithmic transparency was limited. Finally, although the clustering approach produced clinically interpretable clusters, it is inherently data-driven and subject to modeling assumptions, which may affect its applicability to other populations or sensor platforms.
5. Conclusion
This study found that patients who were more active before surgery generally showed more favorable objective recovery during follow-up, whereas these differences were not reflected in patient-reported outcomes. This supports the value of combining wearable-derived measures with PROMs to obtain a more complete picture of recovery. As a hypothesis-generating study, these findings draw attention to the potential value of continuous activity monitoring in recovery assessment and support further investigation in larger cohorts.
Footnotes
ORCID iDs
Ethical considerations
Ethical approval was granted by the North Denmark Regional Committee on Health Research Ethics (Journal number: N-20230035). All study procedures complied with the Declaration of Helsinki and the General Data Protection Regulation. Written informed consent was obtained from all participants prior to enrollment.
Author contributions
All authors conceptualized and designed the study. The methodology was developed by AG, AK, SG and JR. PDC led the data collection. Data analysis was performed by AG and SG. The manuscript was drafted by AG and SG and revised by all co-authors. Supervision was provided by SK, OR, AK, and JR.
Funding
The authors received no financial support for the research, authorship, and/or publication of this article.
Declaration of conflicting interests
The authors declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Data Availability Statement
The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.
Use of AI tools
AI-based language assistance was used for language refinement. All content was reviewed and verified by the authors, who take full responsibility for the manuscript.
