It is recommended in whooping cough in eliminating intestinal worms in anorexia and depression

What is the correctly punctuated version of this sentence?
It is recommended in whooping cough, in eliminating intestinal worms, in anorexia and depression.