Here is the design of a clinical trial:

Official Title: The Breaking "Bad Rest" Study: Interrupting Sedentary Time to Reverse Frailty Levels in Acute Care

Included conditions:
- Sedentary Lifestyle

Study Armgroups:
- {'label': 'Control Group', 'type': 'NO_INTERVENTION', 'description': 'Fitted with an accelerometer to measure time spent out of bed while in hospital. Otherwise, participants in the control group will receive usual care from the hospital medical team during their hospital stay. Daily activities of participants will not be restricted if patients are assigned to the control group.'}
- {'label': 'Intervention Group', 'type': 'EXPERIMENTAL', 'description': 'Fitted with accelerometer to measure time spent out of bed while in hospital; daily goals set for time spent out of bed; mobilization feedback real-time feedback on goal attainment; hands on mobilization by physiotherapist for participants in late afternoon for participants who do not meet daily goal.', 'interventionNames': ['Behavioral: Sedentary behavior reduction intervention']}

Interventions:
- {'type': 'BEHAVIORAL', 'name': 'Sedentary behavior reduction intervention', 'description': 'Participants will be provided with a device to measure physical activity and sedentary behaviours. A tablet will be in the research office and each afternoon, it will be synced to the device to assess the activity progress of the patient. The research team will deliver an upright time goal and will target a 20% increase in upright time from the previous hospital day. Physiotherapist research assistants will visit the participants every afternoon to monitor progress and safely mobilize participants to their maximum ability if they have not met their daily goal (including weekend). The maximum level of ability will be determined in consultation with the healthcare team. Participants who do not meet their goal will be mobilized in the late afternoon/ early evening.', 'armGroupLabels': ['Intervention Group']}

Primary Outcomes:
- {'measure': 'Change in the Frailty Index', 'description': 'The frailty index (FI) operationalizes frailty in clinical practice and for research. FI scores are calculated as the proportion of potential deficits present in a given individual. For this study we will construct a 30-item FI using a health questionnaire administered to patients or their care partners (if patients are not able to self-report) at each study time point. The proportion of patients changing their FI scores by \\>=0.1 from baseline to hospital discharge is the primary outcome.\n\nData collection is opportunistic, based on length of stay. The discharge date is not fixed - thus day-in-study at discharge will not be the same for all participants. Depending on length of stay, participants will provide data for additional time points between baseline and discharge, including week 1, week 2, week 3, week 4 and then in 30 day intervals. However, not every participant will have the same number of time points. Note that the median hospital length of stay is 14 days.', 'timeFrame': 'Change from baseline frailty up to a median 14 day hospital length of stay'}

Please estimate the sample size based on the assumption: 
80% power.
Sample size
        We will recruit 25 participants for the usual care group and 25 participants for the treatment group. This number is based on a previous observational study in which 62% of individuals had an improvement of â¥â0.10 in their frailty index score during hospitalization (see below for details) [8]. Using these prior estimates, group sample sizes of 25 per group achieves 80% power to detect a relative increase of 50% (i.e., an increase from 62 to 93%) in the proportion achieving a difference of 0.10 in the frailty index. A increase of 0.10 in the frailty index score has been shown to be associated with various adverse health outcomes including extended length of hospital stay, institutionalization, in-hospital falls, delirium, pressure ulcer incidence, and mortality [18].