Why is a sleep
...
'Collect Data' event different than a pedometer, pill bottle, or scale
...
set up?
A sleep device is unique in that the encounter event window for capturing sleep data is different than other devices. For a device like a Fitbit, the encounter 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 encounter event window differently than other devices.
How do I set up a
...
'Collect Data' event for a sleep device?
- After you add your device to the study, select 'Study Arms' in the left sidebar navigationfrom the Manage Study drop-down list. Then select 'Encounter Manage Event Schedule' for the arm where you want to add the device upload encounter'Collect Data' event.
- Not sure how to add a device? See Device Upload Encounter'Collect Data' Event for instructions.
- Not sure how to add a device? See Device Upload Encounter'Collect Data' Event for instructions.
- Click the blue 'Add New Encounterevent' button and select 'Device UploadCollect Data' as the encounter type. Then select the sourceevent 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. The devices can be viewed by navigating to the Devices section in Manage Study Choose your sleep device.
- Name the encounterevent.
Leave the 'participant message' and 'send notification?' options blank. Tip! To inform the participant that they should sync their sleep device, send a one-time alert message with instructions or welcome to study message.
- Choose the day when the encounter event should start and the encounter event window. The encounter event window is the time that the participant has to complete sync their sleep device.
- Tip Tip! For sleep device upload encounters'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 device upload encounters'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 encounter event should repeat and then click the blue 'Add' button .
- Tip! For sleep device upload encountersevents, typically, participants are asked to sync their device every day for the entire duration of the study.
.
- Tip! For sleep device upload encountersevents, 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 occur at the frequency selected.
- Tip! To inform the participant 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 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 'FeedbackSave and Define Logic' button.
- Inside the device upload feedback, you can designate compliance criteria. Select If 'Completed and'
'Collect Data' logic, 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 a round up an 'Add Logic' event since the message will go as soon as the encounter event closes, but one benefit of a sleep device upload is that the encounter event closes at 11:59 PM 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'