Diabetes, substance, polymorphisms of COMT rs4680 (AA vs. AG vs. GG), and their interaction explained R2 = 3.3%, p = 0.001 of the variance in the dose of analgesics. Here, COMT is linked to diabetes mellitus.