AI in healthcare: from fighting epidemics to family doctors