The research drew on Denmark’s national health registries, linking birth records, routine childhood height and weight measurements, hospital diagnoses and family background information.