Slightly different in my case.
I had a Pulmonary valve Replacement operation in December, and got my JAA Class one medical back in April.
Restricted to As or With Co-Pilot.
The FAA are still thinking about it.
Make sure you enquire as to what tests they need, i know with Valve repleacement there is a 5 month JAA and 6 month FAA restriction.
Good luck