If the court determines that a competency determination is necessary, the court shall order the juvenile be examined by a licensed psychiatrist or psychologist who is familiar with the clinical evaluation of juveniles. The examination shall take place within thirty days of the court's order unless good cause is shown for a delay.
SDCL 26-7A-32.4