You could add notification so that when student QR code is scanned, notification will be sent to parents.
You could go to "Setting" > "Notification". Then set the the action to trigger the notification. You can set content in "Message Content". Finally, click "Save"
After corresponding action done, parent's app will be notified.