2015 ORS § 419B.893¹
Subpoenas generally

(1) A subpoena is a writ or an order directed to a person and may require the attendance of the person at a particular time and place to testify as a witness on behalf of a particular party mentioned in the subpoena or may require the person to produce books, papers, documents or other tangible things and permit inspection of them at a particular time and place. A subpoena may be for a trial, a hearing of any kind or a deposition under ORS 419B.884 (Depositions). A subpoena requiring attendance to testify as a witness requires that the witness remain until the testimony is closed unless sooner discharged, but at the end of each days attendance a witness may demand of the party, or the partys attorney, the payment of legal witness fees for the next following day and if not then paid, the witness is not obliged to remain longer in attendance. Every subpoena must state the name of the court and the title of the action.

(2) Any party may have compulsory attendance of witnesses or the compulsory production of records. [2001 c.622 §25; 2003 c.14 §227]