Note the OP described cataract surgery, where the lens is replaced, not RK (which is rarely done these days) or PRK. Sometimes, though, a cataract patient will have corneal surgery to correct vision to near 20/20 well AFTER the lens replacement.
I know people who have had cataract surgery, then have gone to 14000' without incident (in fact, one is there right now).
OP: What do you mean by high altitude?
There is some belief that any surgery with a corneal flap (NOT cataract surgery) is contraindicated when the patient may be involved in sports that involve sudden impulses (such as falling and suddenly stopping while roped... or unroped!).
If you have an additional problem -- such as retinal detachment, where a bubble might be placed in the eye -- strict altitude restrictions might be given. But bubble surgeries are rare.