Officials in San Diego County have declared a public health emergency because of the spread of the liver disease hepatitis A.