Intelligent infusion bag labeling machine