(1) (a) If it appears from the evidence presented at an adjudicatory hearing or otherwise that a child may have an intellectual and developmental disability, as defined in article 10.5 of title 27, the court shall refer the child to the community-centered board in the designated service area where the action is pending for an eligibility determination pursuant to article 10.5 of title 27.
(b) If it appears from the evidence presented at an adjudicatory hearing or otherwise that a child may have a mental health disorder, as defined in sections 27-65-105 and 27-65-106, and the child has not had a mental health disorder prescreening pursuant to section 19-3-403 (4), the court shall order a prescreening to determine whether the child requires further evaluation. The prescreening shall be conducted as expeditiously as possible, and a prescreening report must be provided to the court within twenty-four hours of the prescreening, excluding Saturdays, Sundays, and legal holidays.
(c) If the mental health professional finds, based upon a prescreening done pursuant to this section or section 19-3-403 (4), that the child may have a mental health disorder, as defined in section 27-65-102, the court shall review the prescreening report within twenty-four hours, excluding Saturdays, Sundays, and legal holidays, and order the child placed for an evaluation at a facility designated by the executive director of the department of human services for a seventy-two-hour treatment and evaluation pursuant to section 27-65-105 or 27-65-106. On and after January 1, 1986, if the child to be placed is in a detention facility, the designated facility shall admit the child within twenty-four hours after the court orders an evaluation, excluding Saturdays, Sundays, and legal holidays.
(d) Any evaluation conducted pursuant to this subsection (1) must be completed within seventy-two hours, excluding Saturdays, Sundays, and legal holidays. A county jail or a detention facility, as described in article 2 of this title 19, is not considered a suitable facility for evaluation, although a mental health disorder prescreening may be conducted in any appropriate setting.
(e) If the mental health professional finds, based upon the prescreening, that the child does not have a mental health disorder, the court shall review the prescreening report within twenty-four hours, excluding Saturdays, Sundays, and legal holidays, and copies of the report shall be furnished to all parties and their attorneys. Any interested party may request a hearing on the issue of the child's mental health disorder, and the court may order additional prescreenings as deemed appropriate. The court shall not enter an order for a seventy-two-hour treatment and evaluation unless a hearing is held and evidence indicates that the prescreening report is inadequate, incomplete, or incorrect and that competent professional evidence is presented from a mental health professional that indicates that a mental health disorder is present in the child. The court shall make, prior to the hearing, such orders regarding temporary custody of the child as are deemed appropriate.
(2) (a) When an evaluation is ordered by the court pursuant to subsection (1) of this section, the order must specify the person or agency to whom the child shall be released when the evaluation indicates that the child does not have a mental health disorder.
(b) When the court orders an evaluation pursuant to subsection (1) of this section, such order shall not obligate the person doing the prescreening or the agency which such person represents to pay for an evaluation or for any hospitalization provided to the child as a result of an evaluation.
(3) (a) When the evaluation conducted pursuant to subsection (1) of this section states that the child has a mental health disorder, as defined in section 27-65-102, the court shall treat the evaluation report as a certification under section 27-65-107 and shall proceed pursuant to article 65 of title 27, assuming all of the powers granted to a court in such proceedings.
(b) When, subsequent to referral to a community centered board pursuant to subsection (1) of this section, it appears that the child has developmental disabilities, the court may proceed pursuant to article 10.5 of title 27, C.R.S., or may follow any of the recommendations contained in the report from the community centered board.
(c) If the child remains in treatment or receives services ordered pursuant to paragraph (a) or (b) of this subsection (3), the court may suspend the proceedings or dismiss any actions pending under this title.
(d) If a child receiving treatment or services ordered pursuant to paragraph (a) or (b) of this subsection (3) leaves a treatment facility or program without prior approval, the facility or program shall notify the court of the child's absence within twenty-four hours. When such child is taken into custody, the facility or program shall be notified by the court and shall readmit the child within twenty-four hours after receiving such notification, excluding Saturdays, Sundays, and legal holidays.
(4) (a) When the report of the evaluation or eligibility determination conducted pursuant to subsection (1) of this section states that the child does not have a mental health disorder or an intellectual and developmental disability, the child shall be released to the person or agency specified pursuant to subsection (2) of this section within twenty-four hours after the evaluation has been completed, excluding Saturdays, Sundays, and legal holidays. The child must not be detained unless a new detention hearing is held within twenty-four hours, excluding Saturdays, Sundays, and legal holidays, and the court finds at that hearing that secure detention is necessary.
(b) When the evaluation report or eligibility determination states that the child does not have a mental health disorder or an intellectual and developmental disability, the court shall set a time for resuming the hearing on the petition or any other pending matters.