If the diagnosis remains uncertain, ultrasonography can be repeated serially or an upper gastrointestinal series can be done, which typically shows delayed gastric emptying and a string sign or railroad track sign of a markedly narrowed, elongated pyloric lumen.