If a witness uses a record or object to refresh the witness's memory either while testifying or before testifying, the court shall allow an adverse party to have the record or object produced at the hearing, to inspect it, to cross-examine the witness thereon and to introduce in evidence those portions which relate to the testimony of the witness. If it is claimed by an opposing party that the record or object contains matters not related to the subject matter of the testimony, the court shall examine the record or object in chambers, excise any portions not so related, and order delivery of the remainder to the party entitled thereto. Any portion withheld over objections shall be preserved and made available to the appellate court in the event of an appeal. If a record or object is not produced, made available for inspection, or delivered pursuant to order, the court shall make any order justice requires, but in criminal cases if the prosecution elects not to comply, the order shall be an order striking the testimony or declaring a mistrial.
Okla. Stat. tit. 12, § 2612