The endodermal development driven by Hhex gives rise to endocrine organs such as the pancreas in a process which is likely linked to its role as a risk factor in diabetes and pancreatic disorders. The gene discussed is HHEX; the disease is diabetes mellitus.