; or (ii) treatment for cancer; (B) is a resident of a long-term care facility, of a facility described in section 1905(d), or of another facility for which frequently abused drugs are dispensed for residents through a contract with a single pharmacy