Here is the design of a clinical trial:

Official Title: Effect of Conversation Map on Diabetes Management Self-efficacy and Diabetic Distress Among Type 2DM Patient in Pakistan: A Randomized Controlled Trial

Included conditions:
- Diabetes Mellitus
- Diabetes
- Self Efficacy
- Diabetes Mellitus, Type 2

Study Armgroups:
- {'label': 'Experimental Arm', 'type': 'EXPERIMENTAL', 'description': 'Intervention: Diabetic Conversation Map x 4 Sessions', 'interventionNames': ['Behavioral: Diabetic Conversation Map']}
- {'label': 'Control Arm', 'type': 'NO_INTERVENTION', 'description': 'No intervention'}

Interventions:
- {'type': 'BEHAVIORAL', 'name': 'Diabetic Conversation Map', 'description': 'Diabetic Conversation Map education tools are a series of tools for facilitated group education 5-8that were developed by Healthy Interactions in collaboration with the International Diabetes Federation (IDF) and are sponsored by Lilly Diabetes.\n\nCM-based education guides people with diabetes through a process with the aim of helping them understand and internalize information about their disease and generate insightful conclusions, which may then result in improved self-management decisions and actions.', 'armGroupLabels': ['Experimental Arm']}

Primary Outcomes:
- {'measure': 'Change from baseline Diabetes Management Self-Efficacy (DMSE) at 3 months:', 'description': 'The change in DMSE will be measured using validated DMSE scale. The scale has 20 items comprised of 4 domains; 1) nutrition specific and weight, 2) medical treatment, 3) physical exercise, 4) blood sugar. Each item is scored on 11 point likert scale (0=completely unable to 10=completely able). Possible score ranges from 0 to 200, with higher score representing higher self-efficacy.', 'timeFrame': 'at baseline and after 3 months of enrollment'}
- {'measure': 'Change from baseline Diabetes distress (DD) 3 months:', 'description': 'The change in DD will be screened using validated DD scale. The scale has two parts; part 1 is consisting of two items asking about feelings of overburden due to demands of living with diabetes and feelings of failure with diabetes routine; the aim of part 1 is to screen for the presence of DD. Part 1 will be administered before the enrollment of the patient to screen for the presence of DD. If DD is present, part 2 will begin consisting of 17 items to score the extent of DD. Each item is scored on a likert scale ranging from 1 (not a problem) to 6 (a very serious problem). According to the instructions of DDS scoring sheet, total DDS will be measured with mean score while dividing the sum of all items by 17.The mean score of ≥3 will be the threshold for being distressed.', 'timeFrame': 'baseline and 3 months of enrollment'}

Please estimate the sample size based on the assumption: 
Considering 95% confidence interval, 80% power of the test, and accounting for attrition rate.
Sample size
        A study from China [17] reported mean DD score of control and intervention group at baseline as 32.77âÂ±â14.57 and 26.08âÂ±â9.92 respectively (p value 0.073). After six months of the intervention the respective scores were 30.09âÂ±â12.14 and 22.79âÂ±â4.95 (p value 0.014). Aiming for a higher average difference of the differences (difference of 7.30) as compared to the study from china (0.62) between the intervention and control arm (which is also clinically significant), considering 95% confidence interval and 80% power of the test to detect the given difference, the minimum sample size to achieve the objective of this study will be 88 (44 in each group). After adding attrition rate, a total of 120 subjects i.e. 60 in RC arm and 60 in DCM arm will be enrolled in this study.