GO:0004667:   prostaglandin-D synthase activity
Catalysis of the reaction: prostaglandin H(2) = prostaglandin D(2).