Came in to Mexico City and was handed the Health Survey on the flight. Pre-filled it and had a QR code online, but filled in the form anyway.
The Immigration Agent took - the hand filled form from the flight and threw away the QR code, but used the pre-printed Immigration form threw away the one provided by the airline.