; $1,031,808,000, which shall be in addition to funds previously appropriated under this heading that became available on October 1, 2017; and, in addition, $49,161,165,000, plus reimbursements, shall become available on October 1, 2018, and shall remain available until September 30, 2019: Provided , That, of the amount made available on October 1, 2018, under this heading, $1,400,000,000 shall remain available until September 30, 2020: Provided further , That, notwithstanding any other provision of law, the Secretary of Veterans Affairs shall establish a priority for the provision of medical treatment for veterans who have service-connected disabilities, lower income, or have special needs: Provided further , That, notwithstanding any other provision of law, the Secretary of Veterans Affairs shall give priority funding for the provision of basic medical benefits to veterans in enrollment priority groups 1 through 6: Provided further , That, notwithstanding any other provision of law, the Secretary of Veterans Affairs may authorize the dispensing of prescription drugs from Veterans Health Administration facilities to enrolled veterans with privately written prescriptions based on requirements established by the Secretary: Provided further , That the implementation of the program described in the previous proviso shall incur no additional cost to the Department of Veterans Affairs. Medical community care For necessary expenses for furnishing health care to individuals pursuant to chapter 17 of title 38, United States Code, at non-Department facilities, $254,000,000, which shall be in addition to funds previously appropriated under this heading that became available on October 1, 2017