You might want to track down a veterinary pharmacist and ask the question.
How long did your vet recommend? I know the wash out period for Rimadyl is at least a week--and depending on what you're switching
to, that time might vary.
Sounds like you and Nala have been through the wringer together
I hope she's feeling better soon!