Routing for Burst End Of Day Wave 1
FLDate := getDiaryDate(teststartdate)
FLDateTop := getDiaryDateTop(teststartdate)
FLLastNight := getLastNight(teststartdate)
ED000 (survey intro)
This survey asks about your activities, moods and interactions. For each of the questions, please choose the answer that most closely resembles the experiences you had [[]].
ED001 (Mood - Happy)
Please move the slider to represent how happy you felt [[]], on a scale from not at all to extremely.
ED002 (Mood - Frustrated)
Please move the slider to represent how frustrated you felt [[]], on a scale from not at all to extremely.
ED003 (Mood - Cheerful)
Please move the slider to represent how cheerful you felt [[]], on a scale from not at all to extremely.
ED004 (Mood - Dejected)
Please move the slider to represent how dejected / blue / downhearted you felt [[]], on a scale from not at all to extremely.
ED005 (Mood - Lonely)
Please move the slider to represent how lonely you felt [[]], on a scale from not at all to extremely.
ED006 (Mood - Relaxed)
Please move the slider to represent how relaxed you felt [[]], on a scale from not at all to extremely.
ED007 (Mood - Stressed)
Please move the slider to represent how stressed you felt [[]], on a scale from not at all to extremely.
ED008 (Mood - Angry)
Please move the slider to represent how angry you felt [[]], on a scale from not at all to extremely.
ED009 (Pain – average Intensity)
Please move the slider to represent your average level of bodily pain [[]] on a scale from no pain at all to extreme pain.
ED010 (Fatigue - Fatigue)
Please move the slider to represent how fatigued (i.e. weary or tired) you were [[]], on a scale from no fatigue at all to extreme fatigue.
ED013_2 (Physical Activity)
Did you do a total of 30 minutes or more of physical activity which was enough to raise your breathing rate, [[]]? Include sports, exercise, brisk walking, cycling for recreation or to get to and from places, house or yard work, physical activity that may be part of your job, or any other physical activities.
1 Yes
2 No
if ED013_2 = 1 then
ED013a (Fun got physical activity)
Please move the slider to represent how much fun, pleasure, or enjoyment you got from physical activity [[]], on a scale from not at all to extreme.
ED013b (Fun desired physical activity)
Please move the slider to represent how much fun, pleasure, or enjoyment you desired from physical activity [[]] on a scale from not at all to extreme.
End of if
ED015 (Stressful Event)
Did anything stressful occur [[]]? A stressful event is any event, even a minor one, that negatively affected you.
1 Yes
2 No
ED016 (who interact with)
With whom did you interact [[]] and how? Check all that apply.
1 With your spouse or partner, in person
2 With your spouse or partner, through email, online, or phone
3 With your children, in person
4 With your children, through email, online, or phone
5 With other family, in person
6 With other family, through email, online, or phone
7 With close friends, in person
8 With close friends, through email, online, or phone
9 With other people, in person
10 With other people, through email, online, or phone
11 With coworkers/colleagues, in person
12 With coworkers/colleagues, through email, online, or phone
13 No interactions [[]]
if 1 in ED016 OR 2 in ED016 OR 3 in ED016 OR 4 in ED016 OR 5 in ED016 OR 6 in ED016 OR 7 in ED016 OR 8 in ED016 then
ED017 (Argument with spouse)
Have you had an argument with someone close to you [[]]? Check all that apply.
1 Yes, spouse / partner / boyfriend / girlfriend
2 Yes, close friend or family member
3 No
End of if
ED018 (Economic Strain)
Did you worry about money [[]]?
1 Yes
2 No
ED019 (Financial Wellbeing)
Did you have enough money to do everything you wanted to do [[]]?
1 Yes
2 No
ED020 (Purposefulness)
Did you feel useful or productive [[]]?
1 Yes
2 No
ED022 (Diet: Eating well)
Did you eat well [[]]?
1 Yes
2 No
ED023 (Diet: Skipping meal)
Did you skip any meal(s) [[]]?
1 Yes
2 No
IF ED023 = 1 THEN
Group of questions presented on the same screen
ED023b (Diet: Skipped meal)
Which meal(s) did you skip? Please check all that apply
1 Breakfast
2 Lunch
3 Dinner
4 Other (specify)
ED023b_other (Diet: Skipped meal)
Which meal(s) did you skip? Please check all that apply
STRING
End of group of questions
End of if
IF ED023 = 1 AND 1 in ED023b AND 2 in ED023b AND 3 in ED023b then
Else
ED023c (Fun got eating meals)
Please move the slider to represent how much fun, pleasure, or enjoyment you got from eating your meals [[]], on a scale from not at all to extreme.
ED023d (Fun desired eating meals)
Please move the slider to represent how much fun, pleasure, or enjoyment you desired from eating your meals [[]] on a scale from not at all to extreme.
End of if
ED024 (Physical health)
How was your health [[]]?
1 Excellent
2 Very good
3 Good
4 Fair
5 Poor
ED025 (Sleep/resting quality: Rest)
Did you feel well-rested when starting the day [[]]?
1 Yes
2 No
ED026 (Sleep/resting quality: Difficulty )
Please indicate to what extent you agree or disagree with the following statement:
I had trouble sleeping [[]].
1 Strongly disagree
2 Somewhat disagree
3 Neither agree nor disagree
4 Somewhat agree
5 Strongly agree
ED027 (Sleep/resting quality; Day-Time Sleepiness )
Please indicate to what extent you agree or disagree with the following statement:
I got drowsy [[]] during times when sleeping was not allowed.
1 Strongly disagree
2 Somewhat disagree
3 Neither agree nor disagree
4 Somewhat agree
5 Strongly agree
if 1 in ED016 OR 2 in ED016 OR 3 in ED016 OR 4 in ED016 OR 5 in ED016 OR 6 in ED016 OR 7 in ED016 OR 8 in ED016 then
Group of questions presented on the same screen
ED028 (Family Interaction: Conversation)
How many hours and minutes did you interact with family members, or people you are close to, [[]]?
ED028_hours (Chatting- hours)
RANGE 0..24
ED028_minutes (Chatting- minutes)
RANGE 0..60
End of group of questions
End of if
if 1 in ED016 OR 3 in ED016 OR 5 in ED016 OR 7 in ED016 then
if not(1 in ED023b) then
ED029 (Family Interaction:Mealtime Interaction)
Did you eat breakfast with family members, or people you are close to, [[]]?
1 I ate breakfast alone
2 I ate breakfast with family members
3 I ate breakfast with people I am close to
4 I ate breakfast with non-family or people I am not close to
5 I did not eat breakfast
End of if
if not(3 in ED023b) then
ED029b (Family Interaction:Mealtime Interaction)
Did you eat dinner with family members, or people you are close to, [[]]?
1 I ate dinner alone
2 I ate dinner with family members
3 I ate dinner with people I am close to
4 I ate dinner with non-family or people I am not close to
5 I did not eat dinner
End of if
End of if
if 1 in ED016 OR 2 in ED016 OR 3 in ED016 OR 4 in ED016 OR 5 in ED016 OR 6 in ED016 then
ED030 (how functioned in family or relationship)
I am pleased with the way I functioned in my family or close relationships [[]]. Please move the slider to represent how pleased you are, on a scale from not at all pleased to very pleased.
End of if
if 1 in ED016 OR 2 in ED016 OR 3 in ED016 OR 4 in ED016 OR 5 in ED016 OR 6 in ED016 OR 7 in ED016 OR 8 in ED016 then
ED031 (Social interaction: Enjoyed interaction)
My social interactions were satisfying to me [[]]. Please move the slider to represent how satisfied you were, on a scale from not at all to very much.
End of if
ED032 (Social interaction: Support Satisfaction)
I am satisfied with the social support I received [[]]. Please move the slider to represent how satisfied you are, on a scale from not at all satisfied to very satisfied.
ED033 (Social interaction: Felt connected)
I felt connected to my family/social network [[]]. Please move the slider to represent how connected you felt, on a scale from not at all to very much.
ED034 (Job/Household satisfaction)
I am pleased with the way I functioned in my work (or in your household if you don’t work) [[]]. Please move the slider to represent how pleased you are, on a scale from not at all pleased to very pleased.
ED032_rev (Time pressure: )
Did you have enough time [[]] to do what you wanted to do?
1 Yes
2 No
ED035 (prompted exactly six times)
The next questions ask about your experiences with using the UAS phone app [[]].
Were you prompted by the UAS phone app to answer questions exactly six times [[]]?
1 Yes
2 No
3 Not sure
if ED035 = 2 OR ED035 = 3 then
ED036 (how many prompts gotten)
How many prompts did you get? If you are not sure, please give your best guess.
0 None
1 One
2 Two
3 Three
4 Four
5 Five
6 Six
7 More than six
End of if
if ED035 = 1 OR ((ED035 = 2 OR ED035 = 3) AND (ED036 = 1 OR ED036 = 2 OR ED036 = 3 OR ED036 = 4 OR ED036 = 5 OR ED036 = 6)) then
ED037 (able to use app every prompt)
Were you able to use the app to fill out the questions every time you got a prompt to do so [[]]?
1 Yes
2 No
if ED037 = 2 then
ED038 (why not able to respond to all prompts)
Please tell us briefly why you were not able to respond to all of the prompts you got
[[]]. If you had problems using the UAS EMA today that are preventing you from being able to do the project or parts of it, write in your answer here, but please also call the helpdesk at 1-855-872-8673 or email us at
uashelp@usc.edu.
STRING
End of if
End of if
ED039 (any other comments about UAS app)
Did you have any other comments about using the UAS app or answering these survey questions [[]]?
STRING
doRecording := getRecording()
if doRecording = 1 then
rec_intro
Please read carefully then follow each step on the next pages.
For the final activity, we would like to learn more about the social contacts that you had with other people today, if any, and how you felt during these social encounters.
We will ask you to first listen to, or read, an example of the kind of information we would like you to provide. Then you will use the phone app, or call a UAS recording number to verbally tell us about how you spent your day.
We would like to hear if you spent the day alone, or if you interacted with anyone, and how you felt during those interactions. You can tell us about any people you spoke to or spent time with today and how your mood was when you interacted with them. When you are done recording on your phone, you will come back here, let us know that you finished the recording, and finish this survey. rec001 (listen or read)
Before you begin...If your cell phone with the downloaded UAS app is not nearby, please get it, as you will need to use the app in this section.
Step 1: Listen to or read an example
Would you prefer to listen to, or read, the example?
1 Listen
2 Read
if rec001 = 1 then
rec_sound
Please turn on (or turn up) the volume on your speaker, or plug in a headphone.
rec002 (describes day)
Which of these describes your day?
1 I interacted with people today
2 I did not interact with people today
if rec002 = 1 then
sample2_sound
1 If you are having trouble hearing this recording, check this box to read the transcript instead. You may need to click the little arrow on the left side to make the recording play.
if sample2_sound = 1 then
sample1_text
Example – Please read the example, then tell us in your own words about your social interactions today and how you felt during them.
Here’s a summary of my social interactions today. When I got up this morning, I had breakfast with my family-the two kids and my husband. This is a typical day for us, we have breakfast together and then the kids go to school and the adults go to work.
Today was a little hectic because I had a work meeting and felt kind of stressed during breakfast. But my kids always make me laugh so we still had a nice breakfast. On my way to work, I called my sister because we are planning a birthday party for my uncle. The phone call annoyed me because everyone wants to organize the birthday party their own way and we went back and forth a little bit with the details for the party. Then, I had my meeting at work with my boss, which went well and I was really happy about it. I was nervous before the meeting because it was about an important project that my co-workers and I worked on, and my boss can be really demanding but he was very impressed with our work and I felt really happy that he liked our project. Then during lunch, one of my friends from the gym met me at a local cafe and it was nice and relaxing to do something outside of work. She’s great. In the afternoon, my sister called me again about the birthday party and I couldn’t really talk because I was at work, and was busy, so she got upset with me and I got annoyed but then calmed down again. The rest of the day was uneventful. For dinner, my husband and I met at our favorite Italian restaurant because the kids are at a sleepover tonight so we got a date night, and a movie too. It was fun to spend time with him alone and I feel happy now. So those are my social interactions today! Thanks!
End of if
Else
sample1_sound
1 If you are having trouble hearing this recording, check this box to read the transcript instead. You may need to click the little arrow on the left side to make the recording play.
if sample1_sound = 1 then
sample2_text
Example – Please read the example, then tell us in your own words about your social interactions today and how you felt during them.
Here’s a summary of my social interactions today. None! I didn’t really interact with anyone because I have a cold and just sent some emails and didn’t really want to talk. When I woke up this morning, I didn’t feel well and I was kind of sad because I miss my boyfriend who’s out of town. I decided to take a sick day and stay home to rest and sleep so I don’t get anyone else sick. One of my closest friends called me to check in on me because we were supposed to do something tonight but I cancelled because I didn’t really feel up for going out. I just stayed in today. That was that!End of if
End of if
Else
rec002 (describes day)
Which of these describes your day?
1 I interacted with people today
2 I did not interact with people today
if rec002 = 1 then
sample1_text
Example – Please read the example, then tell us in your own words about your social interactions today and how you felt during them.
Here’s a summary of my social interactions today. When I got up this morning, I had breakfast with my family-the two kids and my husband. This is a typical day for us, we have breakfast together and then the kids go to school and the adults go to work.
Today was a little hectic because I had a work meeting and felt kind of stressed during breakfast. But my kids always make me laugh so we still had a nice breakfast. On my way to work, I called my sister because we are planning a birthday party for my uncle. The phone call annoyed me because everyone wants to organize the birthday party their own way and we went back and forth a little bit with the details for the party. Then, I had my meeting at work with my boss, which went well and I was really happy about it. I was nervous before the meeting because it was about an important project that my co-workers and I worked on, and my boss can be really demanding but he was very impressed with our work and I felt really happy that he liked our project. Then during lunch, one of my friends from the gym met me at a local cafe and it was nice and relaxing to do something outside of work. She’s great. In the afternoon, my sister called me again about the birthday party and I couldn’t really talk because I was at work, and was busy, so she got upset with me and I got annoyed but then calmed down again. The rest of the day was uneventful. For dinner, my husband and I met at our favorite Italian restaurant because the kids are at a sleepover tonight so we got a date night, and a movie too. It was fun to spend time with him alone and I feel happy now. So those are my social interactions today! Thanks!
Else
sample2_text
Example – Please read the example, then tell us in your own words about your social interactions today and how you felt during them.
Here’s a summary of my social interactions today. None! I didn’t really interact with anyone because I have a cold and just sent some emails and didn’t really want to talk. When I woke up this morning, I didn’t feel well and I was kind of sad because I miss my boyfriend who’s out of town. I decided to take a sick day and stay home to rest and sleep so I don’t get anyone else sick. One of my closest friends called me to check in on me because we were supposed to do something tonight but I cancelled because I didn’t really feel up for going out. I just stayed in today. That was that!End of if
End of if
rec_rec
Step 2: Record a short description of your day.
We would like you to spend 1-4 minutes telling us about your day. We are especially interested in hearing if you interacted with other people today, and if you did, how you felt during those interactions. You do not have to write it up in advance, but can simply talk about what you did today, starting from if you had breakfast alone or with anyone, all the way through to your evening activities with or without other people. Here is how to do it:
Leave this page open - don't close it. After recording, you will come back here to finish the survey.
Most people are able to use the UAS EMA app on their phone to make the recording. Please follow the directions below. If you have any trouble making the recording on the app, just click “next” below, and answer the question, and we will give you a number to call instead.
- Open the UAS EMA app on your phone.
- Tap on the 3 dots in the upper right corner to pull down the menu.
- Tap on "Sound Recording".
- If you see a screen that says "UAS would like to access the microphone" tap "OK" to continue
- When you are ready, tap on the microphone. It will turn into a red button. Start talking, and tell us about your day.
- When you are done recording, tap on the red button and it will turn into a green check mark.
- If you would like to listen to your recording, you can play it back by tapping the "play" button.
- If you would like to re-record, click on the green check mark to begin again (your previous recording will be deleted).
- When you are done, and can see the green check mark:
- Tap the "upload" button.
- When it has finished uploading, tap the "<" symbol in the upper left corner to return to the app.
- Come back here to finish taking the survey.
Step 3: After you are done recording "Next" button below on this screen.
rec_003 (any trouble recording)
Thank you for the recording! Did you have any trouble making the recording today?
1 Yes - difficulty using the phone app
2 Yes - difficulty knowing what to say
3 Yes - something else
4 No - I had no problems
if rec_003 = 1 then
rec_phone
Sorry that didn’t work! Instead of using the App, you can just leave us a message. Please call (213) 316-8635. The recording will ask you to state your name - please say your first name and last initial. After you listen to the message, please say your UAS member number: [PRIMARY KEY[]] and then start talking and tell us about your day. When you are finished, just hang up.
The next time you are prompted to do a recording, you can just call this number directly again.
End of if
if rec_003 in [1,2,3] then
rec_004 (how improve recording)
To help us understand the types of problems people may be having with making a recording, please briefly describe the problem you had with recording today. If you have already provided this feedback, you can just press enter to continue. If you had problems using the UAS EMA app to make your recording, please tell us here what kind of phone you have. You only need to do this one time. If you cannot make the recording on your phone, follow the instructions to leave a voice mail on our call-in line instead.
If you had other problems using the UAS EMA today that are preventing you from being able to do the project or parts of it, call the helpdesk at 1-855-872-8673 or email us at
uashelp@usc.edu.
STRING
End of if
dummy := setRecordingCompleted()
End of if
if q017 = empty then
End of if
q017 (time went to bed)
What time did you GO TO BED [[]]? Please select the time using the up and down arrows. To switch between AM and PM click on the blue button behind the time.
if q017 = response then
if (contains(q017,"PM")) then
q017_check := date("Y/m/d", strtotime("-1 days")) . " " . q017
Else
q017_check := date("Y/m/d") . " " . q017
End of if
q017_check_2 := date("Y/m/d") . " " . q017
End of if
if q018 = empty then
End of if
q018 (time out of bed)
What time did you GET OUT OF BED [[]]?
Remember, you went to bed at [time went to bed[]].
if q018 = response then
if (contains(q018,"PM")) then
q018_check := date("Y/m/d", strtotime("-1 days")) . " " . q018
Else
q018_check := date("Y/m/d") . " " . q018
End of if
End of if
if q019 = empty then
End of if
q019 (time first fall asleep)
What time did you first FALL ASLEEP [[]]?
Remember, you went to bed at [time went to bed[]] and got out of bed at [time went to bed[]].
if q019 = response then
if (contains(q019,"PM")) then
q019_check := date("Y/m/d", strtotime("-1 days")) . " " . q019
Else
q019_check := date("Y/m/d") . " " . q019
End of if
End of if
if q020 = empty then
End of if
q020 (time wake up)
What time did you WAKE UP [[]] (eyes open, ready to get up)?
Remember, you fell asleep at [time went to bed[]] and got out of bed at [time went to bed[]].
if q020 = response then
if (contains(q020,"PM")) then
q020_check := date("Y/m/d", strtotime("-1 days")) . " " . q020
Else
q020_check := date("Y/m/d") . " " . q020
End of if
End of if
q021 (wake up in night)
After you went to sleep [[]] at [time went to bed[]], did you ever wake up in the night and stay awake for more than about 15 minutes, then go back to sleep? (Do not count when you woke up at [time wake up[]])
1 Yes
2 No
if q021 = 1 then
q022 (how many times wake up)
How many times did you wake up for more than 15 minutes between [time went to bed[]] and [[]]?
elseif q022 = response then
if q023_max > 0 then
Loop from 1 to Q023_MAX
Fill code of question 'FLQ023' executed
if cnt = 1 then
if q019_check = response then
FLQ23_compare := q019_check
FLQ23_compare_fill := FL_q019_check
End of if
Else
if q023[cnt-1] = response then
if q024[cnt-1] = response then
FLQ23_compare := date("Y/m/d h:i:s A", strtotime(date("Y-m-d") . " " . q023[cnt-1] . ' +' . q024[cnt-1] . ' minutes'))
FLQ23_compare_fill := date("h:i A", strtotime(date("Y-m-d") . " " . q023[cnt-1] . ' +' . q024[cnt-1] . ' minutes'))
if (date("d", strtotime(FLQ23_compare)) != date("d", time())) then
FLQ23_compare := date("Y/m/d h:i:s A", strtotime(FLQ23_compare . ' -1 days'))
End of if
Else
FLQ23_compare := date("Y/m/d") . " " . q023[cnt-1]
FLQ23_compare_fill := q023[cnt-1]
End of if
elseif q019_check = response then
FLQ23_compare := q019_check
FLQ23_compare_fill := FL_q019_check
End of if
if q024[cnt-1] = response then
q023[cnt] := FLQ23_compare_fill
elseif q023[cnt-1] = response then
End of if
End of if
Fill code of question 'FLQ023_2' executed
Group of questions presented on the same screen
q023 (time wake up)
What was the [first/second/third/fourth] time you woke up?
[first/second/third/fourth]_2
q024 (time awake)
How long were you awake?
End of group of questions
End of loop
End of if
End of if
q025 (take naps)
Since you got up this morning at [time went to bed[]], have there been other times you have slept? For instance, you may have taken a nap or fallen asleep while watching television.
1 Yes
2 No
if q025 = 1 then
q025_2 (how many times slept)
How many times you have slept since you got up this morning at [time out of bed[]]?
elseif q025_2 = response then
if q026_max > 0 then
Loop from 1 to Q026_MAX
Fill code of question 'FLQ026' executed
if cnt = 1 then
if q018_check = response then
FLQ26_compare := q018_check
FLQ26_compare_fill := FL_q018_check
End of if
Else
if q027[cnt-1] = response then
FLQ26_compare := date("Y/m/d") . " " . q027[cnt-1]
FLQ26_compare_fill := q027[cnt-1]
elseif q026[cnt-1] = response then
FLQ26_compare := date("Y/m/d") . " " . q026[cnt-1]
FLQ26_compare_fill := q026[cnt-1]
elseif q018_check = response then
FLQ26_compare := q018_check
FLQ26_compare_fill := FL_q018_check
End of if
if q027[cnt-1] = response then
elseif q026[cnt-1] = response then
End of if
End of if
Fill code of question 'FLQ026_2' executed
Group of questions presented on the same screen
q026 (time fell asleep)
What was the [first/second/third/fourth] time you took a nap or fell asleep?
[first/second/third/fourth]_2
q027 (time woke up after fell asleep)
What was the time you woke up?
End of group of questions
End of loop
End of if
End of if
CS_003 (comments)
Do you have any other comments about this survey, or your experiences with the 7-day study today? Please type these in the box below. (If you have no comments, please click next to complete this survey.)
If you had any problems using the UAS EMA today that are preventing you from being able to do the project or parts of it, please call the helpdesk at 1-855-872-8673 or email us at
uashelp@usc.edu.
STRING