Here is the design of a clinical trial:

Official Title: Effectiveness of a Targeted Brief Intervention for Recent Suicide Attempt Survivors

Included conditions:
- Suicide, Attempted

Study Armgroups:
- {'label': 'Zero Suicide Usual Care', 'type': 'ACTIVE_COMPARATOR', 'description': 'In Onondaga County, New York State (NYS) aims to implement a countywide "Zero Suicide Safety Net" of providers who share enhanced protocols for clinical care, staff training, and data collection (improved coding of suicidal behavior). Participating behavioral health systems have agreed to common protocols for clinical care, training, and data collection. Participating providers receive robust training in suicide prevention best practices. Because of the wide participation of mental health facilities in the NYS Office of Mental Health (OMH) Zero Suicide project, most subjects who engage in outpatient treatment will receive that treatment in facilities that are adopting NYS Zero Suicide protocols. Those who do not engage in care will nonetheless experience enhanced transition and follow-up contact from the services from which they are discharged.', 'interventionNames': ['Behavioral: Zero Suicide Usual Care']}
- {'label': 'Zero Suicide Usual Care + ASSIP', 'type': 'EXPERIMENTAL', 'description': 'Patients in this treatment arm will receive ASSIP brief therapy in addition to being able to access any usual care as recommended by their provider.\n\nASSIP is a manualized, three-session intervention, delivered either in-person or via telehealth: In Session 1, the therapist guides the patient in telling the story of their attempt. The session is video recorded. In Session 2, the therapist and patient sit side-by-side to view selections of the video, working together to understand the feelings and events that preceded the attempt. The patient is assigned a homework task. In Session 3, the therapist and patient create a summary of the suicide attempt and what led up to it, along with creating a personal safety plan.', 'interventionNames': ['Behavioral: Attempted Suicide Short Intervention Program']}

Interventions:
- {'type': 'BEHAVIORAL', 'name': 'Attempted Suicide Short Intervention Program', 'description': 'ASSIP is a manualized, three-session intervention, delivered either in-person or via telehealth: In Session 1, the therapist guides the patient in telling the story of their attempt. The session is video recorded. In Session 2, the therapist and patient sit side-by-side to view selections of the video, working together to understand the feelings and events that preceded the attempt. The patient is assigned a homework task. In Session 3, the therapist and patient create a summary of the suicide attempt and what led up to it, along with creating a personal safety plan.', 'armGroupLabels': ['Zero Suicide Usual Care + ASSIP']}
- {'type': 'BEHAVIORAL', 'name': 'Zero Suicide Usual Care', 'description': 'Participants will have access to outpatient treatment in facilities that are adopting NYS Zero Suicide protocols. Those who do not engage in care will nonetheless experience enhanced transition and follow-up contact from the services from which they are discharged.', 'armGroupLabels': ['Zero Suicide Usual Care']}

Primary Outcomes:
- {'measure': 'Time to Suicide Attempt', 'description': 'Time from randomization to first suicide re-attempt', 'timeFrame': 'Up to 18 months'}

Please estimate the sample size based on the assumption: 
The assumptions include a significance level of 5% (two-tailed), power of 80%-90%, and assumed rates of participant withdrawal.
Sample size considerations
        The primary outcome variable is time from randomisation to first suicide reattempt. Under the assumption of proportional hazards, the sample size for a time-to-event outcome depends on the anticipated incidence of the event in the control group, the treatment effect to be detected (or the anticipated incidence in the ASSIP group), assumed rates of participant withdrawal, and the specified significance level and power. Assuming a sample size of 400, table 2 identifies treatment effects that can be detected with 80%â90%âpower using a log-rank test and a two-tailed 5% significance level for varying 18-month incidence of suicide reattempt. The detectable treatment effects on suicide attempts thus span those observed in the two most relevant trials: Brown and colleagues'9 study of cognitiveâbehavioural therapy for suicide prevention (42% vs 24%) and Gysin-Maillart and colleagues'13 study of ASSIP (27% vs 8%).
        
          Table 2
          
            Power analysis for aim 1
          
          
            
              
                Power
                Control group incidence
                ASSIP group incidence
                HR
              
            
            
              
                80%
                20.0%
                9.3%
                0.44
              
              
                25.0%
                13.2%
                0.49
              
              
                30.0%
                17.2%
                0.53
              
              
                35.0%
                21.5%
                0.56
              
              
                40.0%
                25.9%
                0.59
              
              
                90%
                20.0%
                7.9%
                0.37
              
              
                25.0%
                11.5%
                0.42
              
              
                30.0%
                15.4%
                0.47
              
              
                35.0%
                19.5%
                0.50
              
              
                40.0%
                23.8%
                0.53
              
            
          
          
            
              Treatment effects detectable with 80%â90%âpower assuming different 18-month suicide attempt incidence rates in control group (N=400 participants).