Uncovering the first U.S. cases of swine flu linked to the expanding outbreak required a bit of luck and the convergence of a Carlsbad firm's cutting-edge technology, the efforts of a local Navy research center and the little-known work of a border disease surveillance program.