Here is the design of a clinical trial:

Official Title: Implementation and Assessment of a Life-style Focused Patient Support Application (App) and Activity Trackers for Improving Risk Factor Management, Physical Activity, Quality of Life and Prognosis in Post-myocardial Infarction Patients

Included conditions:
- Myocardial Infarction

Study Armgroups:
- {'label': 'Control arm (n=50)', 'type': 'NO_INTERVENTION', 'description': 'Patients randomized to the control arm will receive usual cardiac rehabilitation care post-myocardial infarction.'}
- {'label': 'Intervention arm: LifePod arm (n=100)', 'type': 'EXPERIMENTAL', 'description': 'In addition to usual cardiac rehabilitation care, patients randomized to the LifePod arm will receive access to the LifePod® support software for six months.', 'interventionNames': ['Other: LifePod®']}

Interventions:
- {'type': 'OTHER', 'name': 'LifePod®', 'description': 'The software is a web-based application designed to support persons adhering to lifestyle advice and medication. The patient can log information about lifestyle (i.e. diet, exercise, and smoking), measurements (i.e. weight, pulse and blood pressure), symptoms and medication and can review data in graphs displaying registered values in relation to recommended targets. The software provides positive feedback on healthy choices and gives general recommendations on exercise training, physical activity and healthy diet. Reminders are generated in the case of decreasing registrations. Finally, short text messages (SMS) will be sent out 2-3 times a week with tips on healthy lifestyle.', 'armGroupLabels': ['Intervention arm: LifePod arm (n=100)']}

Primary Outcomes:
- {'measure': 'Change in submaximal exercise capacity in watts (W)', 'description': "Submaximal exercise capacity reflects the patients´ level of physical fitness.The submaximal exercise test is performed on a bicycle ergometer according to the World Health Organisation (WHO) protocol, with an increased workload of 25W every 4.5 minutes The initial starting load, 25W or 50W, is decided, based on the patient's exertion history. After two and four minutes of each workload; heart rate, rate of perceived exertion according to Borg's rating of perceived exertion scale (RPE) and subjective symptoms, including chest pain and dyspnea according to Borg's Category Ratio Scale, CR-10, scale are rated. After three minutes, the systolic blood pressure is registered. The exercise test is discontinued at Borg RPE 17 and/or dyspnea 7 on Borg's CR-10 scale.", 'timeFrame': 'Change between first (2-4 weeks post-MI) and second (4-6 months post-MI) submaximal exercise test conducted at physiotherapist visits'}

Please estimate the sample size based on the assumption: 
Power of 90%, two-sided significance level of 0.05, and a 40% loss of adherence in the intervention arm.
Statistical analysis, power, and sample size
        Sample size calculations were based on results from a local registry (SEPHIA) data analysis including 40 post-MI patients attending CR at one of the study centers (SkÃ¥ne University Hospital in MalmÃ¶). Out of the 40 patients included in the analysis, 73% participated in a hospital-based exercise program, on average 7 times (range 2â12) during an 8-week exercise period. The difference (Î) in cardiac exercise capacity (W), measured using a symptom-limited bicycle ergometer test at 2â4âweeks post-discharge and after completing a hospital-based exercise program (around 3â6âmonths post-discharge), was calculated. The average difference was +â14.6 (Â±â15.6) W. With a power of 90%, a two-sided significance level of 0.05, and a least mean difference at 10 W (standard deviation (SD) Â±â20 W) between groups, the estimated sample size was 150 patients: 50 patients in the usual care arm and 100 patients in the intervention arm. This included an intention-to-treat dilution effect based on a 40% loss of adherence in the intervention arm, an estimation based on our own feasibility study as well as other studies reporting adherence to eHealth interventions in CR [11, 13â15, 17]. The study is not powered to detect effects on major adverse cardiac events. As such, these analyses will only be exploratory.
        Differences in outcomes between the control arm and intervention arm will be performed using an independent samples t test (continuous variables) and a chi-square test (categorical variables). If differences in baseline characteristics, number of follow-up visits, or telephone contacts are observed, linear and logistic regression analysis will be applied, adjusting for the observed differences between the two study arms.
        A full study protocol and aÂ Standard Protocol Items: Recommendations for Interventional Trials (SPIRIT) checklistÂ (recommended items to address in a clinical trial protocol and related documents)Â are provided as additional files (Additional filesÂ 1 and 2).