N.Y. Mental Hygiene Law § 9.64
Upon an admission to a hospital or received as a patient in a comprehensive psychiatric emergency program, the director of such hospital or program shall, in accordance with section 33.13 of this chapter, ensure that reasonable efforts are made to identify and promptly notify of such determination any community provider of mental health services that maintains such person on its caseload.