(1) A child may be referred to the medical center for diagnostic evaluation and study under the following conditions:
(a) A judge who has before him the matter of possible commitment or sentencing of a child to one of the institutions of the state may have an evaluation of such child made at the diagnostic center; or any such judge may send a child to the center for an evaluation of his mental and physical capacity if such judge believes such diagnosis will aid him in his determination of the matter concerning such child before him, regardless of the fact that, because of lack of space, none of the regional centers is able to accept such child.
(b) Any judge, for the purpose of determining whether or not a child under sixteen years of age has a behavioral or mental health disorder or an intellectual and developmental disability, may cause the child to be sent to the center for diagnostic evaluation.
(c) The superintendent of any institution in Colorado to which children have been committed or sentenced may request the executive director of the department of human services to have an evaluation of any child in his institution made at the center.
(d) The director of a county department of social services may request an evaluation at the Colorado children's diagnostic center of a child in the care, custody, or supervision of such county department when such evaluation will aid it in its determination of the disposition, placement, or planning for such child; but no such evaluation shall be requested until such parental consent as is necessary has been obtained. If such an evaluation is made, the costs thereof shall be paid by the said county department of social services.