"shall order the local mental health or mental retardation authority or another qualified mental health or mental retardation expert to:(A) collect information regarding whether the defendant has a mental illness as defined by Section 571.003, Health and Safety Code, or is a person with mental retardation as defined by Section 591.003, Health and Safety Code, including information obtained from an" . . . .