Upon receipt of a petition filed pursuant to Section 3-507 or 3-508, the court shall appoint counsel for the minor and shall set a hearing to be held within 5 days, excluding Saturdays, Sundays and holidays. The court shall direct that notice of the time and place of the hearing be served upon the minor, his attorney, the person who executed the application, the objector, and the facility director. The hearing shall be conducted pursuant to Article VIII of this Chapter. Hospitalization of the minor may continue pending further order from the court.
405 ILCS 5/3-509