Hmmn, that is tricky. I would push on your ped. about your concern and ask for a referral to a specialist (not even sure what kind as there can be multiple, but my thought is that any specialist might know if a different type of specialist would be more indicated, if that makes sense). I am also wondering if it is an alignment issue; that would be a PT or maybe would be helped by orthotics.
OTOH, my dd had intense leg pain (dont remember where) when she was younger. She would scream and scream. My ped said growing pains, and I was convinced it was something more. It did turn out to be growing pains. That said, its good to rule out any other concerns.
lucky single mom to 20 yr old dd and 17 yr old ds through 2 very different adoption routes