How do you know if your baby has this?

I'm just curious, was reading something on it the other day. DD gets a sore leg and I am wondering if it's related.

How early/ late could this be diagnosed? HOW do they diagnose it? Could it have been missed at the checks at the Drs?

Just curious.
Thanks everyone.
Sue x