For the purpose of applying this chapter to depositions for perpetuating testimony, each reference therein to the court in which the action is pending shall be deemed to refer to the court in which the petition for such deposition was filed

SDCL § 15-6-35 — under RULES OF PROCEDURE IN CIRCUIT COURTS.

SDCL § 15-6-35

(4) Use of Deposition. If a deposition to perpetuate testimony is taken under this chapter or if, although not so taken, it would be admissible in evidence in the courts of the state in which it is taken, or the courts of the United States, it may be used in any action involving the same subject matter subsequently brought in a court of this state, in accordance with the provisions of § 15-6-32(a). Source: SDC 1939 & Supp 1960, §§ 36.0524 to 36.0527; SD RCP, Rule 27 (a), as adopted by Sup. Ct. Order March 29, 1966, effective July 1, 1966; Supreme Court Rule 76-3, § 3; SL 2006, ch 291 (Supreme Court Rule 06-17), eff. July 1, 2006. 15-6-27(b). Depositions pending appeal. If an appeal has been taken from a judgment of a trial court of record or before the taking of an appeal if the time therefor has not expired, the court in which the judgment was rendered may allow the taking of the depositions of witnesses to perpetuate their testimony for use in the event of further proceedings in the said court. In such case the party who desires to perpetuate the testimony may make a motion in such court for leave to take the depositions, upon the same notice and service thereof as if the action was pending therein. The motion shall show: (1) The names and addresses of the persons to be examined and the substance of the testimony which the party expects to elicit from each; (2) The reasons for perpetuating their testimony. If the court finds that the perpetuation of the testimony is proper to avoid a failure or delay of justice, it may make an order allowing the depositions to be taken and may make orders of the character provided for by §§ 15-6-34 and 15-6-35 , and thereupon the depositions may be taken and used in the same manner and under the same conditions as are prescribed in this chapter for depositions taken in pending actions. Source: SDC 1939 & Supp 1960, § 36.0528; SD RCP, Rule 27 (b), as adopted by Sup. Ct. Order March 29, 1966, effective July 1, 1966; SL 2006, ch 292 (Supreme Court Rule 06-18), eff. July 1, 2006. 15-6-27(c). Perpetuation of testimony by action. Section 15-6-27 does not limit the power of a court to entertain an action to perpetuate testimony. Source: SDC 1939 & Supp 1960, § 36.0529; SD RCP, Rule 27 (c), as adopted by Sup. Ct. Order March 29, 1966, effective July 1, 1966. 15-6-28. Persons before whom depositions may be taken 15-6-28(a). Taking depositions within the United States. Within the United States or within a territory or insular possession subject to the jurisdiction of the United States, depositions shall be taken before an officer authorized to administer oaths by the laws of this state, the United States or of the place where the examination is held, or before a person appointed by the court in which the action is pending. A person so appointed has power to administer oaths and take testimony. The term officer as used in §§ 15-6-30 , 15-6-31 , and 15-6-32 includes a person appointed by the court or designated by the parties under §