It's probable that the anti-gun-check provisions of the ACA will override whatever N.Y. state law your client is referring to. Although, as has recently been clarified, ... no federal law prevents doctors from warning law enforcement about "direct and credible threats of violence.
It will be even more interesting if the patient has to answer!