I couldn't see your whole question. A doctor figures out if a child has migraines by taking her story into account, the family history and if the headaches are frequent or increasing, or affect school or social lives or have alarming characteristics --doing tests such as a CT or MRI to rule out more serious illnesses. Diagnosing migraines is mostly clinically -- that is listening to and examining the patient.