Glucose-6-phosphate dehydrogenase (G6PD) deficiency is an inherited condition in which a person’s body doesn’t have enough of the G6PD enzyme. G6PD helps red blood cells function normally. Patients with this deficiency should not receive vitamin C infusions because it can cause hemolytic anemia.