Technical solution for data collection, data safety and data privacy legislation: experiences from the SWEET study