Cal. Evid. Code § 240
(a) Except as otherwise provided in subdivision (b), “unavailable as a witness” means that the declarant is any of the following:
(c) Expert testimony that establishes that physical or mental trauma resulting from an alleged crime has caused harm to a witness of sufficient severity that the witness is physically unable to testify or is unable to testify without suffering substantial trauma may constitute a sufficient showing of unavailability pursuant to paragraph (3) of subdivision (a). As used in this section, the term “expert” means a physician and surgeon, including a psychiatrist, or any person described by subdivision (b), (c), or (e) of Section 1010.
The introduction of evidence to establish the unavailability of a witness under this subdivision shall not be deemed procurement of unavailability, in absence of proof to the contrary.