Here is the design of a clinical trial:

Official Title: Effects of Specialized Treatment for Bipolar Disorder - the CAG Bipolar RCT

Included conditions:
- Bipolar Disorder

Study Armgroups:
- {'label': 'CAG Bipolar', 'type': 'EXPERIMENTAL', 'description': '1. Patients will be treated in a localized CAG Bipolar clinic within each psychiatric centre increasing the number of bipolar patients for each clinician\n2. All clinicians will get certified in diagnosing and treating bipolar disorder by joining an educational course and ongoing courses continuously\n3. Treatment will include a group-based psychoeducation program\n4. Coordinated targets to improve quality of life of patients by increasing concordance between clinicians, patients and relatives on well-defined treatment goals\n5. Continued ongoing supervision of patient cases in CAG Bipolar staff by the Copenhagen Affective Disorder Clinic\n6. Three-month bidirectional exchange of two clinical staff members between the Copenhagen Affective Disorder Clinic and each CAG Bipolar clinic\n7. Recovery mentors', 'interventionNames': ['Other: CAG Bipolar']}
- {'label': 'Control group', 'type': 'NO_INTERVENTION', 'description': 'Standard treatment'}

Interventions:
- {'type': 'OTHER', 'name': 'CAG Bipolar', 'description': 'See description of CAG Bipolar', 'armGroupLabels': ['CAG Bipolar']}

Primary Outcomes:
- {'measure': 'Risk of psychiatric hospitalization', 'description': 'Data on hospitalization according to data from the population-based Danish Psychiatric Central Research Register will be collected and analyzed with survival statistics. Assessed blinded for the intervention status', 'timeFrame': 'During the entire study period of 12 months pr participant'}
- {'measure': 'Cumulated duration of hospitalization according to data from the population-based Danish Psychiatric Central Research Register', 'description': 'Data on cumulated duration of hospitalization according to data from the population-based Danish Psychiatric Central Research Register will be collected and analyzed with survival statistics. Assessed blinded for the intervention status', 'timeFrame': 'During the entire study period of 12 months pr participant'}

Please estimate the sample size based on the assumption: 
The trial assumes a power of 80%, a type 1 error risk of 0.05, and a dropout rate of 30%.
Statistical power and sample size calculation
        All prevalent and newly referred approximately 2000 outpatients with a bipolar disorder diagnosis will be invited to participate in the present CAG Bipolar RCT during the planned 3-year study period. The RCT will run until at least 1000 patients have been included. It is estimated that more than two-thirds will accept participation in the trial as the alternative will be to wait for 1âyear and at that time to be included in CAG Bipolar as part of the implementation of CAG Bipolar.
        A total of 70% of outpatients with bipolar disorder will be randomised to treatment in the CAG Bipolar clinic within each of the five psychiatric centres and 30% to continue their usual outpatient standard treatment during the 1âyear intervention period in the centre.
        According to data from the Mental Health Services, Capital Region of Denmark (2017), at least 20% of outpatients in standard care will be hospitalised for a mean of 26 days (SD: 15 days) during the 1âyear intervention period. We conservatively expect to be able to reduce the proportion of hospitalisations among patients with at least 5% per year (from 20% per year to 15% per year) and the average duration of hospitalisation days per year with at least 10% (from 43 days to 39 days, SD: 25) in CAG Bipolar versus standard treatment. With a power of 80% and a type 1 error risk of 0.05, we need to randomise 161 and 644 patients, respectively for the two primary measures, to the trial (http://powerandsamplesize.com). Drop out of the RCT during the 1âyear study period is estimated to be 30%. Thus, 1000 patients need to be included to detect a statistically significant difference in duration of hospitalisation. Interim analyses are not feasible as the primary outcome measure is based on data from the Danish Psychiatric Central Research Register with a time lack of 1âyear (data are not available until 1âyear after the actual incident).