Have they always required this for family members making visits to newborns?
No, I’m guessing it’s been around for at least 5 years since this happened to my sister, too, when she had her first grandchild. It’s mostly the whooping cough (pertussis) around newborns is my understanding.