Definition. Gestational diabetes mellitus (GDM) is defined as any degree of glucose intolerance with onset or first recognition during pregnancy . The definition applies whether insulin or only diet modification is used for treatment and whether or not the condition persists after pregnancy.