; (3) the consultation of the PDMP before dispensing a controlled substance, or any substance as required by the State to be reported to the PDMP; (4) the proactive notification to a practitioner when patterns indicative of controlled substance misuse by a patient, including opioid misuse, are detected; (5) the availability of data in the PDMP to other States, as allowable under State law; and (6) the availability of nonidentifiable information to the Centers for Disease Control and Prevention for surveillance, epidemiology, statistical research, or educational purposes. (c) Drug misuse and abuse In consultation with practitioners, dispensers, and other relevant and interested stakeholders, a State receiving support under this section— (1) shall establish a program to notify practitioners and dispensers of information that will help to identify and prevent the unlawful diversion or misuse of controlled substances; (2) may, to the extent permitted under State law, notify the appropriate authorities responsible for carrying out drug diversion investigations if the State determines that information in the PDMP maintained by the State indicates an unlawful diversion or abuse of a controlled substance; (3) may conduct analyses of controlled substance program data for purposes of providing appropriate State agencies with aggregate reports based on such analyses in as close to real-time as practicable, regarding prescription patterns flagged as potentially presenting a risk of misuse, abuse, addiction, overdose, and other aggregate information, as appropriate and in compliance with applicable Federal and State laws and provided that such reports shall not include protected health information