Consistent with
section 1079(r)(1)(B) of this title, residential services shall be provided to a member pursuant to this section only if the member has a primary diagnosis of an eating disorder and treatment at such facility is medically indicated for treatment of that eating disorder.