The NHS is being criticised over how it deals with eating disorders after the death of a young woman.