(2) Priorities In making loans under this section, the Secretary shall give priority to an eligible rural hospital—
(A) that serves an area in which there are fewer than 6 inhabitants per square mile, taking into consideration—
(i) the distance from the hospital to a population center;
(ii) the travel time from the hospital to reach a population center or specific health service; and
(iii) seasonal variations in the need for access to healthcare services;
(B) that requires replacement, improvement, or renovation that is not financially feasible at the rates and terms offered under the community facilities direct loan program;
(C) for which not less than 50 percent of its inpatient days or discharges and outpatient visits during the most recent cost reporting period for which data are available were attributable to—
(i) individuals entitled to, or enrolled for, benefits under part A or enrolled for benefits under part B of title XVIII of the Social Security Act, including individuals enrolled in a Medicare Advantage plan under part C of such title;
(ii) individuals eligible for medical assistance under a State plan under title XIX of the Social Security Act (or a waiver of such a plan); or
(iii) self-pay individuals; or
(D) that meets 2 or more of the criteria described in subparagraphs (A) through (C).
(3) Waiver The Secretary may waive the requirements described in paragraph (1)(D) in the case of a hospital that demonstrates sufficient community impacts described in paragraph (1)(C)(ii).
(4) Eligibility For purposes of making loans under this section, the Secretary shall consider an eligible rural hospital described in paragraph (1) to be eligible for the community facilities direct loan program.