diff --git a/commons/active/thincit/thinc_it_pdq.avsc b/commons/active/thincit/thinc_it_pdq.avsc new file mode 100644 index 00000000..f3bd1310 --- /dev/null +++ b/commons/active/thincit/thinc_it_pdq.avsc @@ -0,0 +1,29 @@ +{ + "namespace": "org.radarcns.active.thincit", + "type": "record", + "name": "ThincItPdq", + "doc": "THINC-it Assessment derived from PDQ5.", + "fields": [ + { "name": "time", "type": "double", "doc": "Timestamp in UTC (s) when the test is submitted to the subject." }, + { "name": "timeCompleted", "type": "double", "doc": "Timestamp in UTC (s) when the subject completes the test." }, + { "name": "score", "type": "int", "doc": "THINC-it index score - 0 to 4000." }, + { "name": "questionOne", "type": ["null", + { + "type": "enum", + "name": "ThincItPdqQuestion", + "doc": "PDQ5 question.", + "symbols": [ + "NEVER", + "RARELY", + "SOMETIMES", + "OFTEN", + "VERYOFTEN" + ] + }], "doc": "PDQ5 Question 1.", "default": null}, + { "name": "questionTwo", "type": ["null", "ThincItPdqQuestion"], "doc": "PDQ5 Question 2.", "default": null}, + { "name": "questionThree", "type": ["null", "ThincItPdqQuestion"], "doc": "PDQ5 Question 3.", "default": null}, + { "name": "questionFour", "type": ["null", "ThincItPdqQuestion"], "doc": "PDQ5 Question 4.", "default": null}, + { "name": "questionFive", "type": ["null", "ThincItPdqQuestion"], "doc": "PDQ5 Question 5.", "default": null}, + { "name": "appVersion", "type": "int", "doc": "App version." } + ] +} diff --git a/commons/catalogue/radar_widget.avsc b/commons/catalogue/radar_widget.avsc index 03ada36c..a68ff6b6 100644 --- a/commons/catalogue/radar_widget.avsc +++ b/commons/catalogue/radar_widget.avsc @@ -6,6 +6,7 @@ "symbols": [ "RADIO" , "SLIDER", - "NONE" + "NONE", + "RANGE" ] } diff --git a/java-sdk/build.gradle b/java-sdk/build.gradle index be6879fc..b0eeb3ee 100644 --- a/java-sdk/build.gradle +++ b/java-sdk/build.gradle @@ -17,7 +17,7 @@ subprojects { apply plugin: 'idea' // Configuration - version = '0.2.2' + version = '0.2.3' group = 'org.radarcns' ext.githubRepoName = 'RADAR-CNS/RADAR-Schemas' diff --git a/specifications/active/aRMT-1.0.0.yml b/specifications/active/aRMT-1.0.0.yml index dbe63331..bacf8203 100644 --- a/specifications/active/aRMT-1.0.0.yml +++ b/specifications/active/aRMT-1.0.0.yml @@ -4,7 +4,7 @@ vendor: RADAR model: aRMT-App version: 1.0.0 assessment_type: QUESTIONNAIRE -doc: Personal Health Questionnaire Depression Scale (PHQ-8) definition. +doc: aRMT Questionnaires definition. Includes Personal Health Questionnaire Depression Scale (PHQ-8), Experience sampling method (ESM) and RSES. data: - type: PHQ8 topic: questionnaire_phq8 @@ -106,3 +106,975 @@ data: value: 2 - text: Nearly every day value: 3 + + - type: ESM + topic: questionnaire_esm + value_schema: .active.questionnaire.Questionnaire + questions: + - lead: Null + content: I slept well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now I feel cheerful + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel down + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel anxious + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel relaxed + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel irritated + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel stressed + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel content + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel insecure + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel hopeful + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel lonely + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I am satisfied with myself + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I feel self-confident + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Globally, I feel well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I am brooding + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I am able to concentrate well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: What am I doing (just before the beep)? + widget: RADIO + responses: + - text: nothing + value: 0 + - text: resting + value: 1 + - text: eating/drinking + value: 2 + - text: passive leisure + value: 3 + - text: active leisure + value: 4 + - text: travel + value: 5 + - text: household/groceries + value: 6 + - text: work/study + value: 7 + - text: self-care + value: 8 + - text: interaction/conversation + value: 9 + - text: mobile phone/social media + value: 10 + - text: something else + value: 11 + - lead: Null + content: I can do this well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I would rather do something else + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: This activity requires effort + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Physically, I am active + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Physcially, I am tired + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Physically, I am in pain + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Physically, I do not feel well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Where am I? + widget: RADIO + responses: + - text: at home + value: 0 + - text: at family or friends place + value: 1 + - text: at work or school + value: 2 + - text: transport + value: 3 + - text: healthcare + value: 4 + - text: somewhere else indoors + value: 5 + - text: somewhere else outdoors + value: 6 + - lead: Null + content: Who am I with? + widget: RADIO + responses: + - text: Alone + value: 0 + - text: Partner + value: 1 + - text: Residents + value: 2 + - text: Family non-residents + value: 3 + - text: Friends + value: 4 + - text: Classmates/colleagues + value: 5 + - text: Caregiver + value: 6 + - text: Strangers/others + value: 7 + - lead: Null + content: How many people am I with? + widget: RADIO + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3-10 + value: 3 + - text: 4 + value: over 10 + - lead: Null + content: We are doing something together + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I find the people I am with pleasant + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I would prefer to be alone + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I feel connected to the people I am with + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I feel fine being alone + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I would prefer to be with others + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Being alone right now is my choice + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I feel left out + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I am virtually interacting + widget: RADIO + responses: + - text: No + value: 0 + - text: Yes + value: 1 + - lead: Null + content: I find virtual interaction pleasant + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Most people would find my current situation stressful + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Think of the most important event that happened since the last beep. This event was + widget: RANGE + responses: + - text: -3 Very unpleasant + value: -3 + - text: -2 + value: -2 + - text: -1 + value: -1 + - text: 0 + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 Very pleasant + - lead: Null + content: This event was + widget: RANGE + responses: + - text: -3 Unimportant + value: -3 + - text: -2 + value: -2 + - text: -1 + value: -1 + - text: 0 + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 Important + - lead: Null + content: Since the last beep I had/taken + widget: RADIO + responses: + - text: Food + value: 0 + - text: Caffeine + value: 1 + - text: Nicotine + value: 2 + - text: Alcohol + value: 3 + - text: Medication + value: 4 + - text: Substances + value: 5 + - text: Nothing + value: 6 + - lead: Null + content: This beep disturbed me + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Filling out the questionnaire has influence my mood today + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + + - type: RSES + topic: questionnaire_rses + value_schema: .active.questionnaire.Questionnaire + questions: + - lead: Null + content: 1. On the whole, I am satisfied with myself + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 2. At times, I think I am no good at all + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 3. I feel that I have a number of good qualities + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 4. I am able to do things as well as most other people + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 5. I feel I do not have much to be proud of + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 6. I certainly feel useless at times + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 7. I feel that I'm a person of worth, at least on an equal plane with others + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 8. I wish I could have more respect for myself + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 9. All in all, I am inclined to feel that I am a failure + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 10. I take a positive attitude towards myself + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 diff --git a/specifications/active/aRMT-v1.yml b/specifications/active/aRMT-v1.yml index 19b22df9..9da766ff 100644 --- a/specifications/active/aRMT-v1.yml +++ b/specifications/active/aRMT-v1.yml @@ -4,7 +4,7 @@ vendor: App model: aRMT-App version: v1 assessment_type: QUESTIONNAIRE -doc: Personal Health Questionnaire Depression Scale (PHQ-8) definition. +doc: aRMT Questionnaires definition. Includes Personal Health Questionnaire Depression Scale (PHQ-8), Experience sampling method (ESM) and RSES. data: - type: PHQ8 topic: questionnaire_phq8 @@ -106,3 +106,975 @@ data: value: 2 - text: Nearly every day value: 3 + + - type: ESM + topic: questionnaire_esm + value_schema: .active.questionnaire.Questionnaire + questions: + - lead: Null + content: I slept well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now I feel cheerful + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel down + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel anxious + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel relaxed + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel irritated + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel stressed + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel content + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel insecure + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel hopeful + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Right now, I feel lonely + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I am satisfied with myself + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I feel self-confident + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Globally, I feel well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I am brooding + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I am able to concentrate well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: What am I doing (just before the beep)? + widget: RADIO + responses: + - text: nothing + value: 0 + - text: resting + value: 1 + - text: eating/drinking + value: 2 + - text: passive leisure + value: 3 + - text: active leisure + value: 4 + - text: travel + value: 5 + - text: household/groceries + value: 6 + - text: work/study + value: 7 + - text: self-care + value: 8 + - text: interaction/conversation + value: 9 + - text: mobile phone/social media + value: 10 + - text: something else + value: 11 + - lead: Null + content: I can do this well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I would rather do something else + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: This activity requires effort + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Physically, I am active + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Physcially, I am tired + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Physically, I am in pain + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Physically, I do not feel well + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Where am I? + widget: RADIO + responses: + - text: at home + value: 0 + - text: at family or friends place + value: 1 + - text: at work or school + value: 2 + - text: transport + value: 3 + - text: healthcare + value: 4 + - text: somewhere else indoors + value: 5 + - text: somewhere else outdoors + value: 6 + - lead: Null + content: Who am I with? + widget: RADIO + responses: + - text: Alone + value: 0 + - text: Partner + value: 1 + - text: Residents + value: 2 + - text: Family non-residents + value: 3 + - text: Friends + value: 4 + - text: Classmates/colleagues + value: 5 + - text: Caregiver + value: 6 + - text: Strangers/others + value: 7 + - lead: Null + content: How many people am I with? + widget: RADIO + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3-10 + value: 3 + - text: 4 + value: over 10 + - lead: Null + content: We are doing something together + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I find the people I am with pleasant + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I would prefer to be alone + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I feel connected to the people I am with + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I feel fine being alone + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I would prefer to be with others + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Being alone right now is my choice + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I feel left out + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: I am virtually interacting + widget: RADIO + responses: + - text: No + value: 0 + - text: Yes + value: 1 + - lead: Null + content: I find virtual interaction pleasant + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Most people would find my current situation stressful + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Think of the most important event that happened since the last beep. This event was + widget: RANGE + responses: + - text: -3 Very unpleasant + value: -3 + - text: -2 + value: -2 + - text: -1 + value: -1 + - text: 0 + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 Very pleasant + - lead: Null + content: This event was + widget: RANGE + responses: + - text: -3 Unimportant + value: -3 + - text: -2 + value: -2 + - text: -1 + value: -1 + - text: 0 + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 Important + - lead: Null + content: Since the last beep I had/taken + widget: RADIO + responses: + - text: Food + value: 0 + - text: Caffeine + value: 1 + - text: Nicotine + value: 2 + - text: Alcohol + value: 3 + - text: Medication + value: 4 + - text: Substances + value: 5 + - text: Nothing + value: 6 + - lead: Null + content: This beep disturbed me + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + - lead: Null + content: Filling out the questionnaire has influence my mood today + widget: RANGE + responses: + - text: 0 Not at all + value: 0 + - text: 1 + value: 1 + - text: 2 + value: 2 + - text: 3 + value: 3 + - text: 4 + value: 4 + - text: 5 + value: 5 + - text: 6 + value: 6 + - text: 7 very much + value: 7 + + - type: RSES + topic: questionnaire_rses + value_schema: .active.questionnaire.Questionnaire + questions: + - lead: Null + content: 1. On the whole, I am satisfied with myself + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 2. At times, I think I am no good at all + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 3. I feel that I have a number of good qualities + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 4. I am able to do things as well as most other people + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 5. I feel I do not have much to be proud of + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 6. I certainly feel useless at times + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 7. I feel that I'm a person of worth, at least on an equal plane with others + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 8. I wish I could have more respect for myself + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 9. All in all, I am inclined to feel that I am a failure + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 + - lead: Null + content: 10. I take a positive attitude towards myself + widget: RADIO + responses: + - text: Strongly disagree + value: 0 + - text: Disagree + value: 1 + - text: Agree + value: 2 + - text: Strongly agree + value: 3 diff --git a/specifications/active/thincit-1.0.0.yml b/specifications/active/thincit-1.0.0.yml index 052464e8..b4f11f2d 100644 --- a/specifications/active/thincit-1.0.0.yml +++ b/specifications/active/thincit-1.0.0.yml @@ -17,3 +17,6 @@ data: - type: THINCIT_TRAILS topic: thincit_trails value_schema: .active.thincit.ThincItTrails + - type: THINCIT_PDQ5 + topic: thincit_pdq5 + value_schema: .active.thincit.ThincItPdq diff --git a/specifications/active/thincit-v1.yml b/specifications/active/thincit-v1.yml index aeed6db5..19295633 100644 --- a/specifications/active/thincit-v1.yml +++ b/specifications/active/thincit-v1.yml @@ -17,3 +17,6 @@ data: - type: THINCIT_TRAILS topic: thincit_trails value_schema: .active.thincit.ThincItTrails + - type: THINCIT_PDQ5 + topic: thincit_pdq5 + value_schema: .active.thincit.ThincItPdq diff --git a/specifications/stream/android_phone.yml b/specifications/stream/android_phone.yml index 050bb553..e5c71980 100644 --- a/specifications/stream/android_phone.yml +++ b/specifications/stream/android_phone.yml @@ -1,4 +1,15 @@ name: ANDROID_PHONE doc: Aggregation of Phone data master: .stream.phone.PhoneStreamMaster -data: [] \ No newline at end of file +data: + - input_topic: android_phone_acceleration + value_schema: .stream.aggregator.DoubleArrayAggregation + windowed: true + - input_topic: android_phone_usage_event + value_schema: .passive.phone.PhoneUsageEvent + - input_topic: android_phone_usage_event_output + value_schema: .stream.aggregator.PhoneUsageAggregation + windowed: true + - input_topic: android_phone_battery_level + value_schema: .stream.aggregator.DoubleAggregation + windowed: true