Adverse outcomes in patients with a diagnosis of an eating disorder