(b) The court order for the defendant to undergo treatment or continuing evaluation and treatment under division (B)(1)(a) of this section shall specify that the defendant, if determined to require mental health treatment or continuing evaluation and treatment, either shall be committed to the department of mental health and addiction services for treatment or continuing evaluation and treatment at a hospital, facility, or agency, as determined to be clinically appropriate by the department of mental health and addiction services or shall be committed to a facility certified by the department of mental health and addiction services as being qualified to treat mental illness, to a public or community mental health facility, or to a psychiatrist or another mental health professional for treatment or continuing evaluation and treatment. Prior to placing the defendant, the department of mental health and addiction services shall obtain court approval for that placement following a hearing. The court order for the defendant to undergo treatment or continuing evaluation and treatment under division (B)(1)(a) of this section shall specify that the defendant, if determined to require treatment or continuing evaluation and treatment for an intellectual disability, shall receive treatment or continuing evaluation and treatment at an institution or facility operated by the department of developmental disabilities, at a facility certified by the department of developmental disabilities as being qualified to treat intellectual disabilities, at a public or private intellectual disabilities facility, or by a psychiatrist or another intellectual disabilities professional. In any case, the order may restrict the defendant's freedom of movement as the court considers necessary. The prosecutor in the defendant's case shall send to the chief clinical officer of the hospital, facility, or agency where the defendant is placed by the department of mental health and addiction services, or to the managing officer of the institution, the director of the program or facility, or the person to which the defendant is committed, copies of relevant police reports and other background information that pertains to the defendant and is available to the prosecutor unless the prosecutor determines that the release of any of the information in the police reports or any of the other background information to unauthorized persons would interfere with the effective prosecution of any person or would create a substantial risk of harm to any person.
In determining the place of commitment, the court shall consider the extent to which the person is a danger to the person and to others, the need for security, and the type of crime involved and shall order the least restrictive alternative available that is consistent with public safety and treatment goals. In weighing these factors, the court shall give preference to protecting public safety.