Routing for UAS624

maintro
Welcome to the ALiR monthly health check, a simple survey to help us understand how you are feeling physically and mentally each month.
gen_intro
First we will ask about your general health over the past 30 days.
gen001 (physical health not good or did you not feel well last 30 days)
Thinking about your physical health, which includes physical illness and injury, for how many days during the past 30 days was your physical health not good or did you not feel well? Please drag the slider up or down to choose the number of days.
if gen001 = response and gen001 > 0 then
gen002 (how many days poor physical health keep from doing usual activities)
During the past 30 days, for about how many days did poor physical health keep you from doing your usual activities, such as self-care, work, or recreation? Please drag the slider up or down to choose the number of days.
End of if
gen003 (mental health not good or did you not feel well last 30 days)
Now thinking about your mental health, which includes stress, depression, and problems with emotions, for how many days during the past 30 days was your mental health not good? (Please drag the slider up or down to choose number of days)
if gen003 = response and gen003 > 0 then
gen004 (how many days poor mental health keep from doing usual activities)
During the past 30 days, for about how many days did poor mental health you from doing your usual activities, such as self-care, work, or recreation? (Please drag the slider up or down to choose number of days)
End of if
hh_intro
Next we have some questions about your use of the healthcare services.
hh001 (visit doctor or another medical provider past 30 days)
During the past 30 days, did you visit a doctor or another medical provider (including dentists and eye doctors) for any reason related to your own health?
1 Yes, once
2 Yes, more than once
3 No
if hh001 in [1,2] then
hh002 (which health services used past 30 days)
During the past 30 days, which of the following health services did you use for any reason related to your own health? Check all that apply.
1 A primary care visit (routine visits of physical exams, laboratory testing, vaccinations, care for minor symptoms or injuries such as colds, sprains or burns)
2 A specialty care visit (such as a cardiologist or endocrinologist)
3 A sexual health clinic (such as obstetrics, gynecologists, men’s health, urologist, screening for sexually transmitted infections (STIs), contraceptives, etc).
4 Urgent care
5 Out-patient surgery
6 In-patient surgery
7 Emergency room
8 Hospitalization for reasons other than surgery
9 Dialysis center
Loop from 1 to 9
if cnt in hh002 and cnt in [4,7,8] then
Fill code of question 'FL_hh003[cnt]' executed
hh003 (when visit)
Approximately when was your visit [primary care visit (routine visits of physical exams, laboratory testing, vaccinations, care for minor symptoms or injuries such as colds, sprains or burns)/specialty care visit (such as a cardiologist or endocrinologist)/sexual health clinic (such as obstetrics, gynecologists, men’s health, urologist, screening for sexually transmitted infections (STIs), contraceptives, etc)./for urgent care/out-patient surgery/in-patient surgery/to the emergency room/for a hospitalization for reasons other than surgery/dialysis center]?
End of if
End of loop
Group of questions presented on the same screen
hh004 (which healthcare providers talked to past 30 days)
During the past 30 days, which of the following healthcare providers did you talk to about your own health? Check all that apply.
1 A general doctor who treats a variety of illnesses (a physician in general practice, primary care, family medicine, or internal medicine)
2 A nurse practitioner, physician assistant, or midwife
3 A doctor who specializes in women’s health (an obstetrician/gynecologist)
4 A mental health professional such as a psychiatrist, psychologist, psychiatric nurse, or clinical social worker
5 An optometrist, ophthalmologist, or eye doctor (someone who prescribes eyeglasses)
6 A podiatrist or foot doctor
7 A chiropractor
8 A physical therapist, speech therapist, respiratory therapist, audiologist, or occupational therapist
9 A dentist or orthodontist
10 A medical doctor who specializes in a particular medical disease or problem (other than obstetrician/gynecologist, psychiatrist, or ophthalmologist)
11 Traditional healers such as, Shaman, acupuncturist, or non-western medicine
12 Other, please specify:
hh004_other (other which healthcare providers talked to past 30 days)
STRING
End of group of questions
End of if
il_intro
Next we will ask you questions about cold, flu, and COVID-19.
ili001 (experienced any symptoms)
Over the last 30 days, have you experienced any of the following symptoms? Check all that apply.
1 Fever
2 Chills
3 Cough
4 Shortness of breath or difficulty breathing
5 Fatigue
6 Muscle or body aches
7 Headache
8 New loss of taste or smell
9 Sore throat
10 Congestion or runny nose
11 Nausea or vomiting
12 Diarrhea
13 None of these
if ili001 = response and ili001 != 13 then
ili002 (when symptoms begin)
Approximately when did your symptom(s) first begin?
End of if
ili003 (tested positive for COVID-19 last 30 days)
Over the last 30 days, have you tested positive for COVID-19?
1 (YES) Yes
2 (NO) No
if ili003 = 1 then
ili004 (when covid diagnosis)
Approximately when did you receive your diagnosis?
ili005 (how severe covid illness)
How severe was your COVID-19 illness?
1 I did not experience any symptoms
2 Mild: I effectively managed my symptoms at home
3 Moderate: My symptoms severe and required brief hospitalization
4 Severe: My symptoms severe and required ventilation
End of if
sl_intro
This next section is about your sleep health.
Group of questions presented on the same screen
sl_intro2
Over the last 7 DAYS,

