I would assume it's lp (luxating patella) we are scheduled for surgery on Tuesday
Have your vet check her and if he says she is affected, make sure you remember to find out what grade she is (grades 1-4 sometimes 5). Grades three and above are fairly severe and usually should be fixed surgically.
I hope it's not that, it is really heartbreaking.