; and (B) by adding at the end the following: (B) Other expenditures The amounts received by a commonwealth or territory for a calendar quarter of a fiscal year that are attributable to the application of section 1905(ff), shall not be taken into account in applying subsection (f) (as increased in accordance with paragraphs (1), (2), (3), and (5) of this subsection) to such commonwealth or territory for such fiscal year. . 10. Extension of Medicaid delivery system reform and incentive payment waivers (a) Extension of waivers In the case of a Medicaid section 1115 waiver described in subsection (b), not later than 60 days after the date of enactment of this Act, the Secretary of Health and Human Services shall— (1) extend the termination date for the waiver to December 31, 2025 (or such earlier date as the State conducting the waiver may elect); (2) apply the same annual dollar allotment for the period for which the waiver is extended under paragraph (1) as the annual dollar allotment that applied to the waiver period in effect on the date of enactment of this Act; and (3) allow any State with such a waiver to use funds provided during the period for which the waiver is extended under paragraph (1) to support the training of direct service workers that provide home and community-based services. (b) Medicaid section 1115 waiver described The Medicaid section 1115 waiver described in this subsection is a waiver approved under section 1115 of the Social Security Act ( 42 U.S.C. 1315 ) relating to delivery system reform incentive payments that— (1) as of the date of enactment of this Act, is to terminate on or before December 31, 2020; (2) is in effect on the date of enactment of this Act