; or (B) outcomes-based measures, which substantially link payment for the covered outpatient drug to that of the drug’s actual performance in patient or a population, or a reduction in other medical expenses. . 4. Calculation of average sales price under Medicare Section 1847A(c)(2) of the Social Security Act (42 U.S.C. 1395w–3a(c)(2)) is amended by adding at the end the following new subparagraph: (C) Sales subject to a value-based purchasing arrangement Sales of a drug made under a value-based purchasing arrangement (as defined in section 1927(k)(12)), but only if the manufacturer of such drug has elected to report multiple best prices under section 1927(c) with respect to such drug in accordance with the revision described in section 3(a) of the MVP Act. . 5. Value-based purchasing arrangements for inpatient drugs under Medicaid Title XIX of the Social Security Act ( 42 U.S.C. 1396 et seq. ) is amended by adding at the end the following new section: 1948. Value-based purchasing arrangements for inpatient drugs (a) In general Notwithstanding section 1902(a)(1) (relating to statewideness), section 1902(a)(10)(b) (relating to comparability), and any other provision of this title for which the secretary determines it is necessary to waive in order to implement this section, beginning on January 1, 2024, the Secretary shall establish a program under which States may provide under their State plans under this title (including such a plan operating under a statewide waiver under section 1115) medical assistance for drugs furnished to individuals in an inpatient setting pursuant to a value-based purshasing arrangement (as defined in section 1927(k)(12)) with manufacturers of such drugs. (b) Application of certain outpatient provisions to inpatient drugs (1) In general Under the program established under subsection (a), the Secretary shall provide for the application of the provisions described in paragraph (2) to value-based purchasing arrangements relating to drugs administered in the inpatient setting in a manner