Diagnosing autism spectrum disorder (ASD) can be difficult because there is no medical test, like a blood test, to diagnose the disorder. Doctors look at the child's developmental history and behaviour to make a diagnosis. ASD can sometimes be detected at 18 months of age or younger.