; or (B) at the discretion of the Secretary, residents of federally-assisted rental housing who are elderly or disabled, or both. (2) Requirements (A) Location Assistance under paragraph (1) may be provided only for services furnished in locations in which medical assistance for home-based health services is not available under a State plan under title XIX of the Social Security Act. (B) Trained public housing residents Assistance under paragraph (1) may be used only for costs of services described in paragraph (1) that are provided by public housing residents trained by an entity receiving grant funds under the pilot program established under subsection (f). (3) Eligibility To be eligible for financial assistance under this subsection an entity shall— (A) provide such assurances as the Secretary shall require that it will use the funds only as provided in paragraphs (1) and (2); (B) submit to the Secretary an application at such time, in such manner, and containing such information as the Secretary requires