Introduction

Effective treatment of patients with type 2 diabetes mellitus (T2DM) includes lifestyle changes and medication to prevent morbidity and reduce costs [1,2,3]. However, several studies show that few patients achieve glycemic control in clinical practice, partly because of poor medication adherence (MA) [4,5,6,7,8]. The proportion of patients adherent to antidiabetic therapy varies between 33 and 93% after 6–24 months [9, 10]. MA can be divided into three different phases: (I) initiation, where treatment is started and the first dose administered; (II) implementation, which measure the extent to which the prescribed dosage regimen is followed; and (III) persistence, which represent the time from initiation to discontinuation of treatment [11]. Data sources have different validity depending on which phase of MA is assessed. Register data is considered to be the “gold standard,” the most truthful data source, in studies of measuring initiation and persistence [12]. In previous studies on T2DM patients, being middle aged, native persons, being prescribed other drugs than metformin, not having comorbidities, and high socioeconomic (SE) status are associated with higher MA [4, 13,14,15,16], while the results on sex differs between studies [13, 16]. The factors associated with poor MA differ depending on the aspect of the treatment period being assessed [17]. Factors associated with initiation are related to the consultation with the prescribing physician, reactions to diagnosis and/or medication, and patient beliefs and previous experiences. On the other hand, factors associated with persistence are more related to side effects and the lack of perceived treatment benefits [18].

There is a need for more research on MA applying clear definitions of adherence and separate assessment of initiation, implementation, or persistence and factors associated with each phase [15, 19]. Studies assessing determinants of MA in T2DM have found SE status to be associated with MA [13, 15, 16]. However, SE status is mainly based on income, or using a combined measure generating a deprivation score, and does not separate the different phases of MA. In this study, the term socioeconomic position (SEP) is used which is a broader term than SE status and also includes income, education, and occupation [20]. Knowledge about which individual socioeconomic characteristics that are associated with poor MA may be helpful in designing more individualized interventions to tackle medication nonadherence. This is important to ensure equitable healthcare, especially since patients with T2DM have lower SEP in general [21]. The initiation phase is rarely included in studies because of the lack of data on issued prescriptions that were never filled. Furthermore, studies that include all newly prescribed drugs are lacking, and few studies have longer follow-up than 12 months [4, 22]. In previous research, persistence has mainly been evaluated as persistence to the initially prescribed treatment. However, persistence to any antidiabetic therapy, including switching of antidiabetic agents, may be more clinically relevant. This study therefore aims to determine initiation and persistence for patients with T2DM receiving their first prescription of an antidiabetic agent and the associations with SE factors.

Methods

Population and data source

This cohort study included patients diagnosed with T2DM, without previous treatment for this condition, prescribed an antidiabetic agent between the 1st of January 2012 and to 31st of December 2019. Patients were eligible if over 18 years old at first prescription. All primary healthcare centers (PHC) in the region of Uppsala, Sweden, were asked to participate, and 48 out of 51 PHCs consented to participation. The study population was identified using ICD-10 code E11 in the electronic health record (EHR) for the region of Uppsala, and data were extracted on all patients’ primary and secondary care diagnoses, issued prescriptions, and laboratory data. This dataset was linked to two national registers; the Swedish Prescribed Drug Register provided data on drug name, ATC code, dispensing date, and SE data from Statistics Sweden including data on age, sex, country of birth, immigration, emigration, education, unemployment (days of unemployment per year or receiving unemployment aid), yearly income, receiving pension, and family status (registered partners/marriages and individuals in each household) [23, 24]. Data linkage was done by Statistics Sweden using personal identity numbers and pseudonymized before delivery of data [25].

Variables

Antidiabetic agents were identified using the Anatomical Therapeutic Chemical classification system, ATC system [26]. The index date was defined as the date of the first issued prescription of an antidiabetic agent (ATC code A10) with no previous dispensing of any antidiabetic agent identified in the prescribed drug register, issued by any prescriber in Sweden within 24 months before the index date. Patients were considered exposed to treatment when dispensed an antidiabetic agent. Baseline data were collected 24 months before the index date and dispensing data 28 months after the index date. See Table S1 (Supplementary information) for a complete list of the ATC codes used.

