In general— Section 1905(a)(31)(B) of the Social Security Act (
42 U.S.C. 1396d(a)(31)(B)) is amended by inserting “and care and services provided to any individual who is a child in foster care under the responsibility of a State who has been placed, in accordance with the requirements of section 475A(c), in a child care institution that is a qualified residential treatment program (as defined in section 472(k)(4)), but only if payments are being made on behalf of such child under section 472 with respect to which Federal payments may be made under section 474(a)(1) and only if the child continues to be in foster care under the responsibility of a State” after “section 1915(l)”.