1. Short title This Act may be cited as the End Purchase of Firearms by Dangerous Individuals Act of 2017 . 2. State reporting systems (a) State reporting systems as condition of receiving full Edward Byrne Memorial Justice Assistance Grants amounts (1) In general For each fiscal year beginning with fiscal year 2019, a State shall— (A) establish a reporting system, in accordance with guidelines provided pursuant to section 4(a), through which mental health professionals may report to appropriate State entities— (i) in accordance with paragraph (2), information described in such paragraph with respect to individuals described in such paragraph; (ii) in accordance with paragraph (3), information described in such paragraph with respect to individuals described in such paragraph; and (iii) in accordance with paragraph (4), information described in such paragraph with respect to individuals described in such paragraph; (B) establish under State law a process, in accordance with the guidelines provided pursuant to section 4(b), relating to temporarily committing individuals involuntarily to, or holding individuals involuntarily at, mental health facilities; (C) from the information collected by the State pursuant to subparagraph (A), make electronically available to the Attorney General records relevant to a determination of whether a person is disqualified from possessing or receiving a firearm under subsection (g)(4) of section 922 of title 18, United States Code, or applicable State law