Cotinine can be detected in the urine for around two weeks after last smoke, but the exact peiod is variable. The levels in passive smokers are far lesser than those in active smokers, so it is not difficult to differentiate between the two. So in my opinion, after four days of being off smoking
, your cotinine levels will still be higher than that of passive smokers.
Best wishes for your surgery.