The three-way interaction between diabetes, polymorphisms in COMT rs4680, and the type of substance was not significant, indicating that the interplay between diabetes and COMT rs4680 polymorphisms was associated similarly with doses of morphine, ketoprofen, and acetaminophen. Here, COMT is linked to diabetes mellitus.