Substance Abuse Prevention . Agency for healthcare research and quality Healthcare research and quality For carrying out titles III and IX of the PHS Act, part A of title XI of the Social Security Act, and section 1013 of the Medicare Prescription Drug, Improvement, and Modernization Act of 2003, $339,809,000: Provided , That in addition to amounts provided herein, $18,408,000 shall be available from amounts available under section 241 of the PHS Act: Provided further , That section 947(c) of the PHS Act shall not apply in fiscal year 2020: Provided further , That in addition, amounts received from Freedom of Information Act fees, reimbursable and interagency agreements, and the sale of data shall be credited to this appropriation and shall remain available until September 30, 2021. Centers for medicare and medicaid services Grants to states for medicaid For carrying out, except as otherwise provided, titles XI and XIX of the Social Security Act, $273,188,478,000, to remain available until expended. In addition, for carrying out such titles after May 31, 2020, for the last quarter of fiscal year 2020 for unanticipated costs incurred for the current fiscal year, such sums as may be necessary, to remain available until expended. In addition, for carrying out such titles for the first quarter of fiscal year 2021, $139,903,075,000, to remain available until expended. Payment under such title XIX may be made for any quarter with respect to a State plan or plan amendment in effect during such quarter, if submitted in or prior to such quarter and approved in that or any subsequent quarter. Payments to the health care trust funds For payment to the Federal Hospital Insurance Trust Fund and the Federal Supplementary Medical Insurance Trust Fund, as provided under sections 217(g), 1844, and 1860D–16 of the Social Security Act, sections 103(c) and 111(d) of the Social Security Amendments of 1965, section 278(d)(3) of Public Law 97–248 , and for administrative expenses incurred pursuant to section 201(g) of the Social