(1) The term “expert witness” as used herein shall apply to any witness who offers himself or herself in the trial of any action as an expert witness or who is subpoenaed to testify in such capacity before a state attorney in the investigation of a criminal matter, or before a grand jury, and who is permitted by the court to qualify and testify as such, upon any matter pending before any court.
(2) Any expert or skilled witness who shall have testified in any cause shall be allowed a witness fee including the cost of any exhibits used by such witness in an amount agreed to by the parties, and the same shall be taxed as costs. In instances where services are provided for the state, including for state-paid private court-appointed counsel, payment from state funds shall be in accordance with standards adopted by the Legislature.
(3) In a criminal case in which the state or an indigent defendant requires the services of an expert witness whose opinion is relevant to the issues of the case, the expert witness shall be compensated in accordance with standards adopted by the Legislature.