Patient description: The patient is a 24-year-old man who has had type 1 diabetes for 11 years. He presents to the emergency room with hyperglycemia and concern for possible diabetic ketoacidosis after not taking his insulin for 3 days. The patient reports that he is currently homeless and has lost his supply of insulin, syringes, glucometer, and glucose testing supplies. The patient states that at the time of his initial diagnosis with type 1 diabetes he was hospitalized with a glucose value >1000 mg/dL. At the time, he was experiencing polyuria, polydipsia, and polyphagia. He reports that he has been on insulin since the time of his diagnosis, and he has never been prescribed oral agents for diabetes management. Most recently, he has been using insulin glargine 55 units once daily, and insulin aspart sliding scale 3 times daily. The patient has had previous episodes of diabetic ketoacidosis, for which he was hospitalized. With this episode of hyperglycemia, he is not experiencing any nausea, vomiting, or abdominal discomfort, and he appears well. His lab studies showed: A1c: 11.3% Creatinine: 0.9 mg/dL with eGFR >60 mL/min Aspartate aminotransferase (AST): 17 U/L Alanine aminotransferase (ALT): 14 U/L Beta-hydroxybutyrate: 0.1 mmol/L Bicarbonate: 25 mEq/L Anion

Clinical trial eligibility criteria: eligible ages (years): 18.0-80.0,  Type 2 Diabetes Males or females between the ages of 18 and 80 years admitted to medicine and surgery services. 2. A known history of Type 2 Diabetes > 1 month, receiving either diet alone, oral antidiabetic agents: sulfonylureas and metformin as monotherapy or in combination therapy (excluding DPP-4 inhibitors) or low-dose (≤ 0.6 units/kg/day) insulin therapy. 3. Subjects with a blood glucose >140 mg and < 400 mg/dL at time of randomization without laboratory evidence of diabetic ketoacidosis (serum bicarbonate < 18 mEq/L or positive serum or urinary ketones)  Age < 18 or > 80 years. 2. Subjects with increased BG concentration, but without a history of diabetes (stress hyperglycemia). 3. Subjects with a history of type 1 diabetes (suggested by BMI < 25 requiring insulin therapy or with a history of diabetic ketoacidosis and hyperosmolar hyperglycemic state, or ketonuria) [46]. 4. Treatment with DPP4 inhibitor or Glucagon like peptide 1 (GLP1) analogs during the past 3 months prior to admission. 5. Acute critical illness or coronary artery bypass graft (CABG) surgery expected to require admission to a critical care unit. 6. Subjects with gastrointestinal obstruction or adynamic ileus or those expected to require gastrointestinal suction. 7. Medical or surgical patients expected to be kept NPO for >24-48 hours after admission or after completion of surgical procedure. 8. Patients with clinically relevant pancreatic or gallbladder disease. 9. Patients with acute myocardial infarction, clinically significant hepatic disease or significantly impaired renal function (GFR < 30 ml/min). 10. Treatment with oral or injectable corticosteroid = or > prednisone 5 mg/per day. 11. Mental condition rendering the subject unable to understand the nature, scope, and possible consequences of the study. 12. Female subjects are pregnant or breast feeding at time of enrollment into the study