BetaMe: impact of a comprehensive digital health programme on HbA1c and weight at 12 months for people with diabetes and pre-diabetes: study protocol for a randomised controlled trial

Background Long-term conditions (LTCs) are the biggest contributor to health loss in New Zealand. The economic cost and burden on the health system is substantial and growing. Self-management strategies offer a potential way to reduce the pressure on health services. This study evaluates a comprehensive self-management programme (the BetaMe programme) delivered by mobile and web-based technologies for people with Type 2 diabetes (T2DM) and pre-diabetes. The primary aim of this study is to evaluate the effectiveness of the BetaMe programme versus usual care among primary care populations in improving the control of T2DM and pre-diabetes, as measured by change in HbA1c and weight over 12 months. Methods Participants will be recruited through two primary healthcare organisations and a Māori healthcare provider in New Zealand (n = 430). Eligible participants will be 18 to 75 years old, with T2DM or pre-diabetes, with an HbA1c of 41–70 mmol/mol up to 2 years prior to study commencement. Eligible participants who consent to participate will be individually randomised to the control arm (usual care) or intervention arm (usual care and BetaMe). The programme consists of a 16-week core followed by a maintenance period of 36 weeks. It incorporates (1) individualised health coaching, (2) goal setting and tracking, (3) peer support in an online forum and (4) educational resources and behaviour-change tools. The primary outcome measures are change in HbA1c and weight at 12 months. Secondary outcomes are changes in waist circumference, blood pressure, patient activation and diabetes-specific behaviours. All outcomes will be assessed at 4 and 12 months for the total study population and for Māori and Pacific participants specifically. All primary analyses will be based on intention-to-treat. Primary analysis will use linear mixed models comparing mean outcome levels adjusted for initial baseline characteristics at 12 months. Discussion This is a randomised controlled trial of a comprehensive self-management intervention for people with diabetes and pre-diabetes. If effective, this programme would allow healthcare providers to deliver an intervention that is person-centred and supports the self-care of people with T2DM, pre-diabetes and potentially other LTCs. Trial registration Australian New Zealand Clinical Trials Registry, ID: ACTRN12617000549325. Registered on 19 April 2017. Electronic supplementary material The online version of this article (10.1186/s13063-018-2528-4) contains supplementary material, which is available to authorized users.


