N.Y. General Business Law § 394-I
2. No person or entity that is located, headquartered, or incorporated in New York state and receives, is served with, or is subject to a civil, criminal, or regulatory inquiry, investigation, subpoena, or summons for information regarding legally protected health activity shall comply with or provide information in response to such inquiry, investigation, subpoena, or summons unless:
(a) such inquiry, investigation, subpoena, or summons contains or is accompanied by an affirmation under penalty of perjury attesting that either:
(b) the person or entity receiving or subject to such inquiry, investigation, subpoena, or summons regarding legally protected health activity has:
(i)
3. A person or entity who submits a false affirmation in violation of subdivision two of this section shall be subject to the jurisdiction of the courts of this state for any suit, penalties, or damages arising out of such false affirmation.
(a) The attorney general may commence an action or special proceeding for damages and/or penalties against any person or entity that submits a false affirmation in violation of subdivision two of this section.
4. The attorney general of this state may commence a civil action or special proceeding to enforce the provisions of this section, including but not limited to an application or motion for an order enjoining ongoing or future violations of this section.
5. Any person or entity that is located, headquartered, or incorporated in New York state and receives, is served with, or is subject to a civil, criminal, or regulatory inquiry, investigation, subpoena, or summons for information regarding legally protected health activity may institute a civil action to obtain declaratory relief, or such other relief deemed necessary and proper by the court, stating that this section prohibits their compliance with the inquiry, investigation, subpoena, or summons.