In connection with investigations or enforcement hearings conducted under the Occupational Health and Safety Act [50-9-1 to 50-9-25 NMSA 1978], the department may apply to the district court for an order requiring the attendance and testimony of witnesses and the production of evidence under oath. Witnesses shall be paid the same fees and mileage that are paid witnesses in the courts of the state. Any district court, upon application by the department, shall have jurisdiction to issue to such person an order requiring the person to appear and to produce evidence if, as and when so ordered and to give testimony relating to the matter under investigation if the court finds that the evidence or testimony sought is discoverable under the Rules of Civil Procedure for The District Courts. Any failure to obey an order of the court may be punished by the court under its powers of contempt.
NMS § 50-9-18