Codebook for diabetes