From 404e67b9cfb0416086d7e3ae3638d4d77a56735f Mon Sep 17 00:00:00 2001 From: ibevers Date: Wed, 27 Nov 2024 12:05:59 -0500 Subject: [PATCH] Add participant history questionnaire --- b2ai_protocol_schema | 14 +++-- .../items/mph_active_psy_medical_problems | 22 +++++++ .../items/mph_current_medication | 19 ++++++ .../items/mph_describe_psychotherapy | 19 ++++++ .../items/mph_hist_psy_medical_problems | 19 ++++++ .../items/mph_prescribed_medication | 36 +++++++++++ .../items/mph_previous_medication | 19 ++++++ .../items/mph_see_mental_health_professional | 33 +++++++++++ .../q_mood_participant_history_schema | 59 +++++++++++++++++++ 9 files changed, 235 insertions(+), 5 deletions(-) create mode 100644 mood/q_mood_participant_history/items/mph_active_psy_medical_problems create mode 100644 mood/q_mood_participant_history/items/mph_current_medication create mode 100644 mood/q_mood_participant_history/items/mph_describe_psychotherapy create mode 100644 mood/q_mood_participant_history/items/mph_hist_psy_medical_problems create mode 100644 mood/q_mood_participant_history/items/mph_prescribed_medication create mode 100644 mood/q_mood_participant_history/items/mph_previous_medication create mode 100644 mood/q_mood_participant_history/items/mph_see_mental_health_professional create mode 100644 mood/q_mood_participant_history/q_mood_participant_history_schema diff --git a/b2ai_protocol_schema b/b2ai_protocol_schema index c077537..4c5a9a5 100644 --- a/b2ai_protocol_schema +++ b/b2ai_protocol_schema @@ -3,7 +3,7 @@ "https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0/contexts/reproschema", { "reproschema_library_activities": "https://raw.githubusercontent.com/ReproNim/reproschema-library/8c11e4fad32d09f351b8a432d5d2666ea9709170/activities/", - "b2ai_redcap2rs_activities": "https://raw.githubusercontent.com/sensein/b2ai-redcap2rs/baa7dc4d18fe588578f2d59e01137466af3daa79/activities/" + "b2ai_redcap2rs_activities": "https://raw.githubusercontent.com/sensein/b2ai-redcap2rs/24cbb461c2ff6556f047dd4bc1275b4b08d52eb8/activities/" } ], "@type": "reproschema:Protocol", @@ -116,10 +116,6 @@ "en": "Prolonged Vowel" } }, - - - - { "isAbout": "generic/rainbow_passage/rainbow_passage_schema", "variableName": "rainbow_passage_schema", @@ -141,6 +137,13 @@ "en": "Story Recall" } }, + { + "isAbout": "mood/q_mood_participant_history/q_mood_participant_history_schema", + "variableName": "participant_history", + "prefLabel": { + "en": "Participant History" + } + }, { "isAbout": "mood/q_mood_panas/q_mood_panas_schema", "variableName": "panas", @@ -210,6 +213,7 @@ "generic/picture_description/picture_description_schema", "generic/story_recall/story_recall_schema", "generic/audio_check/audio_check_schema", + "mood/q_mood_participant_history/q_mood_participant_history_schema", "mood/q_mood_panas/q_mood_panas_schema", "mood/q_mood_custom_affect_scale/q_mood_custom_affect_scale_schema", "mood/DSM-5_A/DSM5_crosscutting_adult_schema", diff --git a/mood/q_mood_participant_history/items/mph_active_psy_medical_problems b/mood/q_mood_participant_history/items/mph_active_psy_medical_problems new file mode 100644 index 0000000..a2fa997 --- /dev/null +++ b/mood/q_mood_participant_history/items/mph_active_psy_medical_problems @@ -0,0 +1,22 @@ +{ + "id": "mph_active_psy_medical_problems", + "category": "reproschema:Item", + "preamble": { + "en": "Medical and Psychiatric comorbidities" + }, + "prefLabel": { + "en": "mph_active_psy_medical_problems" + }, + "question": { + "en": "Please list any active psychiatric problems and medical problems." + }, + "responseOptions": { + "valueType": [ + "xsd:string" + ] + }, + "ui": { + "inputType": "text" + }, + "@context": "https://raw.githubusercontent.com/ReproNim/reproschema/main/releases/1.0.0/reproschema" +} \ No newline at end of file diff --git a/mood/q_mood_participant_history/items/mph_current_medication b/mood/q_mood_participant_history/items/mph_current_medication new file mode 100644 index 0000000..b9c3c6a --- /dev/null +++ b/mood/q_mood_participant_history/items/mph_current_medication @@ -0,0 +1,19 @@ +{ + "id": "mph_current_medication", + "category": "reproschema:Item", + "prefLabel": { + "en": "mph_current_medication" + }, + "question": { + "en": "Please list any current psychiatric medications (to the best of your recollection), including medication names, dosage, and how many times per day." + }, + "responseOptions": { + "valueType": [ + "xsd:string" + ] + }, + "ui": { + "inputType": "text" + }, + "@context": "https://raw.githubusercontent.com/ReproNim/reproschema/main/releases/1.0.0/reproschema" +} \ No newline at end of file diff --git a/mood/q_mood_participant_history/items/mph_describe_psychotherapy b/mood/q_mood_participant_history/items/mph_describe_psychotherapy new file mode 100644 index 0000000..94762cf --- /dev/null +++ b/mood/q_mood_participant_history/items/mph_describe_psychotherapy @@ -0,0 +1,19 @@ +{ + "id": "mph_describe_psychotherapy", + "category": "reproschema:Item", + "prefLabel": { + "en": "mph_describe_psychotherapy" + }, + "question": { + "en": "Please briefly describe your psychotherapy history (e.g., dates, reasons for seeking therapy, etc.)." + }, + "responseOptions": { + "valueType": [ + "xsd:string" + ] + }, + "ui": { + "inputType": "text" + }, + "@context": "https://raw.githubusercontent.com/ReproNim/reproschema/main/releases/1.0.0/reproschema" +} \ No newline at end of file diff --git a/mood/q_mood_participant_history/items/mph_hist_psy_medical_problems b/mood/q_mood_participant_history/items/mph_hist_psy_medical_problems new file mode 100644 index 0000000..58b0fd5 --- /dev/null +++ b/mood/q_mood_participant_history/items/mph_hist_psy_medical_problems @@ -0,0 +1,19 @@ +{ + "id": "mph_hist_psy_medical_problems", + "category": "reproschema:Item", + "prefLabel": { + "en": "mph_hist_psy_medical_problems" + }, + "question": { + "en": "Please list any historical psychiatric problems and medical problems." + }, + "responseOptions": { + "valueType": [ + "xsd:string" + ] + }, + "ui": { + "inputType": "text" + }, + "@context": "https://raw.githubusercontent.com/ReproNim/reproschema/main/releases/1.0.0/reproschema" +} \ No newline at end of file diff --git a/mood/q_mood_participant_history/items/mph_prescribed_medication b/mood/q_mood_participant_history/items/mph_prescribed_medication new file mode 100644 index 0000000..3325624 --- /dev/null +++ b/mood/q_mood_participant_history/items/mph_prescribed_medication @@ -0,0 +1,36 @@ +{ + "id": "mph_prescribed_medication", + "category": "reproschema:Item", + "preamble": { + "en": "Treatment Obtained" + }, + "prefLabel": { + "en": "mph_prescribed_medication" + }, + "question": { + "en": "Have you ever been prescribed medication for mental or emotional problems (e.g., antidepressants, anxiolytics, antipsychotics, mood stabilizers, etc.)?" + }, + "responseOptions": { + "choices": [ + { + "name": { + "en": "Yes" + }, + "value": "yes" + }, + { + "name": { + "en": "No" + }, + "value": "no" + } + ], + "valueType": [ + "xsd:string" + ] + }, + "ui": { + "inputType": "radio" + }, + "@context": "https://raw.githubusercontent.com/ReproNim/reproschema/main/releases/1.0.0/reproschema" +} \ No newline at end of file diff --git a/mood/q_mood_participant_history/items/mph_previous_medication b/mood/q_mood_participant_history/items/mph_previous_medication new file mode 100644 index 0000000..9f83fb8 --- /dev/null +++ b/mood/q_mood_participant_history/items/mph_previous_medication @@ -0,0 +1,19 @@ +{ + "id": "mph_previous_medication", + "category": "reproschema:Item", + "prefLabel": { + "en": "mph_previous_medication" + }, + "question": { + "en": "Please list any previous psychiatric medications (to the best of your recollection), including medication names,\napproximate dates you were taking them, and why they were discontinued." + }, + "responseOptions": { + "valueType": [ + "xsd:string" + ] + }, + "ui": { + "inputType": "text" + }, + "@context": "https://raw.githubusercontent.com/ReproNim/reproschema/main/releases/1.0.0/reproschema" +} \ No newline at end of file diff --git a/mood/q_mood_participant_history/items/mph_see_mental_health_professional b/mood/q_mood_participant_history/items/mph_see_mental_health_professional new file mode 100644 index 0000000..e6b54c2 --- /dev/null +++ b/mood/q_mood_participant_history/items/mph_see_mental_health_professional @@ -0,0 +1,33 @@ +{ + "id": "mph_see_mental_health_professional", + "category": "reproschema:Item", + "prefLabel": { + "en": "mph_see_mental_health_professional" + }, + "question": { + "en": "Have you ever seen a mental health professional for talk therapy (could include social workers, psychiatrists, etc.)?" + }, + "responseOptions": { + "choices": [ + { + "name": { + "en": "Yes" + }, + "value": "yes" + }, + { + "name": { + "en": "No" + }, + "value": "no" + } + ], + "valueType": [ + "xsd:string" + ] + }, + "ui": { + "inputType": "radio" + }, + "@context": "https://raw.githubusercontent.com/ReproNim/reproschema/main/releases/1.0.0/reproschema" +} \ No newline at end of file diff --git a/mood/q_mood_participant_history/q_mood_participant_history_schema b/mood/q_mood_participant_history/q_mood_participant_history_schema new file mode 100644 index 0000000..89e1b87 --- /dev/null +++ b/mood/q_mood_participant_history/q_mood_participant_history_schema @@ -0,0 +1,59 @@ +{ + "id": "q_mood_participant_history_schema", + "category": "reproschema:Activity", + "prefLabel": { + "en": "q_mood_participant_history" + }, + "schemaVersion": "1.0.0", + "ui": { + "order": [ + "items/mph_active_psy_medical_problems", + "items/mph_hist_psy_medical_problems", + "items/mph_prescribed_medication", + "items/mph_current_medication", + "items/mph_previous_medication", + "items/mph_see_mental_health_professional", + "items/mph_describe_psychotherapy" + ], + "addProperties": [ + { + "isAbout": "items/mph_active_psy_medical_problems", + "isVis": true, + "variableName": "mph_active_psy_medical_problems" + }, + { + "isAbout": "items/mph_hist_psy_medical_problems", + "isVis": true, + "variableName": "mph_hist_psy_medical_problems" + }, + { + "isAbout": "items/mph_prescribed_medication", + "isVis": true, + "variableName": "mph_prescribed_medication" + }, + { + "isAbout": "items/mph_current_medication", + "isVis": "mph_prescribed_medication =='yes'", + "variableName": "mph_current_medication" + }, + { + "isAbout": "items/mph_previous_medication", + "isVis": "mph_prescribed_medication =='yes'", + "variableName": "mph_previous_medication" + }, + { + "isAbout": "items/mph_see_mental_health_professional", + "isVis": true, + "variableName": "mph_see_mental_health_professional" + }, + { + "isAbout": "items/mph_describe_psychotherapy", + "isVis": "mph_see_mental_health_professional =='yes'", + "variableName": "mph_describe_psychotherapy" + } + ], + "shuffle": false + }, + "version": "3.20.0", + "@context": "https://raw.githubusercontent.com/ReproNim/reproschema/main/releases/1.0.0/reproschema" +} \ No newline at end of file