Tag automation in healthcare