Cal. Penal Code § 2602
(c) The Department of Corrections and Rehabilitation may seek to initiate involuntary medication on a nonemergency basis only if all of the following conditions have been met:
(7) The inmate and counsel are provided with written notice of the hearing at least 21 days prior to the hearing, unless emergency or interim medication is being administered pursuant to subdivision (d), in which case the inmate would receive an expedited hearing. The written notice shall do all of the following:
(d) This section does not prohibit a physician from taking appropriate action in an emergency. An emergency exists when there is a sudden and marked change in an inmate’s mental condition so that action is immediately necessary for the preservation of life or the prevention of serious bodily harm to the inmate or others, and it is impractical, due to the seriousness of the emergency, to first obtain informed consent. If psychiatric medication is administered during an emergency, the medication shall only be that which is required to treat the emergency condition and shall be administered for only so long as the emergency continues to exist. If the Department of Corrections and Rehabilitation’s clinicians identify a situation that jeopardizes the inmate’s health or well-being as the result of a serious mental illness, and necessitates the continuation of medication beyond the initial 72 hours pending the full mental health hearing, the department shall give notice to the inmate and his or her counsel of the department’s intention to seek an ex parte order to allow the continuance of medication pending the full hearing. The notice shall be served upon the inmate and counsel at the same time the inmate is given the written notice that the involuntary medication proceedings are being initiated and is appointed counsel as provided in subdivision (c). The order may be issued ex parte upon a showing that in the absence of the medication the emergency conditions are likely to recur. The request for an ex parte order shall be supported by an affidavit from the psychiatrist showing specific facts. The inmate and the inmate’s appointed counsel shall have two business days to respond to the department’s ex parte request to continue interim medication, and may present facts supported by an affidavit in opposition to the department’s request. An administrative law judge shall review the ex parte request and shall have three business days to determine the merits of the department’s request for an ex parte order. If an order is issued, the psychiatrist may continue the administration of the medication until the hearing described in paragraph (5) of subdivision (c) is held.
(1) The Department of Corrections and Rehabilitation shall file with the Office of Administrative Hearings, and serve on the inmate and his or her counsel, the written notice described in paragraph (7) of subdivision (c) within 72 hours of commencing medication pursuant to this subdivision, unless either of the following occurs:
(g) To renew an existing order allowing involuntary medication, the department shall file with the Office of Administrative Hearings, and shall serve on the inmate and his or her counsel, a written notice indicating the department’s intent to renew the existing involuntary medication order.