46-14-214. Form of verdict and judgment -- determination of maximum period of confinement -- victim findings. (1) When the defendant is found not guilty of the charged offense or offenses or any lesser included offense for the reason that due to a mental disease or disorder the defendant did not have a particular state of mind that is an essential element of the offense charged, the verdict and the judgment must state that reason.
(2) The court shall determine on the record the charged offense or offenses or any lesser included offense for which the person otherwise may have been convicted and the maximum sentence that the defendant may have received. If there is more than one offense charged, the maximum sentence is limited to the longest single sentence from all charged offenses.
(3) The court shall make specific findings regarding whether there is a victim of the crime for which the defendant is found not guilty and, if so, whether the victim wishes to be notified of any conditional release, discharge, or escape of the defendant.