Cal. Welf. & Inst. Code § 6006
A person admitted as a voluntary patient to a state hospital, a private mental institution, or a county psychiatric hospital shall have the following rights in addition to the right to leave such hospital as specified in this chapter: