In conclusion, both diabetes and genetic polymorphisms in the COMT and OPRM1 genes play an important role in postoperative opioid demand and pain perception. The gene discussed is COMT; the disease is diabetes mellitus.