diabetes-pedigree-function