(a) Before action. —
(1) Petition. — A person who desires to perpetuate his own testimony or that of another person regarding any matter that may be cognizable in any court of this state may file a verified petition in the circuit or chancery court in the county of the residence of any expected adverse party. The petition shall be entitled in the name of the petitioner and shall show: (1) that the petitioner expects to be a party to an action cognizable in a court of this state but is presently unable to bring it or cause it to be brought, (2) the subject matter of the expected action and his interest therein, (3) the facts which he desires to establish by the proposed testimony and his reasons for desiring to perpetuate it, (4) the names or a description of the persons he expects will be adverse parties and their addresses so far as known, and (5) the names and addresses of the persons to be examined and the substance of the testimony which he expects to elicit from each, and shall ask for an order authorizing the petitioner to take the depositions of the persons to be examined named in the petition, for the purpose of perpetuating their testimony.
(2) Notice and service. — The petitioner shall thereafter serve a notice upon each person named in the petition as an expected adverse party, stating that the petitioner will apply to the court, at a time and place named therein, for the order described in the petition. At least twenty (20) days before the date of hearing the notice shall be served in the same manner of service of summons; but if such service cannot with due diligence be made upon any expected adverse party named in the petition, the court may make such order as is just for service by publication or otherwise, and shall appoint, for persons not served in the manner provided by law, an attorney who shall represent them, and, in case they are not otherwise represented, shall cross-examine the deponent.
(3) Order and examination. — If the court is satisfied that the perpetuation of the testimony may prevent a failure or delay of justice, it shall make an order designating or describing the persons whose depositions may be taken and specifying the subject matter of the examination and whether the depositions shall be taken upon oral examination or written interrogatories. The depositions may then be taken in accordance with Sections 13-1-201, 13-1-226 through 13-1-237, 13-1-241, and 13-1-243; and the court may make orders of the character provided for by Section 13-1-234. For the purpose of applying Sections 13-1-201, 13-1-226 through 13-1-237, 13-1-241, and 13-1-243, 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.
(4) Use of deposition. — If a deposition to perpetuate testimony is taken under Sections 13-1-201, 13-1-226 through 13-1-237, 13-1-241, 13-1-243, it may be used in any action involving the same subject matter subsequently brought in a circuit, chancery or county court in accordance with Section 13-1-232(a).
(b) Pending appeal. — If an appeal has been taken from a judgment of a court 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 court. In such case the party who desires to perpetuate the testimony may make a motion in the court for leave to take the depositions, upon the same notice and service thereof as if the action was pending in the court. The motion shall show (1) the names and addresses of persons to be examined and the substance of the testimony which he 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 Section 13-1-234, and thereupon the depositions may be taken and used in the same manner and under the same conditions as are prescribed in Sections 13-1-201, 13-1-226 through 13-1-237, 13-1-241, and 13-1-243, for depositions taken in actions pending in the court.
(c) Perpetuation by action. — This section does not limit the power of a court to entertain an action to perpetuate testimony.