...
A sleep device is unique in that the event window for capturing sleep data is different than other devices. For a device like a Fitbit, the event window will be all day from 12 am -11:59 pm. However, if you think about the typical time that a participant will sleep, it wont won't be all day and then start over at midnight. Instead part of their sleep time will begin on day 0 and the rest of the sleep will end in the morning of day 1. This is why we need to set up the event window differently than other devices.
...
- After you add your device to the study, select 'Study Arms' in the left sidebar navigationfrom the Manage Study drop-down list. Then select 'event Manage Event Schedule' for the arm where you want to add the 'Collect Data' event.
- Not sure how to add a device? See 'Collect Data' Event for instructions.
- Not sure how to add a device? See 'Collect Data' Event for instructions.
- Click the blue 'Add New event' button and select 'Device UploadCollect Data' as the event type. The devices can be viewed by navigating to the Devices section in Manage Study.
- Select the device from the options in the drop-down list. This will auto-populate all of the devices that you have set up in Way to Health. Choose your sleep device.
- Name the event.
- Choose the day when the event should start and the event window. The event window is the time that the participant has to complete sync their sleep device.
- Tip Tip! For sleep 'Collect Data' events, typically, participants are asked to start syncing their devices on Day 0 or Day 1 and they have the entire day to do so. HOWEVER, as noted above, the window for sleep is different than the window for a typical device. Therefore it is suggested setting up the window as seen in the screen shot screenshot below to capture the sleep data on day 0 (before midnight) and day 1 (after midnight)
Day 0 starting at 3 pm and ending on Day 1 at 2:59 pm.
- Tip Tip! For sleep 'Collect Data' events, typically, participants are asked to start syncing their devices on Day 0 or Day 1 and they have the entire day to do so. HOWEVER, as noted above, the window for sleep is different than the window for a typical device. Therefore it is suggested setting up the window as seen in the screen shot screenshot below to capture the sleep data on day 0 (before midnight) and day 1 (after midnight)
- Indicate how many times the event should repeat.
- Tip! For sleep device upload events, typically, participants are asked to sync their device every day for the entire duration of the study.
- Tip! For sleep device upload events, typically, participants are asked to sync their device every day for the entire duration of the study.
- For daily data collection, typically you don't want to send a message on the Collect Data event itself since it will be occur at the frequency selected.
- Tip! To inform the participant that that they should sync their Fitbit or weigh in on their scale every day, create a 'Send a Message' event with instructions or welcome to study message.
- Tip! To inform the participant that that they should sync their Fitbit or weigh in on their scale every day, create a 'Send a Message' event with instructions or welcome to study message.
- Often times studies will just passively collect sleep data. If that is the case for your study, you are done! Click the blue 'Add' button. If you want to set up a compliance feedback logic or send the participant a message on how they slept, you are ready to do so. Click the 'Save and Define Logic' button.
- Inside the 'Collect Data' logic, you can designate compliance criteria. Select If 'Completed and'
name the Logic Set and then select 'This event's data'. - Choose the device field (i.e total_sleep_duration) and the operator (i.e >). Then select either amount or target.
- Amount: a set number for all study participants. For example, 7 hours
- Target: a an individualized sleep goal for each study participant
- Note: In order to use a target for compliance, a target generator must be developedset up from the 'Target Configurations' page. See Targets for guidance.
- Note: In order to use a target for compliance, a target generator must be developedset up from the 'Target Configurations' page. See Targets for guidance.
- Click 'Add a consequenceSelect Action' and select ' Mark as compliant'. You can also send a participant a message about their sleep from the previous night. For a non-sleep device we suggest doing this as an 'Add Logic' event since the message will go as soon as the event closes, but one benefit of a sleep device upload is that the event closes at 11:59 AM so sending the participant a message at noon is ok! Once you add 'Message' as a consequence, click the blue 'Save Feedback' at the bottom of the page.
- You can also send a participant a message about their sleep from the previous night. For a non-sleep device, we suggest doing this as an 'Add Logic' event since the message will go as soon as the event closes, but one benefit of a sleep device upload is that the event closes at 2:59 PM so sending the participant a message at noon is ok! Once you add 'Message' as a consequence, click the blue 'Save Feedback' at the bottom of the page.
- Do your participants have customized sleep targets? If you want to relay the participant's target to them in the daily message (i.e. 'You only slept X hours yesterday and your goal was Y hours. Try harder today!') then you should use your defined Custom Variables.
- Create a new Logic Set and repeat steps 10-12 for 'unmet sleep goal'