The majority of children with stroke and CHD were outpatients at the time of stroke , and almost half the cases who underwent cardiac surgery had their stroke > 5 years after the most recent procedure .