Welcome to Just Answer! I'm Dr. Hinson and I'd like to help you with your question.
It sounds like Coda has a luxating patella which is basically where the knee cap doesn't stay in place.
Is he holding the leg completely up all the time?
Which leg is it?