Here is the design of a clinical trial:

Official Title: mLab App for Improving Uptake of Rapid HIV Self-testing and Linking Youth to Care

Included conditions:
- HIV Infections

Study Armgroups:
- {'label': 'mLab App Intervention', 'type': 'EXPERIMENTAL', 'description': "Youth randomized to the intervention arm (arm 1) will be provided with the mLab App, 2 OraQuick tests (including the package insert), and a box of condoms to take home at baseline. They will receive 2 more OraQuick tests at their 6 month visit. At their baseline appointment, youth will also be sent an email or text with links to mobile-optimized online prevention information, including PrEP and HIV testing information that is found on the CDC website. They will also receive a study information card listing the Columbia University School of Nursing / Lurie Children's study teams' contact information.", 'interventionNames': ['Device: mLab App', 'Behavioral: HIV Prevention Information', 'Device: HIV Home Tests']}
- {'label': 'Standard of Care HIV Information Control Arm', 'type': 'ACTIVE_COMPARATOR', 'description': "Youth randomized to the Standard of Care HIV information control arm (arm 2) will receive standard-of-care HIV/STI testing-related risk reduction counseling, a box of condoms, PrEP assessment, and referral information for clinics that provide PrEP during their first visit. Youth randomized to the standard of care will be sent an email with links to mobile-optimized online prevention information, including pre-exposure prophylaxis (PrEP) and HIV testing information that is found on the CDC website.They will also receive a study information card listing the Columbia University School of Nursing / Lurie Children's study teams' contact information.", 'interventionNames': ['Behavioral: HIV Prevention Information']}
- {'label': 'HIV Home Tests', 'type': 'ACTIVE_COMPARATOR', 'description': "Youth randomized to the HIV home testing arm (arm 3) will be provided with the 2 OraQuick tests (including the package insert), and a box of condoms to take home at baseline. They will receive 2 more OraQuick tests at the 6 month visit. At their baseline appointment, youth will also be sent an email or text with links to mobile-optimized online prevention information, including PrEP and HIV testing information that is found on the CDC website. They will also receive a study information card listing the Columbia University School of Nursing / Lurie Children's study teams' contact information.", 'interventionNames': ['Behavioral: HIV Prevention Information', 'Device: HIV Home Tests']}

Interventions:
- {'type': 'DEVICE', 'name': 'mLab App', 'description': 'The mLab App is a web application that uses an image processing algorithm to interpret the results of the OraQuick® In-Home HIV Test.', 'armGroupLabels': ['mLab App Intervention']}
- {'type': 'BEHAVIORAL', 'name': 'HIV Prevention Information', 'description': 'Youth randomized to the standard of care will be sent an email with links to mobile-optimized online prevention information, including PrEP and HIV testing information that is found on the Centers for Disease Control and Prevention (CDC) website.', 'armGroupLabels': ['HIV Home Tests', 'Standard of Care HIV Information Control Arm', 'mLab App Intervention']}
- {'type': 'DEVICE', 'name': 'HIV Home Tests', 'description': 'Youth randomized into this arm will receive OraQuick® In-Home HIV Test.', 'armGroupLabels': ['HIV Home Tests', 'mLab App Intervention']}

Primary Outcomes:
- {'measure': 'Total Number of Youth Tested for HIV', 'description': 'Total number of youth tested for HIV at 6 months', 'timeFrame': '6 months'}
- {'measure': 'Total Number of Youth Tested for HIV', 'description': 'Total number of youth tested for HIV at 12 months', 'timeFrame': '12 months'}

Please estimate the sample size based on the assumption: 
The power calculations are based on a significance level (alpha) of 0.05, two-sided tests, and an attrition rate of 20% at 6 and 12 months.
Sample size calculation
        The targeted enrollment is 525 participants (210, 210, and 105 in arms 1, 2, and 3, respectively). The power and sample size calculations are based on a primary comparison between HIV testing rates in the mLab App arm (Arm 1) and the standard of care arm (Arm 2). The effect size is based on findings from the FORTH trial [38] in which promotion of home-testing resulted in a two times increase in frequency of HIV testing in high-risk MSM and a nearly four times increase in non-recent testers compared with standard care, without reducing the frequency of facility-based HIV testing. We estimate a 40% HIV testing rate over 6âmonths for the control group and approximately 60% HIV testing rate for the intervention group. We are using a more conservative effect size by assuming 60% testing rate for the intervention as compared to 85% found in the FORTH RCT study [38]. This 20% difference is equivalent to a medium effect size. All power calculations are based on alphaâ=â0.05 and two-sided tests of the primary comparison and an attrition rate of 20% at 6 and 12âmonths.