carbohydrate count aided by a simulation in people with type 1 diabetes mellitus. a protocol for a clinical trial

Conditions: Diabetes Mellitus, Type 1

Summary: insulin remains the only approved treatment for type 1 diabetes mellitus patients and is used by many with type 2 diabetes. carbohydrate counting is the most recommended way to prescribe prandial insulin dose because it is safe and efficacious, and also it allows a more variate diet to patients. methods to improve carbohydrate counting include automatization of the process, optimizing carbohydrate meal content estimation, and including other nutrients such as fat into the equation. being an iterative process that patients perfect by practicing and repeating, we believe that using simulations can improve carbohydrate counting. simulations allow individuals to practice in a safe environment and help build confidence in one's ability to perform a task. in this clinical trial, patients assigned to the intervention group will have installed the studia app, an automatic carbohydrate counter coupled to a mathematical model that simulates glucose excursions at the individual level using the patients' parameters in their smartphone. time in range will be measured using a continuous glucose monitor.

study setting patients with t1dm trained in carbohydrate counting whose follow-up is considered feasible will be recruited from university hospitals and clinics dedicated to treating people with dm in the city of medellín, colombia. cointerventions since only patients with t1dm will be recruited, patients in both groups are expected to be treated with insulin, either with a multiple injection scheme or an insulin pump. there are no other approved interventions for the treatment of t1dm. researchers will be instructed to avoid the use of unapproved drugs for t1dm. protocol discontinuation the protocol will be discontinued if any of the following conditions are met: the patient does not wish to continue participating in the study. the patient's treating physician decides that she should not continue in the study due to the need for additional therapies that could affect the patient's ability to interact with the application or substantially modify glucose behavior and require other interventions, such as treatment with high doses of glucocorticoids. the patient requires hospital treatment for more than 72 hours, and the use of the application at the researcher's discretion may interfere with her care or put her health at risk. the patient develops a condition that contraindicates continuous glucose monitoring, such as intractable allergies to adhesives, frequent radiological evaluations that could contraindicate the implantation of devices, or any generalized skin condition that makes it impossible to insert the device in any area of the body. sample size the sample size has been calculated based on the primary outcome, i.e., the expected difference in the tir. twenty-eight patients, 14 per group, will be required to analyze time in range using a mixed-effects model assuming a standard deviation of 4%, the statistical power of 90%, a type i error rate of 0.05%, and intra-subject variability of 5%, and inter-subject variability of 9%. the sample size was adjusted to 15 patients per group to admit a withdrawal rate of 10% in the intervention group, assuming that no patients in the control group could access the intervention. to maintain statistical power, sample size was adjusted by a factor that represents the retirement ratio. recruitment participants will be recruited from university hospitals and clinics specializing in the treatment of t1dm, to which patients are referred for treatment with an insulin pump or cgm support in medellín, colombia. participants will be invited to the study by their treating physicians at each site. random sequence generation participants will be randomly assigned in a 1: 1 ratio to the intervention or control group by a sequence of computer-generated random numbers, using permuted blocks of 4 to 6 individuals of variable size. the size of the blocks will not be revealed to ensure the concealment of the sequence. the sequence will be generated using a web application. allocation concealment mechanism allocation concealment will be maintained using a web-based central randomization system. this system will not deliver the allocation code to a coordinator until after the last evaluation visit, preventing the researcher from knowing the group in which the patient will be included. random sequence implementation during the study, randomization will be implemented by the pablo tobón uribe hospital research unit. the study coordinator will access the sequence list and assign the generated code to each patient. within the application, the codes and the assignment of each code to one of the arms of the study will be prerecorded. doing so will ensure the independence of the researchers and those responsible for data analysis. blinding due to the nature of the intervention, patients and investigators will not be blinded. instead, those responsible for data analysis will be blinded until the data analysis is complete. this will be done by assigning codes to the patients with whom those in charge of processing the data will identify each data set and build the databases. the assignment groups will be named group a and group b, and the intervention of each group will be known only to the coordinator in the research unit. the groups will be declassified for interpretation once the study is finished and the analysis plan is complete. data collection methods the data will be collected using the code assigned to each patient during the generation of the randomization sequence, and the databases will be built weekly with the following information: time in range and time out of range: the time in range and out of range will be calculated from the data obtained from the continuous glucose monitor at each weekly visit by one of the investigators. this person will be trained in retrieving the data from the cgm. grade 3 hypoglycemic episodes: at each visit, one of the investigators will inquire and record the grade 3 hypoglycemic episodes that the patient has presented. glycemic variability: the glycemic variability will be calculated based on the data obtained from the cgm. degree of agreement of the phenomenological-based model: the data to estimate the degree of agreement in the glucose levels of the phenomenological-based model will be obtained by comparing the simulation given by the model and the data obtained by the cgm. the glucose values estimated by the model will be stored on a server for the duration of the study and will later be entered into a database for analysis. actions carried out by the participants: the decision entered by the patient is reported in the same application that performs the carbohydrate count and stored on a server for later analysis. usability of the application: the participants will fill out the usability scale during the last visit. this data will be stored on a server and subsequently analyzed. figure 2 shows the patient's flowchart. retention given the short follow-up time, no losses are expected. however, all reasonable efforts will be made to ensure follow-ups. the next visit will be scheduled at each follow-up visit, and the participants will be reimbursed for transportation costs if required to attend the visits. participants may leave the study at any time and for any reason. in addition, researchers may withdraw participants if they consider any danger to the participant continuing in the study. participants may be withdrawn from the study if the competent authority decides to do so. data management all data will be recorded electronically in forms stored on a virtual server during the study. access to these forms will be restricted and only authorized by the pablo tobón uribe hospital research unit. the data obtained from the cgm will be stored in its original format on a virtual server once the patient has been de-identified and can be accessed for data quality verification reasons. pablo tobón uribe hospital's research unit will store all data indefinitely, but any information that could identify the patients will be deleted. statistical methods table 1 shows the initial variables of the groups contained in the table for the operative definition of variables (supplementary table1) and will be presented as divided by the treatment assignment groups. the normality analysis will be performed using a q-q (quantile-quantile) graph and the shapiro-wilk test. according to data distribution, continuous variables will be presented as mean and standard deviation or medians and interquartile ranges. discrete variables will be presented as medians and interquartile ranges, and qualitative variables will be presented as absolute frequencies and proportions. analysis population complete analysis set: the full analysis set will consist of all randomized individuals, including follow-up and protocol deviation losses. per-protocol analysis set: the per-protocol analysis set will be made up of individuals who use the choc + sim application at least 80% of the time. this proportion of the use of the simulation is proposed based on previous results that show that cgm sensor wear time is associated with greater reductions in glucose levels. objectives analysis plan a complete analysis set will be used for the primary endpoint and intention-to-treat analysis. this will be compared with the analysis result as a sensitivity analysis, taking into account only the set of per-protocol analyses. a mixed model analysis will be used to evaluate the time in range difference. the tir is included as the dependent variable in the mixed-effects model analysis. the type of treatment and the time since randomization are included as independent variables. the tir before randomization, type of insulin treatment, and pre-randomization hba1c will be included as covariates. the secondary counting outcomes will be analyzed in the per-protocol set. the number of episodes of grade 3 hypoglycemia and number of dka or hss will be compared in both groups using a ratio of incidence rates, calculated using a poisson regression if the variance is less than the mean or by negative binomial regression otherwise (60, 61). agreement between the phenomenological-based model and cgm measurements will be analyzed using limits of agreement (loa) in the complete data set. however, the clinical interpretation of loa is not straightforward without a minimal clinically significant difference. more importantly, it does not consider the clinical risk derived from an error in the estimation. therefore, the authors also decided to perform an error grid analysis.

Eligibility criteria:
inclusion criteria: * age: adults 18 years old or older. * t1dm with at least one year since diagnosis. * treatment with a multiple daily injection scheme or insulin pump. * trained in advance choc. * have an hba1c above 7.5% and below 10% in the three months before the randomization. * be able to use a smartphone app for carbohydrate counting. exclusion criteria: * a confirmation or possible diabetic gastroparesia. * with a chronic renal disease and an estimated filtration rate of 65 ml/min/1.73m2 or less using the ckd-epi (chronic kidney disease epidemiology collaboration) equation. * patients been treated with any other form of medication different from insulin for dm. * pregnant women.