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
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/activities/"
Copy link
Contributor

Choose a reason for hiding this comment

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

shall we switch this to a specific committish now, if this all works?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I realized there is a test case on enh/rc4 in reproschema-library that wasn't passing--should be fixed when this is merged:
ReproNim/reproschema-library#80

I ran the test locally before pushing.

}
],
"@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