Patient-related SE variables collected from Statistics Sweden were registered on the 31st of December every year. SE data from the previous year were used for patients who died or emigrated in the same year. Clinical variables extracted from EHR were defined as the last recorded value before the index date, but the covariate assessment window could expand to 24 months before the index date. Variables were grouped accordingly as follows: age groups: 18–49, 50–64, 65–79, and ≥ 80 years, due to previous found differences in MA between these age groups [13]; country of birth: Sweden, the rest of Europe, and the rest of the world; highest education: primary school (< 10 years), secondary school (10–12 years), and university (> 12 years); unemployment: long-term unemployment (≥ 183 days previous year) and other unemployment (short-term unemployment, part-time unemployment, or receiving unemployment benefits in the previous year). Individual income was calculated into quartiles. Family status was grouped accordingly as follows: married (married or registered partners living together), cohabiting (living with an adult, but not married or registered partners), and living alone (living without other adults). Estimated glomerular filtration rate (eGFR) was calculated in the EHR. P-creatinine and the revised Lund-Malmö GFR estimating equation were mostly used for calculating the eGFR in EHR [27]. eGFR was divided into levels of chronic kidney disease (CKD) scale: CKD 1 (GFR ≥ 90 ml/min/1.73m2), CKD 2 (GFR 60–89 ml/min/1.73m2), CKD 3a (GFR 45–59 ml/min/1.73m2), CKD 3b (GFR 30–44 ml/min/1.73m2), and CKD 4–5 (GFR < 30 ml/min/1.73m2) [28]. Glycosylated hemoglobin (HbA1c) was grouped as follows: ≤ 48, 49–69, and ≤ 70 mmol/mol. Diagnoses were defined using ICD-10 codes: hypertension (I10), depression (F32, F33, F34, F38, F39), obesity (E66), and cardiovascular diseases (ischemic heart diseases (I20–I25), peripheral vascular disease (I70–I79), stroke/transitional ischemic attack (TIA) (I63, G45.9), and heart failure (I50)). To be classified as having depression, patients could either have a diagnosis of depression or have claimed an antidepressant drug (ATC code N06A). Sex and family status were combined to determine possible sex differences in social support and MA. Four treatment groups were compared: (I) metformin monotherapy; (II) insulins, patients prescribed one or several insulins; (III) other monotherapy, monotherapy with any drug other than metformin or insulin; and (IV) polytherapy, patients prescribed either insulin in combination with other antidiabetic agents, several non-insulin antidiabetic agents, or fixed combination products (A10AE5 or A10BD).

This study assessed two aspects of MA, initiation and persistence [11]. Initiation was measured as the proportion of patients claiming their first prescribed antidiabetic agent at the pharmacy within 30 days from the prescription date (initiation of treatment, I30) and claiming two prescriptions within 150 days from the prescription date (initiation of long-term treatment, I150). Persistence refers to the period after initiation in which patients continue to take their medicine. Therefore, only patients who claimed their first prescription within I30 were included in the persistence analysis. Persistence (yes/no) was defined using the anniversary method: whether patients claim the antidiabetic agent within a specific time window [29]. Non-persistence was defined as no dispensed medication within 3 months before and after the endpoint 12 months (P12) and 24 months (P24) after the first dispensing date. The time window of ± 3 months was based on the Swedish reimbursement system, where patients normally receive a 3-month supply, including a grace period of 3 months (supply gap). Patients initiated on treatment may also receive a start package with up to 30 days of supply. To ensure coverage of medication costs, patients can obtain a refill once at least 2/3 of the previous supply is used [30]. A grace period of 3 months has previously been recommended to adjust for stockpiling [31]. Initiation and persistence were defined as claiming all the initially prescribed antidiabetic agents. If prescribed several medications, the mean number of days until they were dispensed was recorded.

Statistical analysis

Descriptive statistics were used for baseline variables and patients defined as initiated on or persistent to therapy, respectively. Categorical data presents the proportions of patients, and continuous data presents mean values and standard deviations (SD). Covariate multicollinearity was tested with generalized variance inflation factor (GVIF) before using multivariable logistic regression models to estimate the effect of covariates on initiation and persistence. The full logistic regression model included all SE factors, and sensitivity analysis was done with reduced logistic regression models which included one SE factor in each model, both the full and reduced model adjust for age, CKD, HbA1c, comorbidities, prescribed treatment, and year of prescription. All results are presented as adjusted and crude odds ratios (OR) with confidence intervals of 95% (95% CI). All analyses for initiation were performed using the complete cohort of 8515 persons, and analysis for persistence was performed using the population initiated according to I30. Sensitivity analysis for initiation was performed with cumulative graphs of days until initiation, and sensitivity analysis for persistence was performed with a time window of ± 2 months. Data management was done in SAS Enterprise Guide 8.2, and analysis was done in RStudio version 2022.07.01 + 554.

Results

