Association between diabetes duration and 1‐year prognosis of stroke: A national registry study