Once you are admitted on a voluntary basis, the facility is authorized by law to detain you without your consent for up to 24 hours after you make

a request to be discharged to determine if you meet the criteria for involuntary examination and treatment; if you do meet the criteria for involuntary placement, a petition is filed with the court within two working days.