The provisions of the Children’s Mental Health and Developmental Disabilities Act shall apply to all children in New Mexico except as otherwise set forth in the Children’s Code.