@aehrc/smart-forms-renderer 0.27.2 → 0.27.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/main.ts +2 -1
- package/.storybook/preview.ts +6 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionFields.d.ts +3 -2
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionFields.js +9 -17
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionItem.js +12 -9
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetFields.d.ts +2 -2
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetFields.js +7 -9
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetItem.js +12 -8
- package/lib/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionFields.d.ts +2 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionFields.js +3 -3
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionItem.js +6 -4
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionView.d.ts +2 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionView.js +3 -3
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionView.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetFields.d.ts +2 -2
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetFields.js +5 -7
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetItem.js +4 -4
- package/lib/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionFields.d.ts +2 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionFields.js +2 -3
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionItem.js +5 -3
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionView.d.ts +2 -1
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionView.js +3 -3
- package/lib/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionView.js.map +1 -1
- package/lib/components/FormComponents/DecimalItem/DecimalItem.js +1 -1
- package/lib/components/FormComponents/GroupItem/TabButtonsWrapper.js +20 -20
- package/lib/components/FormComponents/GroupItem/TabButtonsWrapper.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionFields.d.ts +3 -2
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionFields.js +7 -19
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionItem.js +40 -40
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceItemSwitcher.js +15 -3
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceItemSwitcher.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionFields.d.ts +2 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionFields.js +3 -3
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionFields.js.map +1 -1
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionItem.js +27 -26
- package/lib/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionItem.js.map +1 -1
- package/lib/components/FormComponents/StringItem/StringField.js +1 -1
- package/lib/components/FormComponents/StringItem/StringField.js.map +1 -1
- package/lib/hooks/useInitialiseRenderer.js +1 -1
- package/lib/hooks/useInitialiseRenderer.js.map +1 -1
- package/lib/hooks/useNextAndPreviousVisibleTabs.d.ts +7 -0
- package/lib/hooks/useNextAndPreviousVisibleTabs.js +63 -0
- package/lib/hooks/useNextAndPreviousVisibleTabs.js.map +1 -0
- package/lib/hooks/useNextPreviousVisibleTabs.d.ts +6 -0
- package/lib/hooks/useNextPreviousVisibleTabs.js +63 -0
- package/lib/hooks/useNextPreviousVisibleTabs.js.map +1 -0
- package/lib/index.d.ts +0 -7
- package/lib/index.js +0 -24
- package/lib/index.js.map +1 -1
- package/lib/utils/choice.d.ts +1 -7
- package/lib/utils/choice.js +10 -20
- package/lib/utils/choice.js.map +1 -1
- package/lib/utils/enableWhen.js +5 -7
- package/lib/utils/enableWhen.js.map +1 -1
- package/lib/utils/index.d.ts +1 -0
- package/lib/utils/index.js +1 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/openChoice.d.ts +9 -4
- package/lib/utils/openChoice.js +47 -78
- package/lib/utils/openChoice.js.map +1 -1
- package/lib/utils/tabs.d.ts +0 -21
- package/lib/utils/tabs.js +0 -51
- package/lib/utils/tabs.js.map +1 -1
- package/package.json +4 -4
- package/src/components/FormComponents/ChoiceItems/CheckboxOptionList.tsx +82 -0
- package/src/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionFields.tsx +23 -52
- package/src/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerOptionItem.tsx +15 -9
- package/src/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetFields.tsx +17 -19
- package/src/components/FormComponents/ChoiceItems/ChoiceCheckboxAnswerValueSetItem.tsx +13 -8
- package/src/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionFields.tsx +5 -4
- package/src/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionItem.tsx +6 -2
- package/src/components/FormComponents/ChoiceItems/ChoiceRadioAnswerOptionView.tsx +5 -1
- package/src/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetFields.tsx +9 -16
- package/src/components/FormComponents/ChoiceItems/ChoiceRadioAnswerValueSetItem.tsx +4 -4
- package/src/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionFields.tsx +4 -3
- package/src/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionItem.tsx +5 -2
- package/src/components/FormComponents/ChoiceItems/ChoiceSelectAnswerOptionView.tsx +5 -1
- package/src/components/FormComponents/DecimalItem/DecimalItem.tsx +1 -1
- package/src/components/FormComponents/GroupItem/TabButtonsWrapper.tsx +28 -25
- package/src/components/FormComponents/ItemParts/{RadioAnswerOptionButtons.tsx → RadioOptionList.tsx} +7 -7
- package/src/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionFields.tsx +18 -50
- package/src/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerOptionItem.tsx +70 -68
- package/src/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerValueSetFields.tsx +110 -0
- package/src/components/FormComponents/OpenChoiceItems/OpenChoiceCheckboxAnswerValueSetItem.tsx +188 -0
- package/src/components/FormComponents/OpenChoiceItems/OpenChoiceItemSwitcher.tsx +46 -19
- package/src/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionFields.tsx +5 -3
- package/src/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerOptionItem.tsx +37 -29
- package/src/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerValueSetFields.tsx +104 -0
- package/src/components/FormComponents/OpenChoiceItems/OpenChoiceRadioAnswerValueSetItem.tsx +156 -0
- package/src/components/FormComponents/StringItem/StringField.tsx +1 -1
- package/src/hooks/useInitialiseRenderer.ts +1 -1
- package/src/hooks/useNextAndPreviousVisibleTabs.ts +86 -0
- package/src/hooks/useOpenLabel.ts +43 -0
- package/src/index.ts +0 -21
- package/src/stories/BuildFormWrapper.tsx +57 -0
- package/src/stories/assets/questionnaires/QAdvancedAdditionalDisplayContent.ts +83 -0
- package/src/stories/assets/questionnaires/QAdvancedControlAppearance.ts +294 -0
- package/src/stories/assets/questionnaires/QAdvancedOther.ts +495 -0
- package/src/stories/assets/questionnaires/QAdvancedTextApperance.ts +188 -0
- package/src/stories/assets/questionnaires/QAttachment.ts +38 -0
- package/src/stories/assets/questionnaires/QBehaviorCalculations.ts +645 -0
- package/src/stories/assets/questionnaires/QBehaviorChoiceRestriction.ts +281 -0
- package/src/stories/assets/questionnaires/QBehaviorOther.ts +1149 -0
- package/src/stories/assets/questionnaires/QBehaviorValueConstraints.ts +508 -0
- package/src/stories/assets/questionnaires/QBoolean.ts +130 -0
- package/src/stories/assets/questionnaires/QChoice.ts +137 -0
- package/src/stories/assets/questionnaires/QDate.ts +56 -0
- package/src/stories/assets/questionnaires/QDateTime.ts +56 -0
- package/src/stories/assets/questionnaires/QDecimal.ts +56 -0
- package/src/stories/assets/questionnaires/QDisplay.ts +38 -0
- package/src/stories/assets/questionnaires/QGroup.ts +52 -0
- package/src/stories/assets/questionnaires/QInteger.ts +119 -0
- package/src/stories/assets/questionnaires/QItemControlDisplay.ts +114 -0
- package/src/stories/assets/questionnaires/QItemControlGroup.ts +419 -0
- package/src/stories/assets/questionnaires/QItemControlQuestion.ts +1271 -0
- package/src/stories/assets/questionnaires/QOpenChoice.ts +151 -0
- package/src/stories/assets/questionnaires/QQuantity.ts +38 -0
- package/src/stories/assets/questionnaires/QReference.ts +38 -0
- package/src/stories/assets/questionnaires/QSingleItems.ts +251 -0
- package/src/stories/assets/questionnaires/QString.ts +131 -0
- package/src/stories/assets/questionnaires/QText.ts +169 -0
- package/src/stories/assets/questionnaires/QTime.ts +38 -0
- package/src/stories/assets/questionnaires/QUrl.ts +38 -0
- package/src/stories/assets/questionnaires/index.ts +44 -0
- package/src/stories/itemTypes/Attachment.stories.tsx +39 -0
- package/src/stories/itemTypes/Boolean.stories.tsx +72 -0
- package/src/stories/{MedicalHistoryTable.stories.tsx → itemTypes/Choice.stories.tsx} +32 -26
- package/src/stories/itemTypes/Date.stories.tsx +46 -0
- package/src/stories/itemTypes/DateTime.stories.tsx +45 -0
- package/src/stories/itemTypes/Decimal.stories.tsx +56 -0
- package/src/stories/itemTypes/Display.stories.tsx +39 -0
- package/src/stories/itemTypes/Group.stories.tsx +39 -0
- package/src/stories/itemTypes/Integer.stories.tsx +55 -0
- package/src/stories/itemTypes/OpenChoice.stories.tsx +64 -0
- package/src/stories/itemTypes/Quantity.stories.tsx +39 -0
- package/src/stories/itemTypes/Reference.stories.tsx +39 -0
- package/src/stories/itemTypes/String.stories.tsx +51 -0
- package/src/stories/itemTypes/Text.stories.tsx +51 -0
- package/src/stories/itemTypes/Time.stories.tsx +39 -0
- package/src/stories/itemTypes/Url.stories.tsx +39 -0
- package/src/stories/sdc/AdvancedAdditionalDisplayContent.stories.tsx +45 -0
- package/src/stories/sdc/AdvancedControlAppearance.stories.tsx +51 -0
- package/src/stories/sdc/AdvancedOther.stories.tsx +76 -0
- package/src/stories/sdc/AdvancedTextAppearance.stories.tsx +69 -0
- package/src/stories/sdc/BehaviorCalculations.stories.tsx +69 -0
- package/src/stories/sdc/BehaviorChoiceRestriction.stories.tsx +76 -0
- package/src/stories/sdc/BehaviorOther.stories.tsx +90 -0
- package/src/stories/sdc/BehaviorValueConstraints.stories.tsx +88 -0
- package/src/stories/sdc/ItemControlDisplay.stories.tsx +39 -0
- package/src/stories/sdc/ItemControlGroup.stories.tsx +55 -0
- package/src/stories/sdc/ItemControlQuestion.stories.tsx +118 -0
- package/src/utils/buildForm.ts +23 -0
- package/src/utils/choice.ts +16 -23
- package/src/utils/enableWhen.ts +5 -7
- package/src/utils/index.ts +1 -0
- package/src/utils/openChoice.ts +83 -98
- package/src/utils/tabs.ts +0 -75
- package/vite.config.ts +23 -0
- package/doctor-storybook.log +0 -18
- package/src/stories/SmartFormsRenderer.stories.ts +0 -139
- package/src/stories/assets/QItems-and-QRItems/QR_GTableMedicalHistory.json +0 -80
- package/src/stories/assets/QItems-and-QRItems/Q_GTableMedicalHistory.json +0 -109
- package/src/stories/assets/Qs-and-QRs/Q715.json +0 -15086
- package/src/stories/assets/Qs-and-QRs/QDev715.json +0 -16081
- package/src/stories/assets/Qs-and-QRs/QTestGrid.json +0 -411
- package/src/stories/assets/Qs-and-QRs/R715.json +0 -311
- package/src/stories/assets/Qs-and-QRs/RTestGrid.json +0 -34
|
@@ -1,411 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"resourceType": "Questionnaire",
|
|
3
|
-
"id": "TestGrid",
|
|
4
|
-
"meta": {
|
|
5
|
-
"versionId": "1",
|
|
6
|
-
"lastUpdated": "2023-08-01T02:13:04.050+00:00",
|
|
7
|
-
"source": "#Fs0N63GcYBhMkVP9"
|
|
8
|
-
},
|
|
9
|
-
"url": "http://www.test.com.au/assessments/Grid",
|
|
10
|
-
"version": "0.1.0",
|
|
11
|
-
"name": "Test Grid",
|
|
12
|
-
"title": "Test Grid",
|
|
13
|
-
"status": "active",
|
|
14
|
-
"experimental": true,
|
|
15
|
-
"subjectType": ["Patient"],
|
|
16
|
-
"date": "2023-07-05",
|
|
17
|
-
"publisher": "Test Publisher",
|
|
18
|
-
"contained": [
|
|
19
|
-
{
|
|
20
|
-
"resourceType": "ValueSet",
|
|
21
|
-
"id": "condition-clinical",
|
|
22
|
-
"meta": {
|
|
23
|
-
"profile": ["http://hl7.org/fhir/StructureDefinition/shareablevalueset"]
|
|
24
|
-
},
|
|
25
|
-
"extension": [
|
|
26
|
-
{
|
|
27
|
-
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
|
|
28
|
-
"valueCode": "pc"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
|
|
32
|
-
"valueCode": "trial-use"
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
|
|
36
|
-
"valueInteger": 3
|
|
37
|
-
}
|
|
38
|
-
],
|
|
39
|
-
"url": "http://hl7.org/fhir/ValueSet/condition-clinical",
|
|
40
|
-
"identifier": [
|
|
41
|
-
{
|
|
42
|
-
"system": "urn:ietf:rfc:3986",
|
|
43
|
-
"value": "urn:oid:2.16.840.1.113883.4.642.3.164"
|
|
44
|
-
}
|
|
45
|
-
],
|
|
46
|
-
"version": "4.3.0",
|
|
47
|
-
"name": "ConditionClinicalStatusCodes",
|
|
48
|
-
"title": "Condition Clinical Status Codes",
|
|
49
|
-
"status": "draft",
|
|
50
|
-
"experimental": false,
|
|
51
|
-
"publisher": "FHIR Project team",
|
|
52
|
-
"contact": [
|
|
53
|
-
{
|
|
54
|
-
"telecom": [
|
|
55
|
-
{
|
|
56
|
-
"system": "url",
|
|
57
|
-
"value": "http://hl7.org/fhir"
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
"description": "Preferred value set for Condition Clinical Status.",
|
|
63
|
-
"compose": {
|
|
64
|
-
"include": [
|
|
65
|
-
{
|
|
66
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical"
|
|
67
|
-
}
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
"expansion": {
|
|
71
|
-
"identifier": "5d4bed14-061a-42c4-853d-e6a624c4f483",
|
|
72
|
-
"timestamp": "2022-10-20T09:32:48+10:00",
|
|
73
|
-
"total": 6,
|
|
74
|
-
"offset": 0,
|
|
75
|
-
"parameter": [
|
|
76
|
-
{
|
|
77
|
-
"name": "version",
|
|
78
|
-
"valueUri": "http://terminology.hl7.org/CodeSystem/condition-clinical|4.0.1"
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
"name": "count",
|
|
82
|
-
"valueInteger": 2147483647
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
"name": "offset",
|
|
86
|
-
"valueInteger": 0
|
|
87
|
-
}
|
|
88
|
-
],
|
|
89
|
-
"contains": [
|
|
90
|
-
{
|
|
91
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
|
|
92
|
-
"code": "active",
|
|
93
|
-
"display": "Active"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
|
|
97
|
-
"code": "inactive",
|
|
98
|
-
"display": "Inactive"
|
|
99
|
-
},
|
|
100
|
-
{
|
|
101
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
|
|
102
|
-
"code": "recurrence",
|
|
103
|
-
"display": "Recurrence"
|
|
104
|
-
},
|
|
105
|
-
{
|
|
106
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
|
|
107
|
-
"code": "relapse",
|
|
108
|
-
"display": "Relapse"
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
|
|
112
|
-
"code": "remission",
|
|
113
|
-
"display": "Remission"
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
|
|
117
|
-
"code": "resolved",
|
|
118
|
-
"display": "Resolved"
|
|
119
|
-
}
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
],
|
|
124
|
-
"extension": [
|
|
125
|
-
{
|
|
126
|
-
"url": "http://hl7.org/fhir/StructureDefinition/variable",
|
|
127
|
-
"valueExpression": {
|
|
128
|
-
"name": "Condition",
|
|
129
|
-
"language": "application/x-fhir-query",
|
|
130
|
-
"expression": "Condition?patient={{%patient.id}}"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
|
|
135
|
-
"extension": [
|
|
136
|
-
{
|
|
137
|
-
"url": "name",
|
|
138
|
-
"valueCoding": {
|
|
139
|
-
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
|
|
140
|
-
"code": "patient"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"url": "type",
|
|
145
|
-
"valueCode": "Patient"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"url": "description",
|
|
149
|
-
"valueString": "The patient that is to be used to pre-populate the form"
|
|
150
|
-
}
|
|
151
|
-
]
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext",
|
|
155
|
-
"extension": [
|
|
156
|
-
{
|
|
157
|
-
"url": "name",
|
|
158
|
-
"valueCoding": {
|
|
159
|
-
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
|
|
160
|
-
"code": "user"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"url": "type",
|
|
165
|
-
"valueCode": "Practitioner"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"url": "description",
|
|
169
|
-
"valueString": "The practitioner user that is to be used to pre-populate the form"
|
|
170
|
-
}
|
|
171
|
-
]
|
|
172
|
-
}
|
|
173
|
-
],
|
|
174
|
-
"item": [
|
|
175
|
-
{
|
|
176
|
-
"linkId": "grid",
|
|
177
|
-
"text": "Grid",
|
|
178
|
-
"type": "group",
|
|
179
|
-
"item": [
|
|
180
|
-
{
|
|
181
|
-
"extension": [
|
|
182
|
-
{
|
|
183
|
-
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
|
|
184
|
-
"valueCodeableConcept": {
|
|
185
|
-
"coding": [
|
|
186
|
-
{
|
|
187
|
-
"system": "http://hl7.org/fhir/questionnaire-item-control",
|
|
188
|
-
"version": "1.0.0",
|
|
189
|
-
"code": "grid"
|
|
190
|
-
}
|
|
191
|
-
]
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
],
|
|
195
|
-
"linkId": "1",
|
|
196
|
-
"text": "Limb Observations",
|
|
197
|
-
"type": "group",
|
|
198
|
-
"repeats": false,
|
|
199
|
-
"item": [
|
|
200
|
-
{
|
|
201
|
-
"linkId": "1.1",
|
|
202
|
-
"text": "Colour",
|
|
203
|
-
"type": "group",
|
|
204
|
-
"repeats": false,
|
|
205
|
-
"item": [
|
|
206
|
-
{
|
|
207
|
-
"linkId": "1.1.1",
|
|
208
|
-
"text": "Left limb",
|
|
209
|
-
"type": "string",
|
|
210
|
-
"repeats": false
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"linkId": "1.1.2",
|
|
214
|
-
"text": "Right limb",
|
|
215
|
-
"type": "string",
|
|
216
|
-
"repeats": false
|
|
217
|
-
}
|
|
218
|
-
]
|
|
219
|
-
},
|
|
220
|
-
{
|
|
221
|
-
"linkId": "1.2",
|
|
222
|
-
"text": "Warmth",
|
|
223
|
-
"type": "group",
|
|
224
|
-
"repeats": false,
|
|
225
|
-
"item": [
|
|
226
|
-
{
|
|
227
|
-
"linkId": "1.2.1",
|
|
228
|
-
"text": "Left limb",
|
|
229
|
-
"type": "string",
|
|
230
|
-
"repeats": false
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"linkId": "1.2.2",
|
|
234
|
-
"text": "Right limb",
|
|
235
|
-
"type": "string",
|
|
236
|
-
"repeats": false
|
|
237
|
-
}
|
|
238
|
-
]
|
|
239
|
-
},
|
|
240
|
-
{
|
|
241
|
-
"linkId": "1.3",
|
|
242
|
-
"text": "Pulses (Bounding +++, Normal ++, Diminished +, Absent 0)",
|
|
243
|
-
"type": "group",
|
|
244
|
-
"repeats": false,
|
|
245
|
-
"item": [
|
|
246
|
-
{
|
|
247
|
-
"linkId": "1.3.1",
|
|
248
|
-
"text": "Left limb",
|
|
249
|
-
"type": "string",
|
|
250
|
-
"repeats": false
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"linkId": "1.3.2",
|
|
254
|
-
"text": "Right limb",
|
|
255
|
-
"type": "string",
|
|
256
|
-
"repeats": false
|
|
257
|
-
}
|
|
258
|
-
]
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"linkId": "1.4",
|
|
262
|
-
"text": "Ankle Brachial Index (ABI) (This must be known prior to compression bandaging)",
|
|
263
|
-
"type": "group",
|
|
264
|
-
"repeats": false,
|
|
265
|
-
"item": [
|
|
266
|
-
{
|
|
267
|
-
"linkId": "1.4.1",
|
|
268
|
-
"text": "Left limb",
|
|
269
|
-
"type": "string",
|
|
270
|
-
"repeats": false
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"linkId": "1.4.2",
|
|
274
|
-
"text": "Right limb",
|
|
275
|
-
"type": "string",
|
|
276
|
-
"repeats": false
|
|
277
|
-
}
|
|
278
|
-
]
|
|
279
|
-
}
|
|
280
|
-
]
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"extension": [
|
|
284
|
-
{
|
|
285
|
-
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression",
|
|
286
|
-
"valueExpression": {
|
|
287
|
-
"language": "text/fhirpath",
|
|
288
|
-
"expression": "%addVar1.exists()"
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
],
|
|
292
|
-
"linkId": "2",
|
|
293
|
-
"text": "This item should only be displayed if: (1) addVar1 variable is supplied and (2) Colour in Left Limb has an answer",
|
|
294
|
-
"type": "display",
|
|
295
|
-
"repeats": false
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"extension": [
|
|
299
|
-
{
|
|
300
|
-
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
301
|
-
"valueExpression": {
|
|
302
|
-
"language": "text/fhirpath",
|
|
303
|
-
"expression": "(%patient.name.where(use='official').select((family | (given | prefix).join(' ')).join(', ') | text) | %patient.name.select((family | (given | prefix).join(' ')).join(', ') | text)).first()"
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
],
|
|
307
|
-
"linkId": "3",
|
|
308
|
-
"text": "Patient's name",
|
|
309
|
-
"type": "string",
|
|
310
|
-
"repeats": false
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"extension": [
|
|
314
|
-
{
|
|
315
|
-
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
316
|
-
"valueExpression": {
|
|
317
|
-
"language": "text/fhirpath",
|
|
318
|
-
"expression": "(%user.name.where(use='official').select((family | (given | prefix).join(' ')).join(', ') | text) | %patient.name.select((family | (given | prefix).join(' ')).join(', ') | text)).first()"
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
],
|
|
322
|
-
"linkId": "4",
|
|
323
|
-
"text": "User's name",
|
|
324
|
-
"type": "string",
|
|
325
|
-
"repeats": false
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"extension": [
|
|
329
|
-
{
|
|
330
|
-
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
|
|
331
|
-
"valueCodeableConcept": {
|
|
332
|
-
"coding": [
|
|
333
|
-
{
|
|
334
|
-
"system": "http://hl7.org/fhir/questionnaire-item-control",
|
|
335
|
-
"code": "gtable"
|
|
336
|
-
}
|
|
337
|
-
]
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext",
|
|
342
|
-
"valueExpression": {
|
|
343
|
-
"name": "ConditionRepeat",
|
|
344
|
-
"language": "text/fhirpath",
|
|
345
|
-
"expression": "%Condition.entry.resource"
|
|
346
|
-
}
|
|
347
|
-
}
|
|
348
|
-
],
|
|
349
|
-
"linkId": "6",
|
|
350
|
-
"text": "Medical history and current problems list",
|
|
351
|
-
"type": "group",
|
|
352
|
-
"repeats": true,
|
|
353
|
-
"item": [
|
|
354
|
-
{
|
|
355
|
-
"extension": [
|
|
356
|
-
{
|
|
357
|
-
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
|
|
358
|
-
"valueCodeableConcept": {
|
|
359
|
-
"coding": [
|
|
360
|
-
{
|
|
361
|
-
"system": "http://hl7.org/fhir/questionnaire-item-control",
|
|
362
|
-
"code": "autocomplete"
|
|
363
|
-
}
|
|
364
|
-
]
|
|
365
|
-
}
|
|
366
|
-
},
|
|
367
|
-
{
|
|
368
|
-
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
369
|
-
"valueExpression": {
|
|
370
|
-
"language": "text/fhirpath",
|
|
371
|
-
"expression": "%ConditionRepeat.code.select((coding.where(system='http://snomed.info/sct') | coding.where(system!='http://snomed.info/sct').first() | text ).first())"
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
],
|
|
375
|
-
"linkId": "59b1900a-4f85-4a8c-b9cd-3fe2fd76f27e",
|
|
376
|
-
"text": "Condition",
|
|
377
|
-
"type": "open-choice",
|
|
378
|
-
"answerValueSet": "https://smartforms.csiro.au/ig/ValueSet/MedicalHistory"
|
|
379
|
-
},
|
|
380
|
-
{
|
|
381
|
-
"extension": [
|
|
382
|
-
{
|
|
383
|
-
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
|
|
384
|
-
"valueCodeableConcept": {
|
|
385
|
-
"coding": [
|
|
386
|
-
{
|
|
387
|
-
"system": "http://hl7.org/fhir/questionnaire-item-control",
|
|
388
|
-
"code": "drop-down"
|
|
389
|
-
}
|
|
390
|
-
]
|
|
391
|
-
}
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression",
|
|
395
|
-
"valueExpression": {
|
|
396
|
-
"language": "text/fhirpath",
|
|
397
|
-
"expression": "%ConditionRepeat.clinicalStatus.coding"
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
],
|
|
401
|
-
"linkId": "88bcfad7-386b-4d87-b34b-2e50482e4d2c",
|
|
402
|
-
"text": "Clinical Status",
|
|
403
|
-
"type": "choice",
|
|
404
|
-
"answerValueSet": "#condition-clinical"
|
|
405
|
-
}
|
|
406
|
-
]
|
|
407
|
-
}
|
|
408
|
-
]
|
|
409
|
-
}
|
|
410
|
-
]
|
|
411
|
-
}
|