A total of 12,962 patients with T2DM were prescribed an antidiabetic agent for the first time in the region of Uppsala between 2012 and 2019; 205 of them were excluded due to incomplete personal identification numbers, and 3885 patients were excluded due to dispensations of antidiabetics during the wash-out window, 311 persons due to immigration during the past 2 years, and further 46 patients due to missing data of all SE variables (Fig. S2). The final population included 8515 patients, of which 77.2% were prescribed metformin monotherapy; the rest were prescribed either insulins (9.1%), other antidiabetic monotherapy (8.4%), or polytherapy with two or more antidiabetic agents (5.4%). Patients were initially prescribed one to four different agents. Other cohort baseline characteristics are presented in Table 1.

Table 1 Characteristics of patients with T2DM prescribed an antidiabetic agent for the first time 2012–2019. Clinical data were the latest recorded values before prescription, and socioeconomic data were collected 31st of December previous year. SDstandard deviation

Most patients claimed their prescription soon after it was issued: 84.8% within the first 7 days and 92.4% within a month (I30) (Fig. 1). Only 3.7% never claimed their antidiabetic medications within 365 days (last valid date of prescriptions). The number of days until the second dispensation varied more; 71.4% claimed it within 150 days (I150), and 16.3% of patients did not claim the second dispensation within 365 days. Persistence was calculated for the population initiating treatment at I30, 7867 persons (92.4% of the study population). There were 70.3% who claimed all their initially prescribed agents within the 12 months ± 3 months from dispensing date (P12) and 64.1% within P24 (Fig. 2).

Fig. 1
figure 1

Cumulative graph of days until the first dispensation of an antidiabetic medication for the total population and each treatment group (metformin monotherapy, insulins, other antidiabetic monotherapy, or polytherapy)

Fig. 2
figure 2

Percentages of patients staying on antidiabetic medications (persistence to any antidiabetic medications, upper branch), staying on initially prescribed antidiabetic medications (circled box), and patients discontinuing (lower branch) at 12 (P12) and 24 months (P24) after first dispensation date

There were differences in initiation and persistence depending on the type of prescribed medication (Fig. 3). Ninety-four percent of the patients prescribed metformin were initiated at I30, compared to 80% for insulin and polytherapy. At P24, 67% of the patients prescribed metformin were persistent, compared to 22% for insulins. Significant differences compared to metformin were observed for all other medication regimens, except for the group with other monotherapy in I150. Logistic regression analysis showed that patients prescribed metformin monotherapy had significantly higher initiation at I30 and higher persistence at P12 and P24, compared to all other treatments. For I150, initiation was significantly higher compared to insulins and other antidiabetic monotherapy.

Fig. 3
figure 3

Percentage of patients with 95% confidence intervals in each treatment group claiming the first prescription from a pharmacy (first dispensing date) within 30 days from prescription date (I30), claiming the second prescription within 150 days from prescription date (I150), claiming the prescription in the time window 12 ± 3 months after the first dispensing date (P12*), and claiming the prescription in the time window 24 ± 3 months after the first dispensing date (P24*). *This figure shows percentages of all patients initially prescribed that specific medication and not only persistence for patient initiating (I30); therefore, all calculations in this figure are based on the full study population of 8515 persons

There were some differences between the factors associated with initiation and persistence. The SE groups with lowest initiation were unemployed or persons born outside Europe (I30: 80–85%; I150: 58–60%). The SE groups with the lowest persistence were young, unemployed, or persons born outside Europe (P12: 50–54%; P24: 44–50%). For percentages for all the groups, see Table S3. Combining different SE factors was restricted due to small samples in each group, resulting in large confidence intervals, but of the young women born outside of Sweden, only 30% were persistent after 24 months (see Fig. S4). In regression analysis, being unemployed was only associated with lower initiation, while being female was only associated with lower persistence. Factors associated with both lower initiation and persistence were being born outside Europe and low income. Being under 50 years old, over 80 years, or having a university education was associated with lower I150, P12, and P24 but not I30 (Fig. 4). All factors remained significant when using a 99% confidence interval except for I30: other unemployment; I150: age 65–79, other Europe, university education, other employment; and P12: income for the 3rd quartile (Table S5).

Fig. 4
figure 4

Forest plot including adjustedα and crude odds ratios (OR) with 95% confidence intervals for factors associated with initiation of treatment before 30 days (I30), initiation of second dispensation before 150 days (I150), persistence with treatment after 12 months (P12), and persistence with treatment after 24 months (P24). *Abbreviations: LA, living alone; M/C, married/cohabiting. αValues were adjusted for all other variables in the figure and, additionally, prescribed treatment (metformin monotherapy, insulins, other antidiabetic monotherapy, and polytherapy), CKD level, HbA1c, hypertension, cardiovascular disease, depression, obesity, and year of prescription

