If they are federally funded the govt. can make it a condition of them getting funding that they do not allow or accept your doctors recommendation. As marijuana is illegal federally that supercedes any state law . It's based on the supremacy clause in the constitution.