Over 27 million Americans are diagnosed with Type 2 Diabetes Mellitus (T2DM), and their health outcomes, including hospitalization, emergency department use, and hospital readmission, are largely driven by social determinants; diabetes complications are largely attributable to unmet health-related social needs. Investigators will conduct a pilot feasibility trial of the Re-Engineered Discharge for Diabetes-Computer Adaptive Testing (REDD-CAT) system to inform the design of a future, fully-powered randomized controlled trial. REDD-CAT will allow clinical staff to preemptively link patients with community-based social services tailored to meet their unique needs in order to reduce avoidable hospitalization and emergency department visits.