; and (3) award grants to States, localities, and Indian tribes for the purpose of carrying out any such activity. (b) Controlled substance overdose data collection and analysis activities A controlled substance overdose data collection, analysis, and dissemination activity described in this subsection is any of the following activities: (1) Improving the timeliness of reporting aggregate data to the public, including data on fatal and nonfatal controlled substance overdoses. (2) Enhancing the comprehensiveness of controlled substance overdose data by collecting information on such overdoses from appropriate sources such as toxicology reports, death scene investigations, and emergency department services. (3) Modernizing the system for coding causes of death related to controlled substance overdoses to use an electronic-based system. (4) Using data to help identify risk factors associated with controlled substance overdoses, including the delivery of certain health care services. (5) Supporting entities involved in reporting information on controlled substance overdoses, such as coroners and medical examiners, to improve accurate testing and reporting of causes and contributing factors of such overdoses, and analysis of various opioid analogues to controlled substances overdoses. (6) Working to enable and encourage the access, exchange, and use of data regarding controlled substances overdoses among data sources and entities. (c) Controlled substance defined In this section, the term controlled substance has the meaning given that term in section 102 of the Controlled Substances Act. . 505. Preventing overdoses of controlled substances Part J of title III of the Public Health Service Act ( 42 U.S.C. 280b et seq.), as amended by section 504, is further amended by inserting after section 392A the following: 392B. Preventing overdoses of controlled substances (a) Prevention activities (1) In general The Director of the Centers for Disease Control and Prevention (referred to in this section as the Director ), using