When I got the flu shot+ covid booster, the pharmacist printed out a list of all the shots I had since birth. I was curious about what I actually got, and was talking to the pharmacist about it at the time. So there's a database of what you got and when.