The three-way interaction between diabetes, polymorphisms in COMT rs4633, and type of substance was not significant, suggesting that the interaction between diabetes and COMT rs4633 polymorphisms was similarly associated with morphine, ketoprofen, and acetaminophen use. This evidence concerns the gene COMT and diabetes mellitus.