Trends in median length of hospital stay (A) and by categories in adults with T1DM (B) or T2DM (C). Estimates were obtained from negative binomial models for A and from ordinal logistic regression models for B and C, with robust error variance to account for recurrent DKA admissions. Estimates were adjusted for calendar year, age, sex, duration of record diabetes history, Charlson comorbidity score, and current use of glucose-lowering drugs (for T2DM only). Adults with T1DM were more likely to be discharged within 2 days (OR 1.28 [95% CI 1.07–1.53]) compared with adults with T2DM.