Cal. Health & Safety Code § 11159.2
(a) Notwithstanding any other provision of law, a prescription for a controlled substance for use by a patient who has a terminal illness may be written on a prescription form that does not meet the requirements of Section 11162.1 if the prescription meets the following requirements:
(c) For purposes of this section, “terminally ill” means a patient who meets all of the following conditions: