I flew to India 3 months after my aortic valve was installed. That was in April this year and I'm still walking ..lol.
I went to my doctors for a check up and sign off before I flew just to be sure.
I wore the DVT socks and walked around a bit on the flight.