As promised, the New York State Senate voted 49 to 10 on Friday, the last day of the legislative session, to allow doctors to prescribe locally grown (non-smokable) marijuana to those who suffer from cancer, epilepsy, AIDS, Parkinson’s, and a few other serious conditions. Governor Cuomo is expected to sign the bill imminently. Here’s everything you need to know about what will be allowed and when.