Prior to the date of hearing, pursuant to § 23A-26-12.2, the court may order that a psychiatric or psychological examination of the defendant be conducted, and that a psychiatric or psychological report be filed with the court, pursuant to §§ 23A-46-1 and 23A-46-2.
SDCL 23A-26-12.1