(405 ILCS 5/4-502) (from Ch. 91 1/2, par. 4-502)
    Sec. 4-502. Orders; examination; setting for hearing.
    (a) When no certificate is filed with the petition, if the court finds that the petition is in order and that there is a valid reason why no certificate has been filed, it may make any orders as are necessary to provide for an examination of the respondent by a clinical psychologist, clinical social worker, or physician. If, as a result of the examination, a certificate is executed, the certificate shall be promptly filed with the court.
    (b) When a certificate is filed with the petition or is filed pursuant to this Section, if the court finds that the documents are in order, it may make any orders as are necessary to provide for a diagnostic evaluation of the respondent pursuant to paragraph (b) of Section 4-300 of this Chapter.
    (c) Upon receipt of the diagnostic report prepared pursuant to Section 4-301, the court shall set the matter for hearing pursuant to Section 4-505.
(Source: P.A. 87-530.)