O.P.
Take her to the doctor; it could be something medical. I had that problem when I was a child (I also have a heart condition) and the doctors thought it was in relation to my heart. The pain would shoot from my thigh down to my knee and sometimes from my knee down to my foot.
Good luck!