; and (7) in paragraph (5), as so redesignated, by inserting , and $9,000,000 for fiscal year 2024 and each fiscal year thereafter, after 2010 . (b) Definitions Section 1927(k) of the Social Security Act ( 42 U.S.C. 1396r–8(k) ) is amended by adding the following— (12) Applicable non-retail pharmacy (A) In general The term applicable non-retail pharmacy means a pharmacy that is licensed as a pharmacy by the State and that is not a retail community pharmacy, including a pharmacy that dispenses prescription medications to patients primarily through mail and specialty pharmacies. Such term does not include nursing home pharmacies, long-term care facility pharmacies, hospital pharmacies, clinics, charitable or not-for-profit pharmacies, government pharmacies, or low dispensing pharmacies (as defined by the Secretary). (B) Identification of applicable non-retail pharmacies (i) In general For purposes of subsection (f), the Secretary shall, not later than January 1, 2025, in consultation with stakeholders as appropriate, issue guidance specifying pharmacies that meet the definition of applicable non-retail pharmacies and that will be subject to the survey requirements under subsection (f)(1). (ii) Inclusion of pharmacy type indicators The guidance promulgated under clause (i) shall include pharmacy type indicators to distinguish between different types of applicable non-retail pharmacies, such as pharmacies that dispense prescriptions primarily through the mail and pharmacies that dispense prescriptions that require special handling or distribution. An applicable non-retail pharmacy may be identified through multiple pharmacy type indicators. (13) Pharmacy benefit manager The term pharmacy benefit manager means any person or entity that, either directly or through an intermediary, acts as a price negotiator or group purchaser on behalf of a State, managed care entity or other specified entity (as such terms are defined in section 1903(m)(9)(D)), or manages the prescription drug benefits provided by such State, managed