The full United States Senate has passed a bill that allows physicians at the Department of Veterans Affairs (VA) to recommend medical marijuana to patients living in states where the medicine is legal.

The Senate voted 86 to 5 on a spending bill that includes a provision to finally allow veterans living in medical marijuana states to receive recommendations from their physicians at the VA.

The measure states that “None of the funds appropriated or otherwise made available to the Department of Veterans Affairs in this Act may be used in a manner that would —

(1) interfere with the ability of a veteran to participate in a medicinal marijuana program approved by a State;

(2) deny any services from the Department to a veteran who is participating in such a program; or

(3) limit or interfere with the ability of a health care provider of the Department to make appropriate recommendations, fill out forms, or take steps to comply with such a program.”

The House of Representatives must now approve the measure before it can be sent to President Trump for consideration.