This Google Apps Script is built to automate the validation of health-related data entries in a Google Sheet used by the AH program. It supports rule-checking for various health metrics such as sleep, MVPA, steps, wearable sync, junk food, fruit and vegetable intake, BP, and more.
The script ensures:
Accurate logging of participant data
Triggering alerts/nudges based on predefined thresholds