Testimony or documentary evidence of any kind obtained during the investigation of a complaint is not subject to discovery or disclosure under chapter 15-6 or any other provision of law, and is not admissible as evidence in any legal proceeding, until such time as the complaint becomes a contested case as defined in subdivision 1-26-1(2). No person that has participated in the investigation of a complaint may testify as an expert witness or be compelled to testify for any party in any action for personal injury or wrongful death if the subject matter of the complaint investigated is a basis for the action for personal injury or wrongful death.
SDCL 36-6A-22.2