Another regression analysis estimated the associations of the same factors and patients persistent to antidiabetic therapy, instead of persistence to the initially prescribed antidiabetic agents. At 24 months, approximately 80% of patients continued with any antidiabetic medication, while 64% remained persistent to the initially prescribed agents (Fig. 2). Logistic regression analysis performed for factors associated with persistence to any antidiabetic therapy corresponded to factors associated with persistence to initially prescribed agents in Fig. 4; however, patients born outside Europe had a stronger association of not being persistent, and patients with a university education did not have significantly lower persistence than the reference group (Table S6).

There were 309 individuals in the population who died within the study period of 28 months. Of these, 56.2% were defined as persistent at P12 and 44.9% at P24. Only 24 persons emigrated within the total study period of 28 months. When logistic regression analysis was performed after excluding patients who had emigrated or died, the results were very similar. The associations for age groups did not change nor did the associations for birth country. Other sensitivity analysis was performed based on different definitions of initiation (I30 and I150) and persistence (P12 and P24). Cumulative graphs were used for initiation. The plateau at day 25 (92% dispensed), shown in Fig. 1, supported the decision of a 30-day cut-off for I30. For I150, the plateau occurs close to the mean value of 144 days until the second dispensation, which in addition to the predicted supply supports a 150-day cut-off. Sensitivity analysis for persistence was performed with a time window of 12 ± 2 months and 24 ± 2 months instead of ± 3 months (Table S7). Subsequently, 63.9% were defined as persistent for P12 and 57.9% for P24. Reduced logistic regression models adjusting for one SE factor in each model found similar results as shown in Fig. 4, but larger effects for birth country, income, and occupation which are more similar to the crude models.

Discussion

In this study on 8515 primary care patients receiving their first prescription of an antidiabetic drug, the majority claimed their prescription. However, many of them never claimed a second prescription, and 64% remained on the initially prescribed drug 2 years later. Patients who failed to claim their prescription within 30 days were more likely to be born outside of Europe or unemployed. Factors associated with the 30% of patients not starting long-term treatment (i.e., not claiming the second prescription) included being born outside of Europe, unemployment, low income, and being either young or old. Low income, age, and birth outside Europe continued to impact the use of antidiabetic medications for persistence, and the factors associated with discontinuation also included females and having a university education.

We found that 92% of patients claimed their prescription within 30 days from the prescription date. This initiation rate aligns with previous research, which suggests that, on average, 10% of patients never claim their diabetes prescriptions [32]. However, in our study, most patients claimed their first prescription within a year. Therefore, using time windows that are too short may underestimate the initiation. Canadian researchers found one-third to discontinue within 3 months, being similar to the findings of 71% for I150 [14]. In our study, the pattern of initiation was similar across different treatment groups, but patients prescribed only insulins were more likely to never claim their prescription. Early discontinuation of insulins could be explained by some patients using them temporarily for high HbA1c levels at the time of prescription, while another antidiabetic agent is prescribed for long-term use. Polytherapy was also discontinued early, potentially for the same reason as for insulins. Although other studies have shown that insulins have lower MA compared to other antidiabetic therapies, our findings support this observation [19]. Patients prescribed monotherapies other than metformin or insulins were less likely to claim their prescriptions. This could be due to the relatively higher cost of the new antidiabetic agents compared to metformin and insulins. Additionally, insulin is fully reimbursed in Sweden without any patient co-payment. Metformin users had higher frequencies of both initiation and persistence, but still, 32.8% of patients had discontinued metformin after 24 months, and the other treatments had even higher discontinuation rates. Overall, 70% of the total population demonstrated persistence after 1 year, and 64% remained persistent after 2 years. These rates are slightly higher than previous research, which reported persistence rates for initially prescribed antidiabetic agents ranging between 33 and 61% after 6–24 months [9]. The generous definition of persistence with the anniversary method, using a time window of ± 3 months, contributed to higher rates of persistence in our study. Differences between studies may also be attributed to variations in study design or the populations included.

