46-14-202. Examination of defendant. (1) If the defendant or the defendant's counsel files a written motion requesting an examination or if the issue of the defendant's fitness to proceed is raised by the court, prosecution, or defense counsel, the court shall appoint at least one qualified psychiatrist, licensed clinical psychologist, or advanced practice registered nurse or shall request the superintendent of the Montana state hospital to designate at least one qualified psychiatrist, licensed clinical psychologist, or advanced practice registered nurse, who may be or include the superintendent, to examine and report upon the defendant's mental condition.
(2) The court may order the defendant to be committed to a hospital or other suitable facility for the purpose of the examination for a period not exceeding 60 days or a longer period that the court determines to be necessary for the purpose and may direct that a qualified psychiatrist, licensed clinical psychologist, or advanced practice registered nurse retained by the defendant be permitted to witness and participate in the examination.
(3) In the examination, any method may be employed that is accepted by the medical or psychological profession for the examination of those alleged to be suffering from mental disease or disorder.
(4) (a) The costs incurred for an examination ordered under subsection (2) must be paid as follows:
(i) if the issue of the defendant's fitness to proceed was raised by the court or the examination was requested by the prosecution, the cost of the examination and other associated expenses must be paid by the court or, in district court proceedings, by the office of court administrator, except as provided in subsection (4)(a)(iv);
(ii) if the examination was requested by the defendant or the defendant's counsel, the cost of the examination and other associated expenses must be paid by the defendant or, if the defendant was represented by an attorney pursuant to the Montana Public Defender Act, Title 47, chapter 1, by the office of state public defender, except as provided by subsection (4)(a)(iv);
(iii) if the examination was jointly requested by the prosecution and defense counsel or the need for the examination was jointly agreed to by the prosecution and defense, the cost of the examination and other associated expenses must be divided and paid equally by the court or, in district court proceedings, by the office of court administrator, and the defendant or, if the defendant was represented by an attorney assigned pursuant to the Montana Public Defender Act, Title 47, chapter 1, by the office of state public defender, except as provided in subsection (4)(a)(iv);
(iv) any costs for an examination performed by an employee of the department of public health and human services, any other associated expenses at a facility of the department of public health and human services, and any other associated expenses for which the legislature has made a general fund appropriation to the department of public health and human services may not be charged to the office of court administrator or the office of state public defender.
(b) For purposes of this subsection (4), "other associated expenses" means the following costs incurred in association with the commitment to a hospital or other suitable facility for the purpose of examination, regardless of whether the examination is done at the Montana state hospital or any other facility:
(i) the expenses of transporting the defendant from the place of detention to the place where the examination is performed and returning the defendant to detention, including personnel costs of the law enforcement agency by whom the defendant is detained;
(ii) housing expenses of the facility where the examination is performed; and
(iii) medical costs, including medical and dental care, including costs of medication.