endo with type 1 diabetes