I was thinking the St. Elsewhere angle too.
Actually, I'm a bit disappointed that the whole thing wasn't dreamt and imagined, like Pixie Styx theorized, that the snow globe was given to Ted after his interview.
This may have been a bit too clever though and maybe 6 of us watching would have figured this out, so good this wasn't it. :)