Here is the design of a clinical trial:

Official Title: A Randomized, Open-label, Controlled Trial on Perioperative Rehabilitation of Cardiac Valvular Surgery

Included conditions:
- Heart Valve Diseases
- Pulmonary Complication

Study Armgroups:
- {'label': 'Conventional Treatment Group', 'type': 'NO_INTERVENTION', 'description': 'Participants in the control group will receive the usual care protocol. On the day of admission, a registered nurse in cardiac ward will provide operating skills of deep breathing, cough exercises, and incentive spirometry, then patients will be instructed to perform the respiratory exercise as much as they can during the hospitalization without supervision. These participants will not receive additional rehabilitation interventions, unless individual indications are present.'}
- {'label': 'Cardiac Rehabilitation Group', 'type': 'ACTIVE_COMPARATOR', 'description': 'The intervention group will receive the PORT protocol, contains education, IMT, ACBT, EM. Participants will be provided information about the cardiac surgery and adverse effect on postoperative recovery, and the importance of PORT program.\n\nAn inspiratory threshold-loading device is used for IMT. Participants will be instructed to breathe in as forcefully as possible before slowly breathing out five times and then rest for one minute, followed by another set of five breaths. Patients will complete three sessions of ACBT consisting of breathing control, thoracic expansion exercises and forced expiratory techniques. The mobilization protocol will be performed via a progressive approach, consisting of 6 steps. EM will be personalized to each patient.', 'interventionNames': ['Other: Cardiac rehabilitation']}

Interventions:
- {'type': 'OTHER', 'name': 'Cardiac rehabilitation', 'description': 'perioperative rehabilitation consists of education, inspiratory muscle training, active cycle of breathing techniques, and early mobilization.', 'armGroupLabels': ['Cardiac Rehabilitation Group']}

Primary Outcomes:
- {'measure': 'composite end point of in-hospital all-cause death, pulmonary complications and the ratio of postoperative hospitalization longer than 7 days.', 'description': 'the composite of in-hospital all-cause death and pulmonary complications, such as pulmonary infection, postoperative hospitalization days.', 'timeFrame': 'Through hospitalization (up to 2 months)'}

Please estimate the sample size based on the assumption: 
A power of 80% to detect a difference in the primary outcome at a significance level of 0.05 (two sided). An 11% lost to follow-up rate is estimated.
Sample size calculation
        The sample size was calculated using inference for proportions comparing two independent samples performed by nQuery Advisor+nTerim 4.0 (Statistical Solutions, Ireland). Data from the pilot study (to be submitted) showed that the incidence in the primary endpoint was 13.56% (intervention group) vs 21.21% (control group). We calculated that enrolling 360âpatients in each group would provide a power of 80% to detect a difference in the primary outcome at a significance level of 0.05 (two sided). Estimating an 11% lost to follow-up, the recruitment goal is 400âpatients per group (n=800).