Patients with an IMID (i.e., rheumatoid arthritis, psoriatic disease, ankylosing spondylitis, inflammatory bowel disease, or a systemic autoimmune rheumatic disease) and type 2 diabetes who newly initiated a GLP-1-RA or DPP-4i between January 1, 2010, and December 31, 2021 were identified using ICD-9/10 codes. Here, GLP1R is linked to inflammatory bowel disease.