Doctorlink has joined HealthHerohealthheroLearn More
doctorlink
  • Home
  • Authentication
  • Traversal API
  • Example Responses
  • Traversal Client
  • Health Risk Assessment API
  • Advanced Techniques

Checkboxes with Radio button

Combination multiple selection/one selection only (Check boxes with radio button)

Radio button appears in a multiple select or value entry question, when selected it should clear other answers. This could look something like this:

qt-checkboxes-with-radio-button.png

1{
2  "traversalId": "55babc25-b76b-4f7c-86d3-b4c970ae4ab1",
3  "algoId": 4611,
4  "nodes": [
5    {
6      "nodeId": 604,
7      "assetId": 0,
8      "errors": [],
9      "displayText": null,
10      "title": null,
11      "explanation": null,
12      "data": null,
13      "questions": [
14        {
15          "nodeId": 604,
16          "questionId": 20654,
17          "displayText": "The following things can be found when someone has a very serious condition. Do any of them apply to you?\n<span class=\"e24subtext\">(Select all that apply.) </span>",
18          "title": null,
19          "answers": [
20            {
21              "nodeId": 604,
22              "questionId": 20654,
23              "answerId": 588,
24              "controlType": "Checkbox",
25              "controlValue": null,
26              "controlChecked": false,
27              "displayText": "Purple or red rash or blotches that keep their colour when the skin is pressed with a glass",
28              "explanation": "Press the side of a clear glass or plastic tumbler firmly against the rash or discoloured area. \n\nIf the rash does NOT go paler when pressed but stays red or purple throughout, this may be a sign of a serious illness like meningitis. SELECT this option.\n\nIf a glass or plastic tumbler is not available, press firmly on the rash or discoloured area with your thumb or fingertip. When you release the pressure, a pale thumb mark should remain, which should return to the red or purple rash colour after a few seconds. (This may look like a rash under the skin, rather than on the skin.) \n\nIf the pressure of the thumb does not make the rash go paler then this may be a sign of a serious illness like meningitis. SELECT this option.\n\nThe rash may not be so obvious on darker skins but may be visible in paler areas such as the soles of the feet or palms of the hands.",
29              "data": {}
30            },
31            {
32              "nodeId": 604,
33              "questionId": 20654,
34              "answerId": 30162,
35              "controlType": "Checkbox",
36              "controlValue": null,
37              "controlChecked": false,
38              "displayText": "New and unusual behaviour, such as extreme drowsiness, confusion, agitation, paranoia, or hallucinations",
39              "explanation": "Paranoia is an irrational fear of being watched, listened to, or persecuted.",
40              "data": {}
41            },
42            {
43              "nodeId": 604,
44              "questionId": 20654,
45              "answerId": 30169,
46              "controlType": "Checkbox",
47              "controlValue": null,
48              "controlChecked": false,
49              "displayText": "Worrying change in ability to function",
50              "explanation": "",
51              "data": {}
52            },
53            {
54              "nodeId": 604,
55              "questionId": 20654,
56              "answerId": 28490,
57              "controlType": "Checkbox",
58              "controlValue": null,
59              "controlChecked": false,
60              "displayText": "Sudden weakness in an arm or leg, face drooping on one side, or difficulty speaking or understanding",
61              "explanation": "",
62              "data": {}
63            },
64            {
65              "nodeId": 604,
66              "questionId": 20654,
67              "answerId": 31407,
68              "controlType": "Checkbox",
69              "controlValue": null,
70              "controlChecked": false,
71              "displayText": "Severe, unbearable pain",
72              "explanation": "With this kind of severe pain it is almost impossible to do even basic activities such as eating and dressing.",
73              "data": {}
74            },
75            {
76              "nodeId": 604,
77              "questionId": 20654,
78              "answerId": 30159,
79              "controlType": "Checkbox",
80              "controlValue": null,
81              "controlChecked": false,
82              "displayText": "Very low temperature now less than 36C (96.8F)",
83              "explanation": "",
84              "data": {}
85            },
86            {
87              "nodeId": 604,
88              "questionId": 20654,
89              "answerId": 30164,
90              "controlType": "Checkbox",
91              "controlValue": null,
92              "controlChecked": false,
93              "displayText": "Any wound or surgical site with spreading redness, swelling, or discharge with pus or an offensive smell",
94              "explanation": "Discharge is liquid matter that comes from a part of the body. It may be clear, bloody, or coloured.",
95              "data": {}
96            },
97            {
98              "nodeId": 604,
99              "questionId": 20654,
100              "answerId": 24790,
101              "controlType": "Radio",
102              "controlValue": null,
103              "controlChecked": false,
104              "displayText": "None of the above",
105              "explanation": null,
106              "data": {}
107            }
108          ],
109          "explanation": "",
110          "data": {
111            "Properties": {
112              "Alert": "RedFlag",
113              "UpdateTraversal": "MultipleSelectProblems"
114            },
115            "minAnswers": 0,
116            "maxAnswers": 0
117          }
118        }
119      ],
120      "isTable": false
121    }
122  ],
123  "assessmentType": 1,
124  "algoName": "Healing wound, open sore, or scar problems",
125  "errors": [],
126  "previousDisabled": false,
127  "nextDisabled": false,
128  "language": "DEFAULT"
129}