Skip to content

Commit

Permalink
update the whole protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
yibeichan committed Jan 3, 2024
1 parent ba825d3 commit 018296e
Show file tree
Hide file tree
Showing 23 changed files with 767 additions and 49 deletions.
31 changes: 31 additions & 0 deletions activities/0_audio/audio_check_schema
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"@context": [
"https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
{
"voice": "https://raw.githubusercontent.com/ReproNim/reproschema-library/43e7afab312596708c0ad4dfd45b69c8904088ae/activities/VoiceTask/items/"
}
],
"@type": "reproschema:Activity",
"@id": "audio_check_schema",
"prefLabel": "Audio check",
"description": "activity to test the subject's microphone and audio collection",
"preamble": "",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"ui": {
"addProperties": [
{
"variableName": "audio_check",
"isAbout": "voice:audio_check"
}
],
"order": [
"voice:audio_check"
],
"shuffle": false,
"allow": [
"reproschema:AutoAdvance",
"reproschema:AllowExport"
]
}
}
94 changes: 94 additions & 0 deletions activities/1_demographics/demographics_schema
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"@context": [
"https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
{
"demo": "https://raw.githubusercontent.com/ReproNim/reproschema-library/43e7afab312596708c0ad4dfd45b69c8904088ae/activities/demographics_and_background_information_v1/items/"
}
],
"@type": "reproschema:Activity",
"@id": "demographics_schema",
"prefLabel": "Demographics",
"description": "activity to collect demographics and background of the subject",
"preamble": "This activity will ask for your demographics and background.",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"ui": {
"addProperties": [
{
"variableName": "year_of_birth",
"isAbout": "demo:year_of_birth"
},
{
"variableName": "sex",
"isAbout": "demo:sex"
},
{
"variableName": "gender_identity",
"isAbout": "demo:gender_identity"
},
{
"variableName": "gender_other_specify",
"isAbout": "demo:other_specify",
"isVis": "gender_identity.includes(-1)"
},
{
"variableName": "sexual_orientation",
"isAbout": "demo:sexual_orientation"
},
{
"variableName": "sexual_orientation_other_specify",
"isAbout": "demo:other_specify",
"isVis": "sexual_orientation.includes(-1)"
},
{
"variableName": "ethnic_category",
"isAbout": "demo:ethnic_category"
},
{
"variableName": "race_ethnicity",
"isAbout": "demo:race_ethnicity"
},
{
"variableName": "race_ethnicity_global",
"isAbout": "demo:race_ethnicity_global"
},
{
"variableName": "race_ethnicity_global_other",
"isAbout": "demo:race_ethnicity_global_other",
"isVis": "race_ethnicity_global.includes(-1)"
},
{
"variableName": "native_language_multiple",
"isAbout": "demo:native_language_multiple"
},
{
"variableName": "dialect",
"isAbout": "demo:dialect"
},
{
"variableName": "us_state_of_residence",
"isAbout": "demo:us_state_of_residence"
}
],
"order": [
"demo:year_of_birth",
"demo:sex",
"demo:gender_identity",
"demo:other_specify",
"demo:sexual_orientation",
"demo:other_specify",
"demo:ethnic_category",
"demo:race_ethnicity",
"demo:race_ethnicity_global",
"demo:race_ethnicity_global_other",
"demo:native_language_multiple",
"demo:dialect",
"demo:us_state_of_residence"
],
"shuffle": false,
"allow": [
"reproschema:AutoAdvance",
"reproschema:AllowExport"
]
}
}
67 changes: 67 additions & 0 deletions activities/2_psychological/psychological_questionnaire_schema
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"@context": [
"https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
{
"activities": "https://raw.githubusercontent.com/ReproNim/reproschema-library/43e7afab312596708c0ad4dfd45b69c8904088ae/activities/",
"demo": "https://raw.githubusercontent.com/ReproNim/reproschema-library/43e7afab312596708c0ad4dfd45b69c8904088ae/activities/demographics_and_background_information_v1/items/"
}
],
"@type": "reproschema:Activity",
"@id": "psychological_questionnaire_schema",
"prefLabel": "Psychological questionnaire",
"description": "activity to collect psychological data of the participant",
"preamble": "This activity will ask you to rate your psychological states",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"ui": {
"addProperties": [
{
"variableName": "phq-9",
"isAbout": "activities:PHQ-9/PHQ9_schema"
},
{
"variableName": "gad-7",
"isAbout": "activities:GAD7/GAD7_schema"
},
{
"variableName": "pc-ptsd-5",
"isAbout": "activities:PC-PTSD-5/PC-PTSD-5_schema"
},
{
"variableName": "clinical_history_psychiatry",
"isAbout": "demo:clinical_history_psychiatry"
},
{
"variableName": "clinical_history_psychiatry_other",
"isAbout": "demo:clinical_history_psychiatry_other"
},
{
"variableName": "clinical_history_psychiatry_current",
"isAbout": "demo:clinical_history_psychiatry_current"
},
{
"variableName": "clinical_history_psychiatry_current_only_some",
"isAbout": "demo:clinical_history_psychiatry_current_only_some"
},
{
"variableName": "clinical_history_psychiatry_current_only_some_other",
"isAbout": "demo:clinical_history_psychiatry_current_only_some_other"
}
],
"order": [
"activities:PHQ-9/PHQ9_schema",
"activities:GAD7/GAD7_schema",
"activities:PC-PTSD-5/PC-PTSD-5_schema",
"demo:clinical_history_psychiatry",
"demo:clinical_history_psychiatry_other",
"demo:clinical_history_psychiatry_current",
"demo:clinical_history_psychiatry_current_only_some",
"demo:clinical_history_psychiatry_current_only_some_other"
],
"shuffle": false,
"allow": [
"reproschema:AutoAdvance",
"reproschema:AllowExport"
]
}
}
67 changes: 67 additions & 0 deletions activities/3_clinical/clinical_schema
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"@context": [
"https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
{
"demo": "https://raw.githubusercontent.com/ReproNim/reproschema-library/43e7afab312596708c0ad4dfd45b69c8904088ae/activities/demographics_and_background_information_v1/items/"
}
],
"@type": "reproschema:Activity",
"@id": "clinical_schema",
"prefLabel": "Clinical background",
"description": "activity to collect clinical background of the subject",
"preamble": "This activity will ask for your clinical background.",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"ui": {
"addProperties": [
{
"variableName": "smoking",
"isAbout": "demo:smoking"
},
{
"variableName": "alcohol_consumption",
"isAbout": "items/alcohol_consumption"
},
{
"variableName": "alcohol_consumption_count",
"isAbout": "items/alcohol_consumption_count"
},
{
"variableName": "dental_oral",
"isAbout": "items/dental_oral"
},
{
"variableName": "allergies_cold",
"isAbout": "items/allergies_cold"
},
{
"variableName": "clinical_history_voice",
"isAbout": "demo:clinical_history_voice"
},
{
"variableName": "clinical_history_voice_other",
"isAbout": "demo:clinical_history_voice_other",
"isVis": "clinical_history_voice.includes(-1)"
},
{
"variableName": "clinical_history_neurology",
"isAbout": "demo:clinical_history_neurology"
}
],
"order": [
"demo:smoking",
"items/alcohol_consumption",
"items/alcohol_consumption_count",
"items/dental_oral",
"items/allergies_cold",
"demo:clinical_history_voice",
"demo:clinical_history_voice_other",
"demo:clinical_history_neurology"
],
"shuffle": false,
"allow": [
"reproschema:AutoAdvance",
"reproschema:AllowExport"
]
}
}
36 changes: 36 additions & 0 deletions activities/3_clinical/items/alcohol_consumption
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "alcohol_consumption",
"prefLabel": "Alcohol consumption",
"description": "schema to ask whether the participant drank alcohol",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": {
"en": "Have you drunk alcohol today?",
"es": "¿Has bebido alcohol hoy?"
},
"ui": {
"inputType": "radio"
},
"responseOptions": {
"valueType": "xsd:string",
"multipleChoice": false,
"choices": [
{
"name": {
"en": "Yes",
"es": "Sí"
},
"value": 1
},
{
"name": {
"en": "No",
"es": "No"
},
"value": 2
}
]
}
}
19 changes: 19 additions & 0 deletions activities/3_clinical/items/alcohol_consumption_count
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "alcohol_consumption_count",
"prefLabel": "Number of drinks",
"description": "schema to ask for the number of alcoholic drinks the participant had today",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": {
"en": "How many drinks containing alcohol have you had?",
"es": "¿Cuántas bebidas que contienen alcohol has tomado?"
},
"ui": {
"inputType": "number"
},
"responseOptions": {
"valueType": "xsd:integer"
}
}
19 changes: 19 additions & 0 deletions activities/3_clinical/items/allergies_cold
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "allergies_cold",
"prefLabel": "Allergies or cold-like symptoms",
"description": "schema to ask about any allergies or cold-like symptoms",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": {
"en": "Do you currently have allergies or cold-like symptoms affecting speech?",
"es": "¿Actualmente tiene alergias o síntomas parecidos a los del resfriado que afectan el habla?"
},
"ui": {
"inputType": "text"
},
"responseOptions": {
"valueType": "xsd:string"
}
}
19 changes: 19 additions & 0 deletions activities/3_clinical/items/dental_oral
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "dental_oral",
"prefLabel": "Dental or oral problems",
"description": "schema to ask about any dental or oral problems affecting speech",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": {
"en": "Do you have any oral or dental problems affecting speech?",
"es": "¿Tiene algún problema oral o dental que afecte el habla?"
},
"ui": {
"inputType": "text"
},
"responseOptions": {
"valueType": "xsd:string"
}
}
19 changes: 19 additions & 0 deletions activities/3_clinical/items/height
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"@context": "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
"@type": "reproschema:Field",
"@id": "height",
"prefLabel": "Height",
"description": "schema to ask for the height of the participant",
"schemaVersion": "1.0.0-rc4",
"version": "0.0.1",
"question": {
"en": "What is your height?",
"es": "¿Cuál es su altura?"
},
"ui": {
"inputType": "text"
},
"responseOptions": {
"valueType": "xsd:string"
}
}
Loading

0 comments on commit 018296e

Please sign in to comment.