Here is the design of a clinical trial:

Official Title: The Patient Activation Through Community Empowerment/Engagement for Diabetes Management (PACE-D) Protocol: A Non-randomised Controlled Trial of Personalised Care and Support Planning for Persons Living With Diabetes

Included conditions:
- Diabetes Mellitus
- Chronic Disease
- Patient Care Planning
- Patient Participation
- Self Care
- Empowerment

Study Armgroups:
- {'label': 'Intervention Group', 'type': 'EXPERIMENTAL', 'interventionNames': ['Other: Intervention Group']}
- {'label': 'Control Group', 'type': 'ACTIVE_COMPARATOR', 'interventionNames': ['Other: Control Group']}

Interventions:
- {'type': 'OTHER', 'name': 'Intervention Group', 'description': 'Participants in this arm will undergo the new care model for management of diabetes mellitus polyclinics.', 'armGroupLabels': ['Intervention Group']}
- {'type': 'OTHER', 'name': 'Control Group', 'description': 'Participants in this arm will continue to undergo the existing care model for management of diabetes mellitus in the polyclinics.', 'armGroupLabels': ['Control Group']}

Primary Outcomes:
- {'measure': 'Change in HbA1c levels', 'description': 'Change in HbA1c levels in patients receiving the CSP intervention compared with patients receiving standard care.', 'timeFrame': 'From baseline to study endpoint, one year in general'}

Please estimate the sample size based on the assumption: 
1:1 allocation into Intervention and Control groups, 6 pre-specified subgroups, 90% power, alpha value of 0.05, and a 30% attrition rate.
Sample size calculation
      The sample size calculation was based on HbA1c, the primary outcome measure, for which a difference of 0.5 percentage points was taken to be clinically meaningful. The sample size of 1620 was calculated based on 1:1 allocation into the Intervention and Control, 6 pre-specified subgroups (with 3 age tertiles and 2 gender groups), at a power of 90%, with an alpha value of 0.05 (95% confidence interval) and accounting for an attrition rate of 30%. The study team aims to recruit a total of 1620 patients across the four sites.