Subgroup of questions
sl001 (My sleep was restless)
My sleep was restless.
1 Not at all
2 A little bit
3 Somewhat
4 Quite a bit
5 Very much
sl002 (My sleep was refreshing)
My sleep was refreshing.
1 Not at all
2 A little bit
3 Somewhat
4 Quite a bit
5 Very much
sl003 (I had a problem with my sleep)
I had a problem with my sleep.
1 Not at all
2 A little bit
3 Somewhat
4 Quite a bit
5 Very much
sl004 (I had difficulty falling asleep)
I had difficulty falling asleep.
1 Not at all
2 A little bit
3 Somewhat
4 Quite a bit
5 Very much
sl005 (I tried hard to get to sleep)
I tried hard to get to sleep.
1 Not at all
2 A little bit
3 Somewhat
4 Quite a bit
5 Very much
End of subgroup of questions
End of group of questions
sl006 (My sleep quality was)
My sleep quality was...
1 Very poor
2 Poor
3 Fair
4 Good
5 Very good
if gender = empty then
gender (R GENDER)
What is your gender?
1 Male
2 Female
End of if
if gender = 2 then
wm_intro
Next we will ask you a series of questions about female health. We hope your responses will help us understand how female biology affects your day to day health and wellbeing, something that scientists don't know enough about yet.
if preload_wm001 = response then
wm001a (still best description menstrual cycle)
Previously, you responded that the following statement best describes your menstrual cycle:

[preload best description menstrual cycle[]]

Is this still true?
1 (YES) Yes
2 (NO) No
End of if
if preload_wm001 = empty OR (preload_wm001 = response and wm001a = 2) then
Group of questions presented on the same screen
wm001 (best description menstrual cycle)
At present which statement best describes your menstrual cycle?
1 I'm having regular periods
2 I'm having irregular periods
3 I'm not having periods because I’m currently pregnant or my pregnancy ended within the past 6 months
4 I'm not having periods because I’m breastfeeding or pumping milk to feed my baby
5 My periods have stopped on their own (I’ve had menopause)
6 I've had menopause but now have periods because I’m taking hormones
7 I've had an operation (surgery) which stopped my periods
8 I'm taking medication(s) that have stopped my periods
9 I've had chemotherapy or radiation therapy which has stopped my periods
10 I'm not having periods for another reason (please specify):
wm001_other (other best description menstrual cycle)
STRING
End of group of questions
if wm001 in [1,2,6] then
wm002 (first day of last period)
The date of the first day of my last period was
elseif wm001 in [5,7,8,9,10] then
wm003 (how old when menstrual periods stopped)
How old were you when your menstrual periods stopped?
RANGE 0..120
End of if
End of if
if preload_wm004 = response then
wm004a (still using same birth control)
Previously, you responded that you were using the following for birth control:

[preload using any forms of birth control[]]

