for carrying out the Medicare rural hospital flexibility grants program: Provided , That of the funds made available under this heading for Medicare rural hospital flexibility grants, $19,942,000 shall be available for the Small Rural Hospital Improvement Grant Program for quality improvement and adoption of health information technology and up to $1,000,000 shall be to carry out section 1820(g)(6) of the Social Security Act, with funds provided for grants under section 1820(g)(6) available for the purchase and implementation of telehealth services, including pilots and demonstrations on the use of electronic health records to coordinate rural veterans care between rural providers and the Department of Veterans Affairs electronic health record system: Provided further , That notwithstanding section 338J(k) of the PHS Act, $12,500,000 shall be available for State Offices of Rural Health: Provided further , That $10,000,000 shall remain available through September 30, 2022, to support the Rural Residency Development Program. Family planning For carrying out the program under title X of the PHS Act to provide for voluntary family planning projects, $400,000,000: Provided , That the Secretary shall carry out section 1001 of the PHS Act solely in accordance with any regulations or other conditions or instructions established by the Secretary pursuant to the authority under section 1006 of the PHS Act that applied as of January 18, 2017, to grants and contracts awarded under section 1001 of the PHS Act: Provided further, That amounts provided to said projects under such title shall not be expended for abortions, that all pregnancy counseling shall be nondirective, and that such amounts shall not be expended for any activity (including the publication or distribution of literature) that in any way tends to promote public support or opposition to any legislative proposal or candidate for public office. Program management For program support in the Health Resources and Services Administration, $155,250,000: Provided ,