"Detainer" means a written instrument executed by the
prosecuting officer of a court and filed with the department
requesting that the department retain custody of an inmate pending
delivery of the inmate to the proper authorities to stand trial
upon a pending [...]