From acd07f524bb1e3969a9140e1d84ff6db420d7239 Mon Sep 17 00:00:00 2001 From: Yibei Chen Date: Fri, 12 Jan 2024 12:38:32 +0000 Subject: [PATCH] fix customized responseoptions --- activities/DSM-5_Y/items/dsm_cross_ch22 | 15 ++++++++------- activities/DSM-5_Y/items/dsm_cross_ch23 | 15 ++++++++------- activities/DSM-5_Y/items/dsm_cross_ch24 | 15 ++++++++------- activities/DSM-5_Y/items/dsm_cross_ch25 | 15 ++++++++------- 4 files changed, 32 insertions(+), 28 deletions(-) diff --git a/activities/DSM-5_Y/items/dsm_cross_ch22 b/activities/DSM-5_Y/items/dsm_cross_ch22 index 242247065..38bdfccbe 100644 --- a/activities/DSM-5_Y/items/dsm_cross_ch22 +++ b/activities/DSM-5_Y/items/dsm_cross_ch22 @@ -12,21 +12,22 @@ }, "responseOptions": { "valueType": "xsd:integer", + "minValue": 1, + "maxValue": 2, "multipleChoice": false, "choices": [ { - "schema:value": 1, - "schema:name": "Yes" + "name": "Yes", + "value": 0 }, { - "schema:value": 2, - "schema:name": "No" + "name": "No", + "value": 2 }, { - "schema:value": -9, - "schema:name": "Missing" + "name": "Missing", + "value": -9 } ] } - } \ No newline at end of file diff --git a/activities/DSM-5_Y/items/dsm_cross_ch23 b/activities/DSM-5_Y/items/dsm_cross_ch23 index b352dc2ed..216242ed0 100644 --- a/activities/DSM-5_Y/items/dsm_cross_ch23 +++ b/activities/DSM-5_Y/items/dsm_cross_ch23 @@ -12,21 +12,22 @@ }, "responseOptions": { "valueType": "xsd:integer", + "minValue": 1, + "maxValue": 2, "multipleChoice": false, "choices": [ { - "schema:value": 1, - "schema:name": "Yes" + "name": "Yes", + "value": 0 }, { - "schema:value": 2, - "schema:name": "No" + "name": "No", + "value": 2 }, { - "schema:value": -9, - "schema:name": "Missing" + "name": "Missing", + "value": -9 } ] } - } \ No newline at end of file diff --git a/activities/DSM-5_Y/items/dsm_cross_ch24 b/activities/DSM-5_Y/items/dsm_cross_ch24 index 4662ff315..0a6d18df3 100644 --- a/activities/DSM-5_Y/items/dsm_cross_ch24 +++ b/activities/DSM-5_Y/items/dsm_cross_ch24 @@ -12,21 +12,22 @@ }, "responseOptions": { "valueType": "xsd:integer", + "minValue": 1, + "maxValue": 2, "multipleChoice": false, "choices": [ { - "schema:value": 1, - "schema:name": "Yes" + "name": "Yes", + "value": 0 }, { - "schema:value": 2, - "schema:name": "No" + "name": "No", + "value": 2 }, { - "schema:value": -9, - "schema:name": "Missing" + "name": "Missing", + "value": -9 } ] } - } \ No newline at end of file diff --git a/activities/DSM-5_Y/items/dsm_cross_ch25 b/activities/DSM-5_Y/items/dsm_cross_ch25 index 4feb6aacd..3a40d7b43 100644 --- a/activities/DSM-5_Y/items/dsm_cross_ch25 +++ b/activities/DSM-5_Y/items/dsm_cross_ch25 @@ -12,21 +12,22 @@ }, "responseOptions": { "valueType": "xsd:integer", + "minValue": 1, + "maxValue": 2, "multipleChoice": false, "choices": [ { - "schema:value": 1, - "schema:name": "Yes" + "name": "Yes", + "value": 0 }, { - "schema:value": 2, - "schema:name": "No" + "name": "No", + "value": 2 }, { - "schema:value": -9, - "schema:name": "Missing" + "name": "Missing", + "value": -9 } ] } - } \ No newline at end of file