Cal. Penal Code § 13778.3
(a) For purposes of this section, the following terms shall have the following meaning:
(d) Any out-of-state subpoena, warrant, wiretap order, pen register trap and trace order, legal process, or request from any law enforcement agent or entity shall include an affidavit or declaration under penalty of perjury that the discovery is not in connection with an out-of-state proceeding relating to any legally protected health care activity unless the out-of-state proceeding meets all of the following requirements:
(g)