In "My Identity Crisis" (7.04), right after Ted's Band finishes their rendition of "Who are you?" Elliott says to Dr. Cox, "Are you honestly whining because you feel attached to your WIFE & kids?" Jordan is not Dr. Cox's wife. She's his ex-wife.