A 45-year-old female patient diagnosed with type 2 diabetes mellitus is admitted to the hospital for uncontrolled hyperglycemia. The patient has a history of poor medication adherence and inconsistent blood glucose monitoring.