An endocrinologist specializes in all the glands, not just in diabetes and thyroid. He/she has 2 to 3 years training beyond a medicine or peds residency. Peds endos also deal with growth problems, primarily short stature and also with inborn errors ...