N.Y. Civil Practice Law & Rules § 3119
(a) Definitions. For purposes of this section:
(i) Any request for the issuance of a subpoena under paragraph one of this subdivision and any subpoena issued under paragraph five of this subdivision shall include an affirmation under penalty of perjury that such subpoena either:
(g) Out-of-state proceedings regarding legally protected health activities. Notwithstanding any other provisions of this section or any other law, no court, county clerk, or attorney licensed to practice in this state shall issue a subpoena under this section in connection with an out-of-state proceeding relating to any legally protected health activity, unless: