I've heard of cats having hairballs in their system so long that they become impacted and require surgery.

Glad your kitty's better!