| Outcome Measures: |
Primary: Cardiovascular composite (stroke, myocardial infarction, heart failure), The outcome will be identified using ICD9 and ICD10 codes and reported as rates of acute myocardial infarction, heart failure, stroke (they will only be analyzed individually if there are sufficient number of one of the events defined as \> 30 events), Follow-up will begin one day after cohort entry and continue until medication discontinuation, study outcome, or no further data. Most patients will have 200 days of follow up | Secondary: Harms: Hypoglycemia, Hypoglycemia: identified using ICD9 and ICD10 codes and reported as rates, Follow-up will begin one day after cohort entry and continue until medication discontinuation, study outcome, or no further data. Most patients will have 200 days of follow up|Harms: diabetic ketoacidosis, Diabetic ketoacidosis: identified using ICD9 and ICD10 codes and reported as rates, Follow-up will begin one day after cohort entry and continue until medication discontinuation, study outcome, or no further data. Most patients will have 200 days of follow up|Harms: lactic acidosis, Lactic acidosis: identified using ICD9 and ICD10 codes and reported as rates, Follow-up will begin one day after cohort entry and continue until medication discontinuation, study outcome, or no further data. Most patients will have 200 days of follow up|Harms: Acute kidney injury, Acute kidney injury: identified using ICD9 and ICD10 codes and reported as rates, Follow-up will begin one day after cohort entry and continue until medication discontinuation, study outcome, or no further data. Most patients will have 200 days of follow up|Harms: Genital infection, Genital infection: identified using ICD9 and ICD10 codes and reported as rates, Follow-up will begin one day after cohort entry and continue until medication discontinuation, study outcome, or no further data. Most patients will have 200 days of follow up|Costs, Costs of metformin compared to SGLT2. Estimates for costs associated with the individual outcomes., Follow-up will begin one day after cohort entry and cost analysis will end 1 year thereafter | Other: Tracer outcomes, The outcome will be identified using ICD9 and ICD10 codes and reported as rates (1) Cellulitis, Follow-up will begin one day after cohort entry and continue until medication discontinuation, study outcome, or no further data. Most patients will have 200 days of follow up
|