Background
Long-term health conditions (LTCs, chronic physical and mental disorders) are by far the largest contributor to health loss in New Zealand (NZ), accounting for 88% of disability-adjusted life years [1]. The economic cost and burden on the health system is substantial and growing [1,2]. Type 2 diabetes mellitus (T2DM) is one of the most common long-term conditions affecting NZ adults, with a prevalence of around 7% based on glycosylated haemoglobin (HbA1c) data from the 2008/09 NZ Adult Nutrition Survey [3]. Furthermore, the prevalence of T2DM is rapidly increasing in NZ at a rate of 7% per annum [2]. Māori, Pacific and Indian people have particularly high rates of T2DM, with rates up to three times higher than European New Zealanders [2,3]. Diabetes is associated with multiple long-term complications, higher mortality and substantial healthcare costs [2,4]. Pre-diabetes is a precursor stage to T2DM with up to 70% eventually progressing on to T2DM; many people with pre-diabetes already have some of the complications of T2DM [5][6][7][8]. The estimated prevalence of pre-diabetes in NZ adults is 26% [2].
Self-management measures, such as a healthy diet, regular exercise and weight management, are key to preventing the progression of pre-diabetes to T2DM, controlling T2DM and reducing complications [9][10][11][12][13]. For example, the Diabetes Prevention Program (DPP) study found that a lifestyle intervention resulted in a 58% reduction in incidence of diabetes among a high-risk population without diabetes, and that even short-term reversion to normal glucose control among those with pre-diabetes substantially reduced the likelihood that the person would progress to T2DM [12,13]. Similarly, those with diabetes who undergo lifestyle interventions tend to have better glycaemic control and improved long-term outcomes [9]. However, many people struggle to initiate and maintain these strategies [14,15].
Self-management strategies for T2DM have resulted in improvements in glycaemic control [16][17][18], weight loss [17,18], patient satisfaction with healthcare [17], selfefficacy [19] and adherence to medication [20]. There is less evidence to support the use of self-management programmes in those with pre-diabetes. One study assessed the outcomes of an Internet-based diabetes prevention programme for people with pre-diabetes and found that there were clinically significant reductions in body weight and HbA1c at 2 years after entry into the programme [21].
The BetaMe Programme is an integrated selfmanagement programme for T2DM and pre-diabetes developed by Melon Health Ltd. [22] with a strong emphasis on engagement, education and activation of patients with LTCs. Its foundations are based in behavioural-change theory using cognitive behavioural theory, motivational interviewing, goal setting, health tracking, reminders and intrinsic rewards to support and encourage positive behaviour change [16,23,24]. BetaMe was developed in partnership with a multidisciplinary team including primary care practitioners, Māori and Pacific health providers, and psychologists. The programme incorporates access to expert one-on-one coaching, decision support and peer support, all of which are evidence-based approaches to increasing the effectiveness of self-management support (see Table 1).
BetaMe is delivered using both mobile and web-based platforms in a 12-month programme with four key components: health coaching, provision of evidence-based resources, peer support and goal tracking. Each component has demonstrated benefits for improved outcomes for people with T2DM or pre-diabetes (summarised in Table 1). The first 16 weeks form the core part of the programme, with the remaining 36 weeks covering the maintenance period (web-based peer support and goaltracking only).
The BetaMe programme underwent substantial pre-testing, and a pilot in 2015 demonstrated very positive results. In the pilot evaluation, 117 people with pre-diabetes participated from five general practices within one region of New Zealand (the Midlands Health Network). Baseline and follow-up measures at 16 weeks included HbA1c, weight, waist circumference, pre-diabetes status (defined as HbA1c 41-49 mmol/mol) and blood pressure. Of the 117 patients, 108 completed the programme (92%). Of these, 91% reduced their HbA1c, 94% lost weight (mean = 4.2 kg), 87% had reduced waist circumference (mean = 4.2 cm) and 78% had final HbA1c levels below the pre-diabetes range [25].
The feedback from pilot participants was extremely positive. Participants strongly endorsed both the coaching and community aspects of the programme (77% found these the most helpful aspect). Most (84%) reported that they were likely to recommend BetaMe to someone else, while only 2% said they were unlikely to do so. In a recent US review of digital diabetes prevention and self-management solutions in the workplace, the BetaMe programme ranked top for patient engagement and was in the top five overall [26].
In this study, we will undertake a randomised controlled trial to compare the BetaMe programme with usual primary care for patients with T2DM and prediabetes, examining the impact on HbA1c and weight as well as waist circumference, blood pressure and a number of self-reported measures of effectiveness at 12 months. This work will address several gaps in the current knowledge base around comprehensive selfmanagement programmes for diabetes. First, most existing studies examine only one part of what is considered to be a self-management programme. For example, a 2011 meta-analysis of 22 trials with 1657 participants concluded that there was evidence that mobile-phone applications led to significant improvements in glycaemic control (a mean reduction in HbA1c of 6 mmol/mol over a mean 6 months' duration) [16]. However, most of the programmes studied were not comprehensive in that their interventions focussed solely on monitoring reminders or entering glucose measurements; did not involve providers or current clinical practice; or did not personalise the programme to individuals. Second, the current study will address a lack of evidence on the effectiveness of self-management programmes for Māori and Pacific individuals. Third, unlike most other studies that focus on 'people with diabetes' or 'pre-diabetes' our randomised controlled trial (RCT) will include participants with both pre-diabetes and T2DM, and will measure the effectiveness of the intervention for both groups. This will be more representative of the effectiveness of this intervention in the real clinical setting, and will give a better idea of the relative benefits for those with prediabetes compared to those with T2DM.

Aims, design and setting
The primary aim of this study is to evaluate the effectiveness of the BetaMe programme versus usual care among primary care populations in improving the control of T2DM and pre-diabetes, as measured by change in HbA1c and weight over a 12-month period.
The secondary aims, which will be explored using secondary analysis of the data, are to evaluate the effectiveness of the BetaMe programme versus usual care in: 1. Improving HbA1c and weight outcomes at 12 months for Māori and Pacific participants specifically (combined across T2DM and prediabetes groups); 2. Improving short-term weight management among those with T2DM and pre-diabetes (at 4 months, both overall and reported for Māori and Pacific participants); 3. Improving other health-related outcomes, including waist circumference, blood pressure, health-related quality of life and self-reported self-management (overall and reported for Māori and Pacific participants) The study will be a two-arm, parallel-group, individually randomised controlled trial for people with pre-diabetes and T2DM, comparing the BetaMe programme with usual primary care (active control), with investigator-blinded Educational programmes and individual support through personalised coaches has been shown to be effective, with the level of effectiveness dependent on the intensity of the programme [50]. A number of successful interventions have provided access to an 'expert', such as a personal trainer or dietician, coupled with support from health professionals [51,52] Health literacy Fortnightly evidence-based resources and behaviour-change tools delivered in consumer-centred formats (bite sized, simple messages, images and video) Mobile phones to send reminders or educational information via text, or within applications, have proven beneficial in the management of chronic conditions such as diabetes [53] with positive outcomes relating to glycaemic control and patient satisfaction, [17] self-efficacy [19] medication adherence [20] and as a result of weight loss, reduced transition from pre-diabetes to diabetes [54] Core and maintenance (weeks 1-52) Goal tracking Daily reminders via web-based devices. Daily goal tracking of exercise, happiness, energy levels, food and weekly tracking of weight and waist measure Goal tracking, such as the regular monitoring of weight or laboratory data has been identified as a key component of successful self-management programmes to achieve weight loss [55], and improved long-term outcomes [56] Peer support Online closed forum, monitored by a registered nurse Peer support has been successful in improving glycaemic control [57][58][59][60][61] and has been identified by participants, to be the most useful component of a selfmanagement programme [57] assessment of outcomes (see Fig. 1 for the flowchart of the BetaMe study, Additional file 1 for the Standard Protocol Items: Recommendations for Interventional Trials (SPIRIT) Checklist and Fig. 2 for the SPIRIT Figure). The study will be based in two regions of NZ, Midlands and Greater Wellington, through two Primary Healthcare Organisations (PHOs, Midlands Health Network and Compass Health), and a large Māori healthcare provider (Whai Oranga o Te Iwi). These providers collectively include around 800,000 patients. The research team will work directly with the two PHOs to identify and recruit practices that are interested in the study and able to commit to the study timeframes and process requirements. Practice recruitment will be through an opt-in process.

Participants
Participants with pre-diabetes or T2DM will initially be identified using clinical data held by participating PHOs and practices. Those identified as having T2DM and meeting the eligibility criteria below will be included. Those with HbA1c in the 41-49-mmol/mol range in the 2 years prior to commencing the study, and with no recorded diagnosis of T2DM, will be classified in the prediabetes group.
Patients will be eligible for inclusion if they meet the following inclusion criteria: Have a current HbA1c of 41-70 mmol/mol (either from a test within 3 months prior to invitation to the study, or on the basis of an HbA1c test taken by the research team at invitation to the study) Are not currently on insulin treatment for diabetes Adults aged between 18 and 75 years, enrolled in participating practices Have daily Internet access (on any of computer/ tablet/smartphone) Are able to provide informed consent Patients will not be eligible for the study if they:

Are pregnant
Have cognitive impairment likely to be sufficient to hinder their understanding of the study or the programme, as this may negatively affect their selfmanagement behaviour [27] Are unable to read and write in English Are unable to use phone or computer due to physical disability such as poor eyesight or manual dexterity

Recruitment
The PHOs or practices will generate a list of current people with T2DM and pre-diabetes, using an HbA1c result of 41-64 mmol/mol within the past 24 months. Individuals that are retested at baseline and return an HbA1c result of 65-70 mmol/mol remain eligible for the study. Patients who are known not to meet the other eligibility criteria will be removed from this list. The remaining patients will be invited by the practice for the research team to contact them.
A research nurse will then contact participants to explain the study, confirm eligibility and obtain informed consent. Baseline data will be collected at this point including HbA1c (for those who do not have an HbA1c test result in preceding 3 months), weight, height, waist circumference and blood pressure (using standardised approaches); along with a health-related quality of life measure, a validated measure of chronic condition selfmanagement; and a validated measure of diabetes-specific behaviours (e.g. frequency of blood sugar monitoring). Details of the measures and questionnaires are in Tables 2 and 3.

Intervention arm
BetaMe is Internet-based and delivered using both mobile and web-based platforms by Melon Health Ltd. [22]. The BetaMe intervention aims to strike a balance between 'tailoring' to individuals and delivering an intervention that is applied consistently enough to allow its impacts to be measured.
The BetaMe intervention consists of four separate components; health coaches, provision of evidencebased educational resources, goal tracking and peer support: 1. Health coaching. The health coaches are all either qualified personal trainers or registered nurses trained in motivational interviewing, cognitive behavioural therapy, and nutrition, and have completed the Heart Foundation Pacific Heartbeat Community Nutrition course. Health coaches arrange an initial one-on-one session with participants. The purpose of this first 1 h session is for health coaches to work with participants to develop goals tailored to their needs and values. The session follows a set format. Māori and Pacific coaches are available. Once these goals have been set and agreed on, participants' goals are entered into their profile  Change of score in diabetic-specific behaviours and outcomes At 4 and 12 months Measured using the Summary of Diabetes Self-Care Activities tool, which assess participants' self-care activities [38] Health-related quality of life At 4 and 12 months Measured using the five-level EuroQol five dimensions questionnaire (EQ-5D-5 L) Change in score of diabetes-specific outcomes At 4 and 12 months Measured using the Diabetes Distress Scale [39] Change in dose of insulin At 4 months relative to baseline, and 12 months relative to 4 months Categorised as (1) starting insulin in current time period; (2) increasing dose of insulin in current period; (3) reducing dose of insulin in current period or (4)   Health-related quality of life (EQ-5D-5 L) Health profile and Visual Analogue Scale rating Permission granted to use the paper and REDCap versions of the EQ-5D-5 L. Available from: https://euroqol. org/eq-5d-instruments/eq-5d-5l-about/ coaches will be by audio or video, as per the participant's preference. Support and clinical governance of the health coaches is provided by a clinical psychologist, general practitioner and an experienced health coach. Coaches also regularly interact with one another via an online forum (separate from patient forums) to share any problems they are having and solutions 2. Health literacy component. There are eight key education modules introduced to participants via the web and mobile platform with attached resources (videos, infographics, articles, tips, tools, meal ideas and mini-quiz). The key messages in the modules are reinforced in corresponding email newsletters, discussions on the newsfeed initiated by the community manager and by the participant's coach. Every 2 weeks, a new module is released that presents participants with a range of topics that offer key messages to help them to learn about and manage their own health. The modules cover risk factors for T2DM and pre-diabetes, healthy eating and physical activity, identifying triggers for less healthy decisions and establishing healthy habits, sleep and shift work, meal planning, problem solving, healthy coping and mindfulness (see Additional file 2 for more information) 3. Goal tracking. Participants are encouraged to track their progress towards their goals (including healthy eating, physical activity, weight, happiness and sleep). They will be provided with a set of digital scales and a tape measure so they can take their own measurements and track their progress. They will be able to share these data with their health coach at any time, or with their physician by email or at their next appointment 4. Peer support. The programme also includes peer support with real-time chat within a private and secure online social network monitored by a community manager who is a registered nurse trained in nutrition. This person monitors the community to ensure nothing unsafe (like personal details, or negative health messages) is shared, and that people are supported and supportive. They will also reinforce key messages, highlight local events in the area, start conversations and welcome new people to the community. The community manager also provides a point of contact for both technical support, and for support more generally, particularly after the first 16 weeks of the programme when the health coaching module is completed.
In the first 16 weeks of the programme, participants will set goals, work with health coaches, receive the evidence-based modules and be encouraged to use goal tracking and participate in the peer support programme.
After that time, participants will be encouraged to continue tracking and participating in peer support, for the remainder of the 52-week programme. Information from the modules is available for the entire 52-week period.
At the time of randomisation, contact details for participants randomised to the intervention arm will be forwarded to Melon Health Ltd. (with participant permission). A health coach will then contact the participant within five working days to initiate the programme. Those randomised to the intervention arm will begin the BetaMe programme whilst continuing to receive usual clinical care from their primary healthcare team. They will also receive resources produced and provided by Diabetes NZ.

Technical aspects of the mHealth platform
Melon Health's platform is built to maximise patient confidentiality and general security of the application at all levels. The system exceeds New Zealand privacy requirements and meets US HIPAA (Health Insurance Portability and Accountability Act) security rules for health data, with regular auditing by external security specialists.
The platform currently integrates with over 350 wearables and biometric sensors through its open API (application programming interface), and platform is accessible through a web-based application or Android/ iOS applications.

Control arm
Participants in the control arm will receive usual care. Although this may vary somewhat between practices and GPs, the key interest is the extent to which the BetaMe programme may improve outcomes beyond that expected in the context of usual care. For people with T2DM, this would typically involve an annual diabetes review to monitor glycaemic control and assess the patient for the presence of any diabetes complications and a review of treatment. In addition, it could include education and advice on lifestyle factors, such as diet and exercise, provided by a trained practice nurse or diabetes specialist nurse. For people with pre-diabetes, usual care would typically include lifestyle advice and education about diet and exercise, and an annual HbA1c.
The study team will also provide participants in the control arm with standard information about pre-diabetes and T2DM and its management, from resources produced and provided by Diabetes NZ (Pamphlets entitled 'Prediabetes' , 'Diabetes and Healthy Food Choices' , and 'Live Well with Diabetes' , available at https://www.diabetes. org.nz/pamphlet-ordering/). This is to increase retention of control arm participants in the study, and to ensure that all patients have basic information on T2DM and pre-diabetes.

Randomisation and blinding
Based upon their baseline HbA1c test results (pre-diabetes or diabetes range), participants will be randomised into the intervention or control arm (1:1 allocation) using a computer-generated randomisation schedule stratified by participating practice and ethnicity (and separate for the two HbA1c-level groups). Randomisation will be completed within two working days of the completed baseline assessment. To ensure allocation concealment, randomisation will be centrally determined from within the REDCap electronic data capture platform after the patient is enrolled in the study (following the first assessment with the research nurse and when full eligibility based on current HbA1c level has been determined). To ensure balance in numbers allocated to each study arm, randomisation lists will be blocked.
The randomisation allocation list will not be visible to the team member(s) requesting the allocation, and this team member(s) will only have details on the patient ID, practice, and ethnicity when requesting allocation for any patient. The exact length of each randomisation block will be kept in a separate document held by the principal investigator (PI), project manager and project statistician, and thus will not be available to the team member(s) responsible for determining allocation.
Given the nature of the intervention, it is not possible to keep participants blind to their intervention status. Research nurses taking objective measurements will be kept blind to the intervention status of participants to the extent possible. However, when the nurse meets with the participant at the 4-and 12-month follow-up visits, it is not possible to guarantee that the nurses remain blind to the intervention allocation of the participant. The results dataset will be stored with the study arm identity blinded by code. The key to this code will be held independent of the analysis dataset by the PI, a second member of the research team (MM), and an independent member of the internal Data Monitoring Group. Data cleaning and analysis will be conducted by a statistician who is blind to group allocation. Once analysis is complete, the results will be unblinded.

Outcome measures
The co-primary outcomes are changes in HbA1c and weight at 12 months. HbA1c provides the most sensitive measure of glycaemic control among those with T2DM. High levels are predictive of higher levels of complications and mortality. Weight (and waist circumference) are associated with T2DM, cardiovascular disease, several cancers and overall mortality [28][29][30]. We will focus on weight in kilograms as this is the most common outcome in systematic [31,32] and Cochrane reviews, [33,34] but for completeness we will also report differences in units of Body Mass Index (BMI).

Secondary outcomes are:
Change in waist circumference at 12 months Change in blood pressure at 12 months. High blood pressure (common amongst people with diabetes) is associated with a higher risk of cardiovascular disease and mortality, and is amenable to lifestyle interventions [35,36] Additional self-reported outcomes include: Medications (regular prescription medications), and changes to medications and doses Changes in self-management of chronic conditions using the Partners in Health Scale. This is a validated tool for self-reported self-management of chronic conditions [37] Diabetes-specific behaviours and outcomes will be measured using two validated instruments: the Summary of Diabetes Self-Care Activities tool, which assesses participants' self-care activities [38]; and the Diabetes Distress Scale which differentiates those with high and low levels of distress [39] Health-related quality of life measured using the five-level EuroQol five dimensions questionnaire (EQ-5D-5 L) [40]. Short-term outcomes: we will assess primary and secondary outcomes at 4 months. This will give an indication of the effect of the 'active' part of the intervention. Research has shown that even short-term decreases in HbA1c can have a long-term effect on health outcomes, with effects tending to attenuate over time [12,13,41] Outcomes will be assessed for all participants (regardless of whether they complete the intervention) by trained nurses at baseline, 4 months and 12 months (Tables 2 and 3).

Sample size and analysis
All primary analyses will be based on intention-to-treat principles (with individuals analysed in the group to which they were randomised). Demographic and baseline characteristics will be summarised using descriptive statistics. Both HbA1c and weight will be analysed as continuous variables. For the HbA1c primary outcome, analysis will be conducted both combined and separately for pre-diabetes and T2DM. For weight, the primary analysis will combine participants with pre-diabetes and T2DM. Analysis will use linear mixed models, comparing mean outcome levels between intervention and control arms at the 12-month endpoint, adjusted for initial HbA1c level (accounting for baseline differences in outcome) and for other important baseline covariates (age, gender, ethnicity, weight). This analysis will include the 4-month measurements, providing some information for those individuals subsequently lost to follow-up and hence missing final outcome data (mixed models analysis treats these final data as missing at random conditional on baseline and intermediate covariates, i.e. these individuals are expected on average to have final outcomes similar to other people with the same baseline covariates and HbA1c trajectories). As the study involves repeated measures data, these models will include random effects for individuals to account for correlation between measurements from the same person at different follow-up times.
The study is powered in the pre-diabetes group to detect a difference of 2.5 mmol/mol between study arms (80% power, alpha = 0.05, presuming SD = 5.5 mmol/mol [42]). This requires a sample size of 76 per study arm (152 total). In the pilot study, the mean reduction in HbA1c was 2.6 mmol/mol. The sample size for the T2DM group is powered to detect a minimal clinically important difference [43,44] of 5.5 mmol/mol between study arms (80% power, alpha for comparison = 0.05, presuming a standard deviation of 15 mmol/mol in this group [16]). This requires a sample size of 117 per study arm (234 total). This gives a combined sample size of 386 people with pre-diabetes and people with T2DM. To account for loss of precision due to patients lost to follow-up (projected at 10% [45,46]), we will recruit 430 patients at baseline (note that all participants will be included in linear mixed models analysis, even if missing final endpoint data, which reduces bias in estimating effect size, but there is still loss in statistical power compared to having complete follow-up data).
Analysis of weight differences between study arms will use the same analytical methods as for the HbA1c outcome. For these weight analyses, those with pre-diabetes and T2DM will be pooled prior to analysis as the relevant intervention target weight loss is the same for these two groups. Analysis will be stratified on patient group to account for the pooled approach, and we will also report weight differences by study arm within each patient group. The comparison of weight loss in the combined patient group is powered to detect a difference between study arms of 5 kg (80% power, alpha = 0.05, SD = 15 kg in this group [47]). This requires a sample size of 142 per study arm (284 total), which is within the combined sample size calculated for the HbA1c outcome.
We will also estimate differences in HbA1c and weight endpoints by study arm for each of the stratified randomisation ethnic groups (Māori, Pacific, other ethnicities), and will report the mean intervention effect and 95% confidence interval for each group. Proportions of patients meeting HbA1c and weight-loss targets will also be analysed by ethnic group with logistic regression (adjusted for baseline covariates), and adjusted absolute risk differences in treatment outcomes will be computed to quantify treatment effectiveness [48]. Assuming that 20% of the sample will be Māori (n = 234 × 0.2 = 46 Māori participants) gives an anticipated margin of error on the intervention effect of ± 4.5 mmol/mol for HbA1c in the diabetic group.
Analysis of self-reported outcomes will be conducted in a similar way.
Results will be actively disseminated (see Additional file 3).

Data management
Baseline and follow-up data are entered directly by patients and research nurses at the time of the relevant assessments in to a REDCap database. Range checks are in place for relevant variables such as HbA1c levels (41-70 mmol/mol). All data are checked by research nurses at the time of their entry and those variables that are used for stratified randomisation (ethnicity, practice and HbA1c) are rechecked by the research manager prior to randomisation. Participants' data will be de-identified by a unique code number and information linking that code to a particular patient (NHI and unique trialspecific code number) will be kept in a secure location with password protection. A master list which links the patients' NHI and trial code number will be kept so any information about the study, including results, can be communicated to participants. Analysis will be carried out on de-identified data. All trialspecific data for the study will be securely stored by the research team for 10 years once the trial has ended.

Data monitoring
An independent Data Monitoring Group is not required for this study because the study is low risk in terms of likelihood of life-threatening complications or serious adverse events, the study team has no professional or financial links with the company that is delivering the intervention, and it will not be necessary to instigate stopping rules because there will be no interim analyses of efficacy [49]. An internal Data Monitoring Group will be convened at 2-monthly intervals which will consist of the study PIs (DS and MM) and the biostatistician (JS). This group will also include an independent senior researcher. This group will assess the effectiveness of study procedures, review any potential adverse events and review and approve any amendments to study protocols. Other members of the research group will provide advice and input if requested.

Process evaluation
At the end of the study, there will be a process evaluation, which will include assessments of implementation of the BetaMe programme and mechanisms of action. Data will be collected from three sources: (1) from the mobile/web platform to identify key usage patterns; (2) with consent from the participants, health coaches will record audio interactions with participants and will log key reasons for contact (a random subset of the coaching sessions will be assessed by the research team for consistency with the log); and (3) participants will be invited to provide individual feedback on the acceptability and usefulness of the intervention at the end of the study period. Focus groups, lasting approximately 1 h each, will be held in each region to obtain in-depth feedback about the intervention and how participants interacted with it. Usage will be described, and linked to outcomes using standard quantitative analytic approaches (for example, proportions accessing health coaches will be reported, with 95% confidence intervals; frequency of accessing health coaches or engaging online will be reported as median access with range/interquartile range). Focus group data will be coded thematically, with key issues identified.

Trial registration
The trial is registered with the Australian New Zealand Clinical Trials Registry on 19 April 2017. Registration number: ACTRN: ACTRN12617000549325. See http:// www.ANZCTR.org.au/ACTRN12617000549325.aspx. The full protocol is available at this site, including consent forms and detailed documentation. Any important protocol modifications will be reported to this organisation. This trial's Universal Trial Number (UTN) is U1111-1189-9094.

Discussion
Long-term conditions pose a great burden to patients, family/whānau and health services. Self-management interventions are a potential way to address this burden with evidence that they can be effective in improving physical and mental health. Important gaps in evidence remain, and are a barrier to implementation. The BetaMe programme is an integrated, evidence-based, comprehensive, self-management programme delivered by mobile and web-based technology. A pilot of 117 patients with pre-diabetes was extremely successful with 78% of people reducing their HbA1c level below pre-diabetes range over 4 months. However, the study was volunteer-based and did not incorporate a comparison arm.
This paper describes the protocol of a study that will address the question of whether this kind of programme is likely to be effective in reducing HbA1c and weight among people with T2DM and pre-diabetes in a primary care environment. It addresses shortcomings of previous studies and includes an explicit aim to assess the effectiveness of this kind of programme among Māori and Pacific people who have higher rates of T2DM and prediabetes than other ethnic groups in NZ.
If found to be effective, this programme would allow healthcare providers to deliver an intervention that is person-centred and supports the self-care of people with T2DM, pre-diabetes and potentially other LTCs.

Trial status
This paper is based on protocol version 1. Availability of data and materials Anonymised datasets generated and/or analysed during the current study will be available from the corresponding author on reasonable request.
Authors' contributions DS and MM drafted the manuscript and led the development of the study protocol. JaS led the development of the analysis plan and randomisation procedures. AD and JK provided clinical advice. VS assisted with drafting the protocol and provided nursing advice. JeS and CD provided Māori health and research expertise. WL provided advice on process evaluation. RG provided advice on mHealth interventions. All authors contributed to the design and procedures of the study, provided input to earlier drafts of the protocol, read and approved the final manuscript.