N.Y. Vehicle & Traffic Law § 1194
2. Chemical tests. (a) When authorized. Any person who operates a motor vehicle in this state shall be deemed to have given consent to a chemical test of one or more of the following: breath, blood, urine, or saliva, for the purpose of determining the alcoholic and/or drug content of the blood provided that such test is administered by or at the direction of a police officer with respect to a chemical test of breath, urine or saliva or, with respect to a chemical test of blood, at the direction of a police officer:
(b) When authorized. Upon refusal by any person to submit to a chemical test or any portion thereof as described above, the test shall not be given unless a police officer or a district attorney, as defined in subdivision thirty-two of section 1.20 of the criminal procedure law, requests and obtains a court order to compel a person to submit to a chemical test to determine the alcoholic or drug content of the person's blood upon a finding of reasonable cause to believe that: