Skip to content

Commit 30f212a

Browse files
committed
fix: activity compute logic exmaple
1 parent 506ab42 commit 30f212a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reproschema/tests/data/activities/activity1.jsonld

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
},
1818
"compute": [
1919
{
20-
"variableName": "phq9_total_score",
21-
"jsExpression": "phq9_1 + phq9_2 + phq9_3 + phq9_4 + phq9_5 + phq9_6 + phq9_7 + phq9_8 + phq9_9"
20+
"variableName": "activity1_total_score",
21+
"jsExpression": "item1 + item2"
2222
}
2323
],
2424
"messages": [
@@ -44,7 +44,7 @@
4444
"allow": ["reproschema:Skipped"]
4545
},
4646
{ "isAbout": "items/activity1_total_score",
47-
"variableName": "phq9_total_score",
47+
"variableName": "activity1_total_score",
4848
"requiredValue": true,
4949
"isVis": false
5050
}

0 commit comments

Comments
 (0)