Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update schema #5

Merged
merged 11 commits into from
May 31, 2024
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.DS_Store
*.DS_Store
.venv
4 changes: 3 additions & 1 deletion config.env
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
REPROSCHEMA_UI_CHECKSUM=b1cde22f0fa131236dbed7cdeaa5893c09513c26
REPROSCHEMA_UI_CHECKSUM=a2a85beb05e97b96ddd595935c2add5c01a494ff


40 changes: 29 additions & 11 deletions nimh_minimal/nimh_minimal_schema
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"@context": [
"https://raw.githubusercontent.com/ReproNim/reproschema/1.0.0-rc4/contexts/generic",
{
"activity_path": "https://raw.githubusercontent.com/ReproNim/reproschema-library/80867e36fb2c00563290486bf3f3bbeb3198f5cb/activities/"
"activity_path": "https://raw.githubusercontent.com/ReproNim/reproschema-library/enh/rc4/a23a13875c7262c0bd0d77bd90c1ec296c6d1116/activities/"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i merged this, but i think this is incorrect. the branch name should not be there.

Copy link
Collaborator Author

@ibevers ibevers May 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I will double-check next time @satra. I created a new PR: #6

}
],
"@type": "reproschema:Protocol",
Expand Down Expand Up @@ -59,10 +59,18 @@
"isVis": "Number(demo_schema.interview_age) >= 12*18"
},
{
"isAbout": "activity_path:dsm_5_parent_guardian_rated_level_1_crosscutting_s/dsm_5_parent_guardian_rated_level_1_crosscutting_s_schema",
"variableName": "dsm_5_parent_guardian_rated_level_1_crosscutting_s_schema",
"isAbout": "activity_path:dsm_5_parent_guardian_rated_level_1_crosscutting_s/dsm_5_parent_guardian_rated_level_1_crosscutting_s_schema_first_19",
"variableName": "dsm_5_parent_guardian_rated_level_1_crosscutting_s_schema_first_19",
"prefLabel": {
"en": "DSM5 Parent"
"en": "DSM5 Parent first 19"
},
"isVis": "Number(demo_schema_interview_age) > 12*6 && Number(demo_schema_interview_age) < 12*18"
},
{
"isAbout": "activity_path:dsm_5_parent_guardian_rated_level_1_crosscutting_s/dsm_5_parent_guardian_rated_level_1_crosscutting_s_schema_20_to_25",
"variableName": "dsm_5_parent_guardian_rated_level_1_crosscutting_s_schema_20_to_25",
"prefLabel": {
"en": "DSM5 Parent 20 to 25"
},
"isVis": "Number(demo_schema_interview_age) > 12*6 && Number(demo_schema_interview_age) < 12*18"
},
Expand All @@ -72,13 +80,21 @@
"prefLabel": {
"en": "DSM5 Youth"
},
"isVis": false
"isVis": "Number(demo_schema_interview_age) > 12*6 && Number(demo_schema_interview_age) < 12*18"
},
{
"isAbout": "activity_path:RCADS-25-C/RCADS25_caregiver_administered_schema",
"variableName": "RCADS25_caregiver_administered_schema",
"prefLabel": {
"en": "RCADS-25 Caregiver"
},
"isVis": "Number(demo_schema_interview_age) > 12*4 && Number(demo_schema_interview_age) < 12*18"
},
{
"isAbout": "activity_path:RCADS-25/RCADS-25_schema",
"variableName": "RCADS-25_schema",
"isAbout": "activity_path:RCADS-25-Y/RCADS25_youth_administered_schema",
"variableName": "RCADS25_youth_administered_schema",
"prefLabel": {
"en": "RCADS-25"
"en": "RCADS-25 Youth"
},
"isVis": "Number(demo_schema_interview_age) > 12*4 && Number(demo_schema_interview_age) < 12*18"
},
Expand All @@ -96,15 +112,17 @@
"activity_path:WHODAS12/WHODAS12_schema",
"activity_path:PHQ-9/PHQ9_schema",
"activity_path:GAD7/GAD7_schema",
"activity_path:dsm_5_parent_guardian_rated_level_1_crosscutting_s/dsm_5_parent_guardian_rated_level_1_crosscutting_s_schema",
"activity_path:dsm_5_parent_guardian_rated_level_1_crosscutting_s/dsm_5_parent_guardian_rated_level_1_crosscutting_s_schema_first_19",
"activity_path:dsm_5_parent_guardian_rated_level_1_crosscutting_s/dsm_5_parent_guardian_rated_level_1_crosscutting_s_schema_20_to_25",
"activity_path:DSM-5_Y/DSM5_crosscutting_youth_schema",
"activity_path:RCADS-25/RCADS-25_schema",
"activity_path:RCADS-25-C/RCADS25_caregiver_administered_schema",
"activity_path:RCADS-25-Y/RCADS25_youth_administered_schema",
"activity_path:ThankYou/ThankYou_schema"
],
"shuffle": false,
"allow": [
"reproschema:AllowExport",
"reproschema:AutoAdvance"
"reproschema:AutoAdvance"
satra marked this conversation as resolved.
Show resolved Hide resolved
]
}
}
Loading