The World Health Organization has declared the swine flu virus a pandemic .