Whenever it appears, by petition pursuant to this article, to the satisfaction of a judge of a superior court that a person is, as a result of mental disorder, a danger to others, or to himself, or gravely disabled, and the person has refused or failed to accept evaluation voluntarily, the judge shall issue an order notifying the person to submit to an evaluation at such time and place as designated by the judge. The order for an evaluation shall be served as provided in Section 5208 by a peace officer, counselor in mental health, or a court-appointed official. The person shall be permitted to remain in his home or other place of his choosing prior to the time of evaluation,
and shall be permitted to be accompanied by one or more of his relatives, friends, an attorney, a personal physician, or other professional or religious advisor to the place of evaluation. If the person to receive evaluation so requests, the individual or individuals who accompany him may be present during the evaluation.
If the person refuses or fails to appear for evaluation after having been properly notified, a peace officer, counselor in mental health, or a court-appointed official shall take the person into custody and place him in a facility designated by the county as a facility for treatment and evaluation. The person shall be evaluated as promptly as possible, and shall in no event be detained longer than 72 hours under the court order, excluding Saturdays, Sundays, and holidays if treatment and evaluation services are not available on those days.
Persons who have been detained for evaluation shall be released,
referred for care and treatment on a voluntary basis, certified for intensive treatment, or recommended for conservatorship pursuant to this part, as required.