; 117 Stat. 2313) from qualifying as a rural community hospital if the rural community hospital meets the conditions otherwise applicable to hospitals under subsection (e) and section 1866. . (b) Payment (1) Inpatient hospital services Section 1814 of the Social Security Act ( 42 U.S.C. 1395f ) is amended by adding at the end the following new subsection: (m) Payment for Inpatient Services Furnished in Rural Community Hospitals The amount of payment under this part for inpatient hospital services furnished in a rural community hospital, other than such services furnished in a psychiatric or rehabilitation unit of the hospital which is a distinct part, is, at the election of the hospital in the application referred to in section 1861(jjj)(1)(E)— (1) 101 percent of the reasonable costs of providing such services, without regard to the amount of the customary or other charge, or (2) the amount of payment provided for under the prospective payment system for inpatient hospital services under section 1886(d). . (2) Outpatient services Section 1834 of such Act ( 42 U.S.C. 1395m ) is amended by adding at the end the following new subsection: (p) Payment for outpatient services furnished in rural community hospitals The amount of payment under this part for outpatient services furnished in a rural community hospital is, at the election of the hospital in the application referred to in section 1861(jjj)(1)(E)— (1) 101 percent of the reasonable costs of providing such services, without regard to the amount of the customary or other charge and any limitation under section 1861(v)(1)(U), or (2) the amount of payment provided for under the prospective payment system for covered OPD services under section 1833(t). . (3) Exemption from 30-percent reduction in reimbursement for bad debt Section 1861(v)(1)(T) of such Act ( 42 U.S.C. 1395x(v)(1)(T) ) is amended by inserting (other than for a rural community hospital) after In determining such reasonable costs for hospitals . (c) Beneficiary cost-Sharing for outpatient services