In any action or proceeding of a criminal nature, if the physical or mental condition of any person is in issue, any privilege under subdivision 19-19-503(b) shall conclusively be deemed to be waived for the purpose of proving the commission of a criminal offense or for the purpose of impeaching the testimony of the patient, at trial, grand jury proceeding, or preliminary hearing, or for the purpose of discovery under Title 23A.
SDCL 19-2-3.2