The prosecuting attorney shall report to the attorney general for reporting to the National Instant Criminal Background Check System the name and other identifying information of any person who is acquitted of a crime by reason of insanity pursuant to § 23A-26-5 or who is determined to be incompetent to stand trial pursuant to § 23A-10A-4. The prosecuting attorney shall submit the report to the attorney general, in the manner and form prescribed by the attorney general, within seven working days after the date of the verdict acquitting for insanity or the adjudication of incompetency. The report may not include information relating to the person's diagnosis or treatment.
SDCL 23-7-47