shall give priority to States with large urban populations in which there are existing programs that deliver housing, case management and service coordination, and establishment of screening and referral processes in health care settings, including programs that utilize public hospitals and flexible housing pools to serve individuals who are experiencing housing insecurity or have behavioral health needs. (4) Duration Each demonstration project under this section shall be conducted for a period of not less than 4 years. (c) Payment for services furnished under demonstration project (1) In general Subject to paragraph (2), amounts expended by a State under a demonstration project under this section on supportive housing services for Medicaid-eligible individuals described in subsection (a) shall be treated as medical assistance for purposes of section 1903(a) of the Social Security Act ( 42 U.S.C. 1396b(a) ). (2) Limitation on Federal funding (A) In general The total amount certified by the Secretary under title XIX of the Social Security Act ( 42 U.S.C. 1396 et seq.) for payment to a State with respect to expenditures described in paragraph (1) shall not exceed the amount allocated to the State by the Secretary under subparagraph (B). (B) Allocation (i) In general The Secretary shall allocate to each State selected to conduct a demonstration project under this section an amount determined appropriate by the Secretary for purposes of reimbursing the State for services furnished under the demonstration project in accordance with paragraph (1). (ii) Limitation The total amount allocated to States under this subparagraph shall not exceed $75,000,000. (d) Waiver authority The Secretary may waive the following requirements as may be necessary to conduct demonstration projects in accordance with the requirements of this section: (1) The requirements of section 1902(a)(1) of the Social Security Act ( 42 U.S.C. 1396a(a)(1) ) (relating to statewideness). (2) The requirements of section 1902(a)(10)(B) of such Act ( 42