Is this still true?
1 (YES) Yes
2 (NO) No
End of if
if preload_wm004 = empty OR (preload_wm004 = response and wm004a = 2) then
Group of questions presented on the same screen
wm004 (using any forms of birth control)
Are you currently using any of the below forms of birth control? Check all that apply.
1 Birth control pills or oral contraceptives
2 Injectable birth control, like Depo Provera
3 The birth control patch, or Ortho Evra
4 Vaginal ring or nuva-ring or Annovera
5 An IUD or intrauterine device
6 Birth control implants, like Implanon or Norplant
7 Emergency contraception, sometimes known as Plan B or the morning-after pill
8 Another method not listed (please specify):
9 None of these
wm004_other (other using any forms of birth control)
STRING
End of group of questions
End of if
if preload_wm005 = 1 then
wm005a (still pregnant)
You previously told us you are pregnant. Is this still true?
1 (YES) Yes
2 (NO) No
if wm005a = 1 then
wm005 := 1
Else
wm005 := 2
End of if
Else
if wm001 = 3 then
wm005 (currently pregnant)
Are you currently pregnant?
1 (YES) Yes
2 (NO) No
End of if
End of if
if wm005 = 1 then
if preload_wm006 = response then
wm007_total := preload_wm006 + getWeekDifference(last_completed_monthly_endtime)
wm007 (correct how many weeks into pregnancy)
Based on your previous responses, you should be approximately [total how many weeks into pregnancy[]] weeks into your pregnancy. Is this true?
1 (YES) Yes
2 (NO) No
if wm007 = 1 then
wm006 := wm007_total
Else
wm006 (how many weeks into pregnancy)
Approximately how many weeks into the pregnancy are you? Please drag the slider up or down to choose number of weeks
End of if
Else
wm006 (how many weeks into pregnancy)
Approximately how many weeks into the pregnancy are you? Please drag the slider up or down to choose number of weeks
End of if
Fill code of question 'FL_wm008' executed
Group of questions presented on the same screen
wm008 (any conditions or complications during pregnancy)
Have you had any of the following conditions or complications during your pregnancy[ during the last 30 days]? Check all that apply.
1 Gestational diabetes (high blood sugar)
2 Anemia (low blood cell count)
3 Vaginal bleeding
4 Nausea or vomiting
5 Depression or anxiety
6 Preeclampsia, eclampsia, toxemia, or pregnancy-induced hypertension (high blood pressure)
7 Fever or infection
8 Other (please specify):
9 Don't know
10 None of the above
wm008_other (other any conditions or complications during pregnancy)
STRING
End of group of questions
elseif (wm005 = 2 and wm001 = 3) OR (wm005 = 2 and preload_wm005 = 1) then
Fill code of question 'FL_wm009' executed
wm009 (when did most recent pregnanycy end)
[Our records indicate that you were pregnant during the last survey. ] When did your most recent pregnancy end?
Group of questions presented on the same screen
wm010 (how most recent pregnancy end)
How did your most recent pregnancy end?
1 Live birth
2 Still birth
3 Miscarriage
4 Abortion
5 Other (please specify):
6 I prefer not to say
wm010_other (other how most recent pregnancy end)
STRING
End of group of questions
if wm010 = 1 then
wm010_ok
Congratulations!
elseif wm010 in [2,3] then
Group of questions presented on the same screen
wm010_notok
We are genuinely sorry for your loss.
wm010_resources
Below are some resources that you may be interested in if you would like to speak with someone, or if you would like to get additional information about a topic.

Mental Health Service Administration 24/7, 365-day-a-year hotline: 1-800-662-HELP (4357)
Find a local therapist to talk to from the Psychology Today website: https://therapists.psychologytoday.com/rms/
End of group of questions
elseif wm010 = 4 then
Group of questions presented on the same screen
wm010_notok2
We are sorry for your experience.
wm010_resources
Below are some resources that you may be interested in if you would like to speak with someone, or if you would like to get additional information about a topic.

Mental Health Service Administration 24/7, 365-day-a-year hotline: 1-800-662-HELP (4357)
Find a local therapist to talk to from the Psychology Today website: https://therapists.psychologytoday.com/rms/
End of group of questions
End of if
End of if
End of if
fi_intro
Finally, we would like to know a little bit about wearing your activity tracker (Fitbit or Apple Watch) this month.
fi001 (how long wear fitbit)
Other than for charging, approximately how long do you think you wore your Fitbit this month?
1 I did not wear my Fitbit this month
2 1-7 days
3 8-14 days
4 15-21 days
5 24-29 days
6 30 days
7 I did not take my Fitbit off other than for charging
if fi001 in [1,2,3,4,5] then
fi002 (why take fitbit off)
In general, why did you take your device off?
STRING
End of if
CS_001 (HOW PLEASANT INTERVIEW)
Could you tell us how interesting or uninteresting you found the questions in this survey?
1 Very interesting
2 Interesting
3 Neither interesting nor uninteresting
4 Uninteresting
5 Very uninteresting
CS_003 (comments)
Do you have any other comments on the survey? Please type these in the box below. (If you have no comments, please click next to complete this survey.)
STRING