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 OPRM1; the disease is diabetes mellitus.