Unfortunately, the answer is no, in accordance with the California Proposition 215, your recommendation authorizes the use of medical marijuana only in the state of California. As a New York resident, you would have to be certified by a certified NYSDOH practitioner and initiate the process of receiving a registry card. The link below can help you with that process. I hope this answers your question.
https://www.health.ny.gov/regulations/medical_marijuana/patients/
oenysfnp