If, at a dispositional hearing of a child found to be a delinquent or at any hearing, the evidence indicates that the child may be subject to commitment or detention under the provisions of the act of October 20, 1966 (3rd Sp.Sess., P.L. 96, No. 6), known as the "Mental Health and Mental Retardation Act of 1966," or the act of July 9, 1976 (P.L. 817, No. 143), known as the "Mental Health Procedures Act," the court shall proceed under the provisions of the appropriate statute.
42 Pa.C.S. § 6356