Unless the sealed envelope or wrapper is returned to a witness who is to appear personally, the copy of the records shall remain sealed and shall be opened only at the time of trial, deposition, or other hearing, upon the direction of the judge, court, officer, body, or tribunal conducting the proceeding, in the presence of all parties who have appeared in person or by counsel at such trial, deposition or hearing. Before directing that such inner-envelope or wrapper be opened, the judge, court, officer, body, or tribunal shall first ascertain that either (1) the records have been subpoenaed at the instance of the patient involved or his counsel of record, or (2) the patient involved or someone authorized in his behalf to do so for him has consented thereto and waived any privilege of confidence involved. Records which are not introduced in evidence or required as part of the record shall be returned to the person or entity from whom received.
The provisions of this section shall not apply in (a) a Workers’ Compensation proceeding if the pertinent record is the record of the claimant therein or a claimant’s decedent; or (b) physician or podiatrist disciplinary proceedings pursuant to Sections 73-25-1 through 73-25-39, 73-25-51 through 73-25-67, 73-25-81 through 73-25-95 or 73-27-1 through 73-27-19, Mississippi Code of 1972.