You literally got a paper card a pharmacy employee wrote on, and just had to carry it around.
No mass surveillance needed.