If the witness be a prisoner confined in a jail or prison within this state, an order for his or her examination in prison, upon deposition, or for his or her temporary removal and production before a court or officer, for the purpose of being orally examined, may be issued.
RCW 5.56.090