Welfare and Institutions Code § 5172.1
ARTICLE 1.5. Detention of Individuals Under the Influence of Alcohol for Evaluation and Treatment
Any person who is a danger to others, or to himself, or gravely disabled as a result of inebriation, may voluntarily apply for admission to a 72-hour evaluation and detoxification treatment facility for inebriates.