Demographic factors, such as age and sex, were identified as being associated with MA. The oldest age group exhibited lower treatment initiation rates, potentially due to practical challenges related to collecting the medication or the presence of comorbidities. However, both the youngest and the oldest age groups demonstrated lower persistence rates. Previous studies have shown associations between poor MA and either older age [16] or both very young and old age [13]. Patients between 50 and 79 years may be more motivated by the potential for a longer life. Women had lower persistence compared to men, which contradicts some research findings [13, 33] but aligns with other studies [16, 34]. Sex patterns were observed for both persistence to the initially prescribed medication and overall antidiabetic therapy. This could be attributed to women having higher adherence to lifestyle interventions involving diet and physical activity, thus reducing the need for medication. Discontinuing women had lower initial HbA1c levels, with a mean of 54.9 mmol/mol, compared to the total population mean of 60.2 mmol/mol. Unemployment and being born outside of Europe were the primary SE factors associated with low initiation. However, unemployment was not associated with persistence, indicating a temporary effect on adherence, potentially due to changes in routines or increased stress. This could also be influenced by the Swedish reimbursement system, due to higher patient co-payment for initial dispensations. Patients born outside Europe exhibited lower adherence across all measures, aligning with studies where non-native background was a disadvantage for adherence [15, 34, 35]. Low income was associated with lower initiation and persistence, which corresponds to the association between low SE status and poor MA reported in other studies [34]. University education was slightly associated with lower persistence, but this was not significant with a 99% confidence interval. While being married has been associated with adherence in other studies [6, 13], we only observed a slightly higher degree of claiming the first prescription among married individuals. No associations were found when comparing patients living alone to those who were married or cohabiting or when separating the married and cohabiting groups. It was not possible to stratify many SE factors in the analysis due to small samples in each group, but a pattern was seen where young women born outside of Sweden had very low persistence, which calls for further research.

Strengths and limitations

This study has several notable strengths. Firstly, the separation of initiation and persistence phases and the analysis of associated factors separately provide valuable insights into targeting specific adherence phases. The findings of this study demonstrate that different factors play a significant role during different phases of adherence. Secondly, the study assessed two distinct measures for initiation, distinguishing between patients who tried the medication and those who started long-term treatment. The comparison of EHR prescriptions with pharmacy claims for initiation is an understudied aspect in MA research, offering a better understanding of patients’ therapy initiation. Additionally, the study’s 2-year follow-up period after the first dispensation date allows for tracking patients’ prescription renewal in the second year. The use of national dispensing data is also advantageous, as it encompasses all dispensed drugs in Sweden, ensuring comprehensive coverage for all patients and the ability to track patients who relocate within the country. Lastly, the availability of individual-level data on various SE factors is a rarity in the field, contributing new insights.

While the national Swedish registers provide extensive data coverage, certain limitations exist. For instance, approximately 1.3% of the study sample had missing data on education, primarily due to patients not being born in Sweden [24]. Clinical variables and diagnoses, although highly covered in EHR, possess some limitations due to their lack of structure compared to national registers. Missing data may occur in EHR variables due to the data collection time frame. The calculated eGFR was missing for 31% of patients, and 19% did not have any HbA1c measurements within 12 months before prescription. This could be attributed to HbA1c test being conducted before prescription of the antidiabetic drug and added to the EHR when analyzed at the laboratory, a few days later. Another limitation is the inability to adjust for other health-related factors such as body mass index (BMI) or smoking due to missing data, which may result in residual confounding. Income was only based on individual income and not household income, which would be more accurate when determining SE position. Another limitation for income is using the same data collection window as for the other variables, where a mean of several years might reflect SE position better. The main limitation of the regression model is the general correlation between different SE factors. Although multicollinearity testing only showed high correlations between age and occupation, in the reduced models adjusting for each SE factor separately, the effects of high income, unemployment, and country of birth were more pronounced. This suggests some overfitting of the full model and underestimation of the impact of these factors on initiation and persistence. There may also be clustering in data with patients visiting the same doctor or PHC, which could have been incorporated in a multilevel analysis. Furthermore, there are also some limitations in the calculations of persistence. The anniversary method is a rough estimation of a person’s actual usage and likely overestimates persistence. Other methods including supply gaps could, on the contrary, underestimate persistence, due to challenges in estimating stockpiling and undocumented therapy changes. Finally, when performing many statistical tests, there is always the risk of by chance gaining associations. We addressed it by adding 99% confidence intervals for the SE variables, which showed similar results.

The Uppsala region included in this study is representative of the entire country of Sweden, including both urban and rural areas and both low- and high-income neighborhoods. The generalizability of this study beyond Sweden is limited due to differences in regulations and laws for prescribing, dispensing, and reimbursement between countries.

In conclusion, the findings of this study reveal that while a majority of patients claim their prescriptions, certain SE groups exhibit lower rates of initiation or persistence. To address medication nonadherence effectively, patients from the different SE groups need support in different phases of MA. Patients born outside of Europe or with a low income might need support for both the initiation and persistence phase, while unemployed might need more support for the initiation phase and patients with young or old age for the persistence phase. By supporting patients in the phase of need, it is possible to improve MA and reduce inequalities in quality of care.