Hi,
I had 4 BIG chest tubes a few years back as a result of a lung collapse. I was flying (atpl) 4 weeks to the day after the last one came out.
In retrospect I should've taken longer off but was too young to care at that point and really wanted to get back.
I would recommend getting a letter from a specialist if you know a good one (thorasic) which would outline the medical issue and the treatment you rec'd and importantly that he see no problem with your UNRESTRICTED return to ATPL (or whatever licence you have)
If you get this, make 100 copies and NEVER lose it as everytime you go for a job, wave that baby around and all the boffins breathe easier.
Seriously, This letter got me jobs at 2 of the biggest airliners around.
Private mail me if you want more info....
Sonny.