@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
|
@@ -0,0 +1,1271 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Commonwealth Scientific and Industrial Research
|
|
3
|
+
* Organisation (CSIRO) ABN 41 687 119 230.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
import type { Questionnaire } from 'fhir/r4';
|
|
19
|
+
|
|
20
|
+
export const qOpenChoiceAutocomplete: Questionnaire = {
|
|
21
|
+
resourceType: 'Questionnaire',
|
|
22
|
+
id: 'OpenChoiceAutocomplete',
|
|
23
|
+
name: 'OpenChoiceAutocomplete',
|
|
24
|
+
title: 'Open-choice Autocomplete',
|
|
25
|
+
version: '0.1.0',
|
|
26
|
+
status: 'draft',
|
|
27
|
+
publisher: 'AEHRC CSIRO',
|
|
28
|
+
date: '2024-05-01',
|
|
29
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/open-choice-autocomplete',
|
|
30
|
+
contained: [
|
|
31
|
+
{
|
|
32
|
+
resourceType: 'ValueSet',
|
|
33
|
+
id: 'MedicalHistory',
|
|
34
|
+
url: 'https://smartforms.csiro.au/ig/ValueSet/MedicalHistory',
|
|
35
|
+
name: 'MedicalHistory',
|
|
36
|
+
title: 'Medical History',
|
|
37
|
+
status: 'draft',
|
|
38
|
+
experimental: false,
|
|
39
|
+
description:
|
|
40
|
+
'The Medical History value set includes values that may be used to represent medical history, operations and hospital admissions.',
|
|
41
|
+
compose: {
|
|
42
|
+
include: [
|
|
43
|
+
{
|
|
44
|
+
system: 'http://snomed.info/sct',
|
|
45
|
+
filter: [
|
|
46
|
+
{
|
|
47
|
+
property: 'constraint',
|
|
48
|
+
op: '=',
|
|
49
|
+
value:
|
|
50
|
+
'^32570581000036105|Problem/Diagnosis reference set| OR ^32570141000036105|Procedure foundation reference set|'
|
|
51
|
+
}
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
item: [
|
|
59
|
+
{
|
|
60
|
+
extension: [
|
|
61
|
+
{
|
|
62
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
63
|
+
valueCodeableConcept: {
|
|
64
|
+
coding: [
|
|
65
|
+
{
|
|
66
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
67
|
+
code: 'autocomplete'
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
linkId: 'medical-history-condition',
|
|
74
|
+
text: 'Medical History Condition',
|
|
75
|
+
type: 'open-choice',
|
|
76
|
+
answerValueSet: '#MedicalHistory'
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export const qChoiceDropDownAnswerOption: Questionnaire = {
|
|
82
|
+
resourceType: 'Questionnaire',
|
|
83
|
+
id: 'ChoiceDropDownAO',
|
|
84
|
+
name: 'ChoiceDropDownAO',
|
|
85
|
+
title: 'Choice DropDown - Answer Option',
|
|
86
|
+
version: '0.1.0',
|
|
87
|
+
status: 'draft',
|
|
88
|
+
publisher: 'AEHRC CSIRO',
|
|
89
|
+
date: '2024-05-01',
|
|
90
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/choice-drop-down-ao',
|
|
91
|
+
item: [
|
|
92
|
+
{
|
|
93
|
+
extension: [
|
|
94
|
+
{
|
|
95
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
96
|
+
valueCodeableConcept: {
|
|
97
|
+
coding: [
|
|
98
|
+
{
|
|
99
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
100
|
+
code: 'drop-down'
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
linkId: 'smoking-status',
|
|
107
|
+
text: 'Smoking status',
|
|
108
|
+
type: 'choice',
|
|
109
|
+
repeats: false,
|
|
110
|
+
answerOption: [
|
|
111
|
+
{
|
|
112
|
+
valueCoding: {
|
|
113
|
+
system: 'http://snomed.info/sct',
|
|
114
|
+
code: '266919005',
|
|
115
|
+
display: 'Never smoked'
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
valueCoding: {
|
|
120
|
+
system: 'http://snomed.info/sct',
|
|
121
|
+
code: '77176002',
|
|
122
|
+
display: 'Smoker'
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
valueCoding: {
|
|
127
|
+
system: 'http://snomed.info/sct',
|
|
128
|
+
code: '8517006',
|
|
129
|
+
display: 'Ex-smoker'
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
valueCoding: {
|
|
134
|
+
system: 'http://snomed.info/sct',
|
|
135
|
+
code: '16090371000119103',
|
|
136
|
+
display: 'Exposure to second hand tobacco smoke'
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
valueString: 'Wants to quit'
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
valueString: 'Other tobacco use'
|
|
144
|
+
}
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
]
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
export const qChoiceDropDownAnswerValueSet: Questionnaire = {
|
|
151
|
+
resourceType: 'Questionnaire',
|
|
152
|
+
id: 'ChoiceDropDownAVS',
|
|
153
|
+
name: 'ChoiceDropDownAVS',
|
|
154
|
+
title: 'Choice DropDown - Answer Value Set',
|
|
155
|
+
version: '0.1.0',
|
|
156
|
+
status: 'draft',
|
|
157
|
+
publisher: 'AEHRC CSIRO',
|
|
158
|
+
date: '2024-05-01',
|
|
159
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/choice-drop-down-avs',
|
|
160
|
+
contained: [
|
|
161
|
+
{
|
|
162
|
+
resourceType: 'ValueSet',
|
|
163
|
+
id: 'australian-pronouns-1',
|
|
164
|
+
url: 'https://healthterminologies.gov.au/fhir/ValueSet/australian-pronouns-1',
|
|
165
|
+
identifier: [
|
|
166
|
+
{
|
|
167
|
+
system: 'urn:ietf:rfc:3986',
|
|
168
|
+
value: 'urn:oid:1.2.36.1.2001.1004.201.10284'
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
version: '1.0.0',
|
|
172
|
+
name: 'AustralianPronouns',
|
|
173
|
+
title: 'Australian Pronouns',
|
|
174
|
+
status: 'active',
|
|
175
|
+
experimental: false,
|
|
176
|
+
description:
|
|
177
|
+
'The Australian Pronouns value set includes values that indicate the pronouns to be used when communicating with or about an individual.',
|
|
178
|
+
copyright:
|
|
179
|
+
'Copyright © 2024 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis material contains content from LOINC (http://loinc.org). LOINC is copyright 1995-2024, Regenstrief Institute, Inc. and the Logical Observation Identifiers Names and Codes (LOINC) Committee and is available at no cost under the license at http://loinc.org/license. LOINC® is a registered United States trademark of Regenstrief Institute, Inc.\n\nThis material contains information which is protected by copyright. You may download, display, print and reproduce any material for your personal, non-commercial use or use within your organisation subject to the following terms and conditions: \n\nThis resource also includes all or a portion of material from the HL7 Terminology (THO). THO is copyright ©1989+ Health Level Seven International and is made available under the CC0 designation. For more licensing information see: https://terminology.hl7.org/license.',
|
|
180
|
+
compose: {
|
|
181
|
+
include: [
|
|
182
|
+
{
|
|
183
|
+
system: 'http://loinc.org',
|
|
184
|
+
concept: [
|
|
185
|
+
{
|
|
186
|
+
code: 'LA29518-0',
|
|
187
|
+
display: 'he/him/his/his/himself'
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
code: 'LA29519-8',
|
|
191
|
+
display: 'she/her/her/hers/herself'
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
code: 'LA29520-6',
|
|
195
|
+
display: 'they/them/their/theirs/themselves'
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason',
|
|
201
|
+
concept: [
|
|
202
|
+
{
|
|
203
|
+
code: 'unknown'
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
code: 'asked-declined'
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
code: 'not-asked'
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
code: 'asked-unknown'
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
]
|
|
217
|
+
},
|
|
218
|
+
expansion: {
|
|
219
|
+
identifier: 'urn:uuid:ca145c1c-4915-4957-888a-39e69de8b1ad',
|
|
220
|
+
timestamp: '2024-04-02T14:25:01+10:00',
|
|
221
|
+
total: 7,
|
|
222
|
+
parameter: [
|
|
223
|
+
{
|
|
224
|
+
name: 'version',
|
|
225
|
+
valueUri: 'http://loinc.org|2.77'
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
name: 'used-codesystem',
|
|
229
|
+
valueUri: 'http://loinc.org|2.77'
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
name: 'version',
|
|
233
|
+
valueUri: 'http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot'
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
name: 'used-codesystem',
|
|
237
|
+
valueUri: 'http://terminology.hl7.org/CodeSystem/data-absent-reason|5.0.0-ballot'
|
|
238
|
+
}
|
|
239
|
+
],
|
|
240
|
+
contains: [
|
|
241
|
+
{
|
|
242
|
+
system: 'http://loinc.org',
|
|
243
|
+
version: '2.77',
|
|
244
|
+
code: 'LA29518-0',
|
|
245
|
+
display: 'he/him/his/his/himself'
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
system: 'http://loinc.org',
|
|
249
|
+
version: '2.77',
|
|
250
|
+
code: 'LA29519-8',
|
|
251
|
+
display: 'she/her/her/hers/herself'
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
system: 'http://loinc.org',
|
|
255
|
+
version: '2.77',
|
|
256
|
+
code: 'LA29520-6',
|
|
257
|
+
display: 'they/them/their/theirs/themselves'
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason',
|
|
261
|
+
version: '5.0.0-ballot',
|
|
262
|
+
code: 'asked-declined',
|
|
263
|
+
display: 'Asked But Declined'
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason',
|
|
267
|
+
version: '5.0.0-ballot',
|
|
268
|
+
code: 'asked-unknown',
|
|
269
|
+
display: 'Asked But Unknown'
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason',
|
|
273
|
+
version: '5.0.0-ballot',
|
|
274
|
+
code: 'not-asked',
|
|
275
|
+
display: 'Not Asked'
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason',
|
|
279
|
+
version: '5.0.0-ballot',
|
|
280
|
+
code: 'unknown',
|
|
281
|
+
display: 'Unknown'
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
item: [
|
|
288
|
+
{
|
|
289
|
+
extension: [
|
|
290
|
+
{
|
|
291
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
292
|
+
valueCodeableConcept: {
|
|
293
|
+
coding: [
|
|
294
|
+
{
|
|
295
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
296
|
+
code: 'drop-down'
|
|
297
|
+
}
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
],
|
|
302
|
+
linkId: 'preferred-pronouns',
|
|
303
|
+
text: 'Preferred pronouns',
|
|
304
|
+
type: 'choice',
|
|
305
|
+
answerValueSet: '#australian-pronouns-1'
|
|
306
|
+
}
|
|
307
|
+
]
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
export const qChoiceCheckboxAnswerOption: Questionnaire = {
|
|
311
|
+
resourceType: 'Questionnaire',
|
|
312
|
+
id: 'ChoiceCheckboxAO',
|
|
313
|
+
name: 'ChoiceCheckboxAO',
|
|
314
|
+
title: 'Choice Checkbox - Answer Option',
|
|
315
|
+
version: '0.1.0',
|
|
316
|
+
status: 'draft',
|
|
317
|
+
publisher: 'AEHRC CSIRO',
|
|
318
|
+
date: '2024-05-01',
|
|
319
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/choice-checkbox-ao',
|
|
320
|
+
item: [
|
|
321
|
+
{
|
|
322
|
+
extension: [
|
|
323
|
+
{
|
|
324
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
325
|
+
valueCodeableConcept: {
|
|
326
|
+
coding: [
|
|
327
|
+
{
|
|
328
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
329
|
+
code: 'check-box'
|
|
330
|
+
}
|
|
331
|
+
]
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
],
|
|
335
|
+
linkId: 'red-flags-any-age-single',
|
|
336
|
+
text: 'Red flags at any age (single-select)',
|
|
337
|
+
type: 'choice',
|
|
338
|
+
repeats: false,
|
|
339
|
+
answerOption: [
|
|
340
|
+
{
|
|
341
|
+
valueString: 'Strong parental concerns'
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
valueString: 'Significant loss of skills'
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
valueString: 'Lack of response to sound or visual stimuli'
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
valueString: 'Poor interaction with adults or other children'
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
valueString: 'Lack of, or limited eye contact'
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
valueString:
|
|
357
|
+
'Differences between right and left sides of body in strength, movement or tone'
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
valueString:
|
|
361
|
+
'Marked low tone (floppy) or high tone (stiff and tense) and significantly impacting on development and functional motor skills'
|
|
362
|
+
}
|
|
363
|
+
]
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
extension: [
|
|
367
|
+
{
|
|
368
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
369
|
+
valueCodeableConcept: {
|
|
370
|
+
coding: [
|
|
371
|
+
{
|
|
372
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
373
|
+
code: 'check-box'
|
|
374
|
+
}
|
|
375
|
+
]
|
|
376
|
+
}
|
|
377
|
+
}
|
|
378
|
+
],
|
|
379
|
+
linkId: 'red-flags-any-age-multi',
|
|
380
|
+
text: 'Red flags at any age (multi-select)',
|
|
381
|
+
type: 'choice',
|
|
382
|
+
repeats: true,
|
|
383
|
+
answerOption: [
|
|
384
|
+
{
|
|
385
|
+
valueString: 'Strong parental concerns'
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
valueString: 'Significant loss of skills'
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
valueString: 'Lack of response to sound or visual stimuli'
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
valueString: 'Poor interaction with adults or other children'
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
valueString: 'Lack of, or limited eye contact'
|
|
398
|
+
},
|
|
399
|
+
{
|
|
400
|
+
valueString:
|
|
401
|
+
'Differences between right and left sides of body in strength, movement or tone'
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
valueString:
|
|
405
|
+
'Marked low tone (floppy) or high tone (stiff and tense) and significantly impacting on development and functional motor skills'
|
|
406
|
+
}
|
|
407
|
+
]
|
|
408
|
+
}
|
|
409
|
+
]
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
export const qChoiceCheckboxAnswerValueSet: Questionnaire = {
|
|
413
|
+
resourceType: 'Questionnaire',
|
|
414
|
+
id: 'ChoiceCheckboxAVS',
|
|
415
|
+
name: 'ChoiceCheckboxAVS',
|
|
416
|
+
title: 'Choice Checkbox - Answer Value Set',
|
|
417
|
+
version: '0.1.0',
|
|
418
|
+
status: 'draft',
|
|
419
|
+
publisher: 'AEHRC CSIRO',
|
|
420
|
+
date: '2024-05-01',
|
|
421
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/choice-checkbox-avs',
|
|
422
|
+
contained: [
|
|
423
|
+
{
|
|
424
|
+
resourceType: 'ValueSet',
|
|
425
|
+
id: 'PrimaryCarerParentGrandparent',
|
|
426
|
+
url: 'https://smartforms.csiro.au/ig/ValueSet/PrimaryCarerParentGrandparent',
|
|
427
|
+
name: 'PrimaryCarerParentGrandparent',
|
|
428
|
+
title: 'Primary Carer Of Parent Or Grandparent',
|
|
429
|
+
status: 'draft',
|
|
430
|
+
experimental: false,
|
|
431
|
+
description:
|
|
432
|
+
'The Primary Carer Of Parent Or Grandparent value set includes values that can indicate whether a primary carer is one of the parents or a grandparent.',
|
|
433
|
+
compose: {
|
|
434
|
+
include: [
|
|
435
|
+
{
|
|
436
|
+
system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode',
|
|
437
|
+
concept: [
|
|
438
|
+
{
|
|
439
|
+
code: 'MTH'
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
code: 'FTH'
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
code: 'GRPRN'
|
|
446
|
+
}
|
|
447
|
+
]
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
system: 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor',
|
|
451
|
+
concept: [
|
|
452
|
+
{
|
|
453
|
+
code: 'NA'
|
|
454
|
+
}
|
|
455
|
+
]
|
|
456
|
+
}
|
|
457
|
+
]
|
|
458
|
+
},
|
|
459
|
+
expansion: {
|
|
460
|
+
identifier: '2809c2fa-28ec-4def-9b16-93a611d29da3',
|
|
461
|
+
timestamp: '2022-10-20T11:42:30+10:00',
|
|
462
|
+
total: 4,
|
|
463
|
+
offset: 0,
|
|
464
|
+
parameter: [
|
|
465
|
+
{
|
|
466
|
+
name: 'version',
|
|
467
|
+
valueUri: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode|2018-08-12'
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
name: 'version',
|
|
471
|
+
valueUri: 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor|2018-08-12'
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
name: 'count',
|
|
475
|
+
valueInteger: 2147483647
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
name: 'offset',
|
|
479
|
+
valueInteger: 0
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
contains: [
|
|
483
|
+
{
|
|
484
|
+
system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode',
|
|
485
|
+
version: '2018-08-12',
|
|
486
|
+
code: 'MTH',
|
|
487
|
+
display: 'Mother'
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode',
|
|
491
|
+
version: '2018-08-12',
|
|
492
|
+
code: 'FTH',
|
|
493
|
+
display: 'Father'
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
system: 'http://terminology.hl7.org/CodeSystem/v3-RoleCode',
|
|
497
|
+
version: '2018-08-12',
|
|
498
|
+
code: 'GRPRN',
|
|
499
|
+
display: 'Grandparent'
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
system: 'http://terminology.hl7.org/CodeSystem/v3-NullFlavor',
|
|
503
|
+
version: '2018-08-12',
|
|
504
|
+
code: 'NA',
|
|
505
|
+
display: 'N/A'
|
|
506
|
+
}
|
|
507
|
+
]
|
|
508
|
+
}
|
|
509
|
+
},
|
|
510
|
+
{
|
|
511
|
+
resourceType: 'ValueSet',
|
|
512
|
+
id: 'administrative-gender',
|
|
513
|
+
meta: {
|
|
514
|
+
profile: ['http://hl7.org/fhir/StructureDefinition/shareablevalueset']
|
|
515
|
+
},
|
|
516
|
+
extension: [
|
|
517
|
+
{
|
|
518
|
+
url: 'http://hl7.org/fhir/StructureDefinition/structuredefinition-wg',
|
|
519
|
+
valueCode: 'pa'
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
url: 'http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status',
|
|
523
|
+
valueCode: 'normative'
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
url: 'http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm',
|
|
527
|
+
valueInteger: 5
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
url: 'http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version',
|
|
531
|
+
valueCode: '4.0.0'
|
|
532
|
+
}
|
|
533
|
+
],
|
|
534
|
+
url: 'http://hl7.org/fhir/ValueSet/administrative-gender',
|
|
535
|
+
identifier: [
|
|
536
|
+
{
|
|
537
|
+
system: 'urn:ietf:rfc:3986',
|
|
538
|
+
value: 'urn:oid:2.16.840.1.113883.4.642.3.1'
|
|
539
|
+
}
|
|
540
|
+
],
|
|
541
|
+
version: '4.0.1',
|
|
542
|
+
name: 'AdministrativeGender',
|
|
543
|
+
title: 'AdministrativeGender',
|
|
544
|
+
status: 'active',
|
|
545
|
+
experimental: false,
|
|
546
|
+
date: '2019-11-01T09:29:23+11:00',
|
|
547
|
+
publisher: 'HL7 (FHIR Project)',
|
|
548
|
+
contact: [
|
|
549
|
+
{
|
|
550
|
+
telecom: [
|
|
551
|
+
{
|
|
552
|
+
system: 'url',
|
|
553
|
+
value: 'http://hl7.org/fhir'
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
system: 'email',
|
|
557
|
+
value: 'fhir@lists.hl7.org'
|
|
558
|
+
}
|
|
559
|
+
]
|
|
560
|
+
}
|
|
561
|
+
]
|
|
562
|
+
}
|
|
563
|
+
],
|
|
564
|
+
item: [
|
|
565
|
+
{
|
|
566
|
+
extension: [
|
|
567
|
+
{
|
|
568
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
569
|
+
valueCodeableConcept: {
|
|
570
|
+
coding: [
|
|
571
|
+
{
|
|
572
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
573
|
+
code: 'check-box'
|
|
574
|
+
}
|
|
575
|
+
]
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
],
|
|
579
|
+
linkId: 'primary-carers-single',
|
|
580
|
+
text: 'Primary carers (single-select)',
|
|
581
|
+
type: 'choice',
|
|
582
|
+
repeats: false,
|
|
583
|
+
answerValueSet: '#PrimaryCarerParentGrandparent'
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
extension: [
|
|
587
|
+
{
|
|
588
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
589
|
+
valueCodeableConcept: {
|
|
590
|
+
coding: [
|
|
591
|
+
{
|
|
592
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
593
|
+
code: 'check-box'
|
|
594
|
+
}
|
|
595
|
+
]
|
|
596
|
+
}
|
|
597
|
+
}
|
|
598
|
+
],
|
|
599
|
+
linkId: 'primary-carers-repeat',
|
|
600
|
+
text: 'Primary carers (multi-select)',
|
|
601
|
+
type: 'choice',
|
|
602
|
+
repeats: true,
|
|
603
|
+
answerValueSet: '#PrimaryCarerParentGrandparent'
|
|
604
|
+
}
|
|
605
|
+
]
|
|
606
|
+
};
|
|
607
|
+
|
|
608
|
+
export const qOpenChoiceCheckboxAnswerOption: Questionnaire = {
|
|
609
|
+
resourceType: 'Questionnaire',
|
|
610
|
+
id: 'OpenChoiceCheckboxAO',
|
|
611
|
+
name: 'OpenChoiceCheckboxAO',
|
|
612
|
+
title: 'Open-choice Checkbox AO',
|
|
613
|
+
version: '0.1.0',
|
|
614
|
+
status: 'draft',
|
|
615
|
+
publisher: 'AEHRC CSIRO',
|
|
616
|
+
date: '2024-05-01',
|
|
617
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/open-choice-checkbox-ao',
|
|
618
|
+
item: [
|
|
619
|
+
{
|
|
620
|
+
extension: [
|
|
621
|
+
{
|
|
622
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
623
|
+
valueCodeableConcept: {
|
|
624
|
+
coding: [
|
|
625
|
+
{
|
|
626
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
627
|
+
code: 'check-box'
|
|
628
|
+
}
|
|
629
|
+
]
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel',
|
|
634
|
+
valueString: 'Other, please specify'
|
|
635
|
+
}
|
|
636
|
+
],
|
|
637
|
+
linkId: 'otoscopic-findings-left-single',
|
|
638
|
+
text: 'Otoscopy findings - left ear (single-select)',
|
|
639
|
+
type: 'open-choice',
|
|
640
|
+
repeats: false,
|
|
641
|
+
answerOption: [
|
|
642
|
+
{
|
|
643
|
+
valueString: 'Clear and intact'
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
valueString: 'Dull and intact'
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
valueString: 'Discharge'
|
|
650
|
+
},
|
|
651
|
+
{
|
|
652
|
+
valueString: 'Retracted'
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
valueString: 'Unable to view eardrum'
|
|
656
|
+
},
|
|
657
|
+
{
|
|
658
|
+
valueString: 'Wax'
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
valueString: 'Grommet in canal'
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
valueString: 'Grommet in eardrum'
|
|
665
|
+
},
|
|
666
|
+
{
|
|
667
|
+
valueString: 'Perforation'
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
valueString: 'Red/bulging'
|
|
671
|
+
}
|
|
672
|
+
]
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
extension: [
|
|
676
|
+
{
|
|
677
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
678
|
+
valueCodeableConcept: {
|
|
679
|
+
coding: [
|
|
680
|
+
{
|
|
681
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
682
|
+
code: 'check-box'
|
|
683
|
+
}
|
|
684
|
+
]
|
|
685
|
+
}
|
|
686
|
+
},
|
|
687
|
+
{
|
|
688
|
+
url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel',
|
|
689
|
+
valueString: 'Other, please specify'
|
|
690
|
+
}
|
|
691
|
+
],
|
|
692
|
+
linkId: 'otoscopic-findings-left-multi',
|
|
693
|
+
text: 'Otoscopy findings - left ear (multi-select)',
|
|
694
|
+
type: 'open-choice',
|
|
695
|
+
repeats: true,
|
|
696
|
+
answerOption: [
|
|
697
|
+
{
|
|
698
|
+
valueString: 'Clear and intact'
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
valueString: 'Dull and intact'
|
|
702
|
+
},
|
|
703
|
+
{
|
|
704
|
+
valueString: 'Discharge'
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
valueString: 'Retracted'
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
valueString: 'Unable to view eardrum'
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
valueString: 'Wax'
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
valueString: 'Grommet in canal'
|
|
717
|
+
},
|
|
718
|
+
{
|
|
719
|
+
valueString: 'Grommet in eardrum'
|
|
720
|
+
},
|
|
721
|
+
{
|
|
722
|
+
valueString: 'Perforation'
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
valueString: 'Red/bulging'
|
|
726
|
+
}
|
|
727
|
+
]
|
|
728
|
+
}
|
|
729
|
+
]
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
export const qOpenChoiceCheckboxAnswerValueSet: Questionnaire = {
|
|
733
|
+
resourceType: 'Questionnaire',
|
|
734
|
+
id: 'OpenChoiceCheckboxAVS',
|
|
735
|
+
name: 'OpenChoiceCheckboxAVS',
|
|
736
|
+
title: 'Open Choice Checkbox - Answer Value Set',
|
|
737
|
+
version: '0.1.0',
|
|
738
|
+
status: 'draft',
|
|
739
|
+
publisher: 'AEHRC CSIRO',
|
|
740
|
+
date: '2024-05-01',
|
|
741
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/open-choice-checkbox-avs',
|
|
742
|
+
contained: [
|
|
743
|
+
{
|
|
744
|
+
resourceType: 'ValueSet',
|
|
745
|
+
id: 'australian-states-territories-2',
|
|
746
|
+
meta: {
|
|
747
|
+
profile: [
|
|
748
|
+
'http://hl7.org/fhir/StructureDefinition/shareablevalueset',
|
|
749
|
+
'https://healthterminologies.gov.au/fhir/StructureDefinition/composed-value-set-4'
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
url: 'https://healthterminologies.gov.au/fhir/ValueSet/australian-states-territories-2',
|
|
753
|
+
identifier: [
|
|
754
|
+
{
|
|
755
|
+
system: 'urn:ietf:rfc:3986',
|
|
756
|
+
value: 'urn:oid:1.2.36.1.2001.1004.201.10026'
|
|
757
|
+
}
|
|
758
|
+
],
|
|
759
|
+
version: '2.0.2',
|
|
760
|
+
name: 'AustralianStatesAndTerritories',
|
|
761
|
+
title: 'Australian States and Territories',
|
|
762
|
+
status: 'active',
|
|
763
|
+
experimental: false,
|
|
764
|
+
date: '2020-05-31',
|
|
765
|
+
publisher: 'Australian Digital Health Agency',
|
|
766
|
+
contact: [
|
|
767
|
+
{
|
|
768
|
+
telecom: [
|
|
769
|
+
{
|
|
770
|
+
system: 'email',
|
|
771
|
+
value: 'help@digitalhealth.gov.au'
|
|
772
|
+
}
|
|
773
|
+
]
|
|
774
|
+
}
|
|
775
|
+
],
|
|
776
|
+
description:
|
|
777
|
+
'The Australian States and Territories value set includes values that represent the Australian states and territories.',
|
|
778
|
+
copyright:
|
|
779
|
+
'Copyright © 2018 Australian Digital Health Agency - All rights reserved. Except for the material identified below, this content is licensed under a Creative Commons Attribution 4.0 International License. See https://creativecommons.org/licenses/by/4.0/. \n\nThis resource includes material that is based on Australian Institute of Health and Welfare material. \n\nAll copies of this resource must include this copyright statement and all information contained in this statement.',
|
|
780
|
+
compose: {
|
|
781
|
+
include: [
|
|
782
|
+
{
|
|
783
|
+
system:
|
|
784
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
785
|
+
concept: [
|
|
786
|
+
{
|
|
787
|
+
code: 'ACT'
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
code: 'NSW'
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
code: 'NT'
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
code: 'OTHER'
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
code: 'QLD'
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
code: 'SA'
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
code: 'TAS'
|
|
806
|
+
},
|
|
807
|
+
{
|
|
808
|
+
code: 'VIC'
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
code: 'WA'
|
|
812
|
+
}
|
|
813
|
+
]
|
|
814
|
+
}
|
|
815
|
+
]
|
|
816
|
+
},
|
|
817
|
+
expansion: {
|
|
818
|
+
identifier: 'e9439195-c1d8-4069-a349-98c1d552a351',
|
|
819
|
+
timestamp: '2023-06-20T04:20:58+00:00',
|
|
820
|
+
total: 9,
|
|
821
|
+
offset: 0,
|
|
822
|
+
parameter: [
|
|
823
|
+
{
|
|
824
|
+
name: 'version',
|
|
825
|
+
valueUri:
|
|
826
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1|1.1.3'
|
|
827
|
+
},
|
|
828
|
+
{
|
|
829
|
+
name: 'count',
|
|
830
|
+
valueInteger: 2147483647
|
|
831
|
+
},
|
|
832
|
+
{
|
|
833
|
+
name: 'offset',
|
|
834
|
+
valueInteger: 0
|
|
835
|
+
}
|
|
836
|
+
],
|
|
837
|
+
contains: [
|
|
838
|
+
{
|
|
839
|
+
system:
|
|
840
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
841
|
+
code: 'ACT',
|
|
842
|
+
display: 'Australian Capital Territory'
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
system:
|
|
846
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
847
|
+
code: 'NSW',
|
|
848
|
+
display: 'New South Wales'
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
system:
|
|
852
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
853
|
+
code: 'NT',
|
|
854
|
+
display: 'Northern Territory'
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
system:
|
|
858
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
859
|
+
code: 'OTHER',
|
|
860
|
+
display: 'Other territories'
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
system:
|
|
864
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
865
|
+
code: 'QLD',
|
|
866
|
+
display: 'Queensland'
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
system:
|
|
870
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
871
|
+
code: 'SA',
|
|
872
|
+
display: 'South Australia'
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
system:
|
|
876
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
877
|
+
code: 'TAS',
|
|
878
|
+
display: 'Tasmania'
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
system:
|
|
882
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
883
|
+
code: 'VIC',
|
|
884
|
+
display: 'Victoria'
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
system:
|
|
888
|
+
'https://healthterminologies.gov.au/fhir/CodeSystem/australian-states-territories-1',
|
|
889
|
+
code: 'WA',
|
|
890
|
+
display: 'Western Australia'
|
|
891
|
+
}
|
|
892
|
+
]
|
|
893
|
+
}
|
|
894
|
+
}
|
|
895
|
+
],
|
|
896
|
+
item: [
|
|
897
|
+
{
|
|
898
|
+
extension: [
|
|
899
|
+
{
|
|
900
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
901
|
+
valueCodeableConcept: {
|
|
902
|
+
coding: [
|
|
903
|
+
{
|
|
904
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
905
|
+
code: 'check-box'
|
|
906
|
+
}
|
|
907
|
+
]
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel',
|
|
912
|
+
valueString: 'Overseas state, please specify'
|
|
913
|
+
}
|
|
914
|
+
],
|
|
915
|
+
linkId: 'state-single',
|
|
916
|
+
text: 'State (single-selection)',
|
|
917
|
+
type: 'open-choice',
|
|
918
|
+
repeats: false,
|
|
919
|
+
answerValueSet: '#australian-states-territories-2'
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
extension: [
|
|
923
|
+
{
|
|
924
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
925
|
+
valueCodeableConcept: {
|
|
926
|
+
coding: [
|
|
927
|
+
{
|
|
928
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
929
|
+
code: 'check-box'
|
|
930
|
+
}
|
|
931
|
+
]
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel',
|
|
936
|
+
valueString: 'Overseas state, please specify'
|
|
937
|
+
}
|
|
938
|
+
],
|
|
939
|
+
linkId: 'state-multi',
|
|
940
|
+
text: 'State (multi-selection)',
|
|
941
|
+
type: 'open-choice',
|
|
942
|
+
repeats: true,
|
|
943
|
+
answerValueSet: '#australian-states-territories-2'
|
|
944
|
+
}
|
|
945
|
+
]
|
|
946
|
+
};
|
|
947
|
+
|
|
948
|
+
export const qChoiceRadioAnswerOption: Questionnaire = {
|
|
949
|
+
resourceType: 'Questionnaire',
|
|
950
|
+
id: 'ChoiceRadioAO',
|
|
951
|
+
name: 'ChoiceRadioAO',
|
|
952
|
+
title: 'Choice Radio - Answer Option',
|
|
953
|
+
version: '0.1.0',
|
|
954
|
+
status: 'draft',
|
|
955
|
+
publisher: 'AEHRC CSIRO',
|
|
956
|
+
date: '2024-05-01',
|
|
957
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/choice-radio-ao',
|
|
958
|
+
item: [
|
|
959
|
+
{
|
|
960
|
+
extension: [
|
|
961
|
+
{
|
|
962
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
963
|
+
valueCodeableConcept: {
|
|
964
|
+
coding: [
|
|
965
|
+
{
|
|
966
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
967
|
+
code: 'radio-button'
|
|
968
|
+
}
|
|
969
|
+
]
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
linkId: 'puberty-worries',
|
|
974
|
+
text: 'Is there anything that you are worried about in relation to puberty/your sexual health?',
|
|
975
|
+
type: 'choice',
|
|
976
|
+
repeats: false,
|
|
977
|
+
answerOption: [
|
|
978
|
+
{
|
|
979
|
+
valueCoding: {
|
|
980
|
+
system: 'http://terminology.hl7.org/CodeSystem/v2-0532',
|
|
981
|
+
code: 'Y',
|
|
982
|
+
display: 'Yes'
|
|
983
|
+
}
|
|
984
|
+
},
|
|
985
|
+
{
|
|
986
|
+
valueCoding: {
|
|
987
|
+
system: 'http://terminology.hl7.org/CodeSystem/v2-0532',
|
|
988
|
+
code: 'N',
|
|
989
|
+
display: 'No'
|
|
990
|
+
}
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
valueCoding: {
|
|
994
|
+
system: 'http://terminology.hl7.org/CodeSystem/v2-0532',
|
|
995
|
+
code: 'NASK',
|
|
996
|
+
display: 'Not Asked'
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
valueCoding: {
|
|
1001
|
+
system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason',
|
|
1002
|
+
code: 'asked-declined',
|
|
1003
|
+
display: 'Asked But Declined'
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
]
|
|
1007
|
+
}
|
|
1008
|
+
]
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
export const qChoiceRadioAnswerValueSet: Questionnaire = {
|
|
1012
|
+
resourceType: 'Questionnaire',
|
|
1013
|
+
id: 'ChoiceRadioAVS',
|
|
1014
|
+
name: 'ChoiceRadioAVS',
|
|
1015
|
+
title: 'Choice Radio - Answer Value Set',
|
|
1016
|
+
version: '0.1.0',
|
|
1017
|
+
status: 'draft',
|
|
1018
|
+
publisher: 'AEHRC CSIRO',
|
|
1019
|
+
date: '2024-05-01',
|
|
1020
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/choice-radio-avs',
|
|
1021
|
+
contained: [
|
|
1022
|
+
{
|
|
1023
|
+
resourceType: 'ValueSet',
|
|
1024
|
+
id: 'YesNoNA',
|
|
1025
|
+
url: 'https://smartforms.csiro.au/ig/ValueSet/YesNoNA',
|
|
1026
|
+
name: 'YesNoNA',
|
|
1027
|
+
title: 'Yes/No/NA',
|
|
1028
|
+
status: 'draft',
|
|
1029
|
+
experimental: false,
|
|
1030
|
+
description: 'Concepts for Yes, No and Not applicable',
|
|
1031
|
+
compose: {
|
|
1032
|
+
include: [
|
|
1033
|
+
{
|
|
1034
|
+
system: 'http://terminology.hl7.org/CodeSystem/v2-0532',
|
|
1035
|
+
concept: [
|
|
1036
|
+
{
|
|
1037
|
+
code: 'Y',
|
|
1038
|
+
display: 'Yes'
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
code: 'N',
|
|
1042
|
+
display: 'No'
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
code: 'NA',
|
|
1046
|
+
display: 'N/A'
|
|
1047
|
+
}
|
|
1048
|
+
]
|
|
1049
|
+
}
|
|
1050
|
+
]
|
|
1051
|
+
},
|
|
1052
|
+
expansion: {
|
|
1053
|
+
identifier: 'urn:uuid:5baa5444-e553-4412-a08c-9ce93d3271e0',
|
|
1054
|
+
timestamp: '2023-09-01T11:16:50+10:00',
|
|
1055
|
+
total: 3,
|
|
1056
|
+
parameter: [
|
|
1057
|
+
{
|
|
1058
|
+
name: 'version',
|
|
1059
|
+
valueUri: 'http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0'
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
name: 'used-codesystem',
|
|
1063
|
+
valueUri: 'http://terminology.hl7.org/CodeSystem/v2-0532|2.1.0'
|
|
1064
|
+
}
|
|
1065
|
+
],
|
|
1066
|
+
contains: [
|
|
1067
|
+
{
|
|
1068
|
+
system: 'http://terminology.hl7.org/CodeSystem/v2-0532',
|
|
1069
|
+
code: 'Y',
|
|
1070
|
+
display: 'Yes'
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
system: 'http://terminology.hl7.org/CodeSystem/v2-0532',
|
|
1074
|
+
code: 'N',
|
|
1075
|
+
display: 'No'
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
system: 'http://terminology.hl7.org/CodeSystem/v2-0532',
|
|
1079
|
+
code: 'NA',
|
|
1080
|
+
display: 'N/A'
|
|
1081
|
+
}
|
|
1082
|
+
]
|
|
1083
|
+
}
|
|
1084
|
+
}
|
|
1085
|
+
],
|
|
1086
|
+
item: [
|
|
1087
|
+
{
|
|
1088
|
+
extension: [
|
|
1089
|
+
{
|
|
1090
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
1091
|
+
valueCodeableConcept: {
|
|
1092
|
+
coding: [
|
|
1093
|
+
{
|
|
1094
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
1095
|
+
code: 'radio-button'
|
|
1096
|
+
}
|
|
1097
|
+
]
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
],
|
|
1101
|
+
linkId: 'registered-for-my-aged-care',
|
|
1102
|
+
text: 'Registered for My Aged Care',
|
|
1103
|
+
type: 'choice',
|
|
1104
|
+
repeats: false,
|
|
1105
|
+
answerValueSet: '#YesNoNA'
|
|
1106
|
+
}
|
|
1107
|
+
]
|
|
1108
|
+
};
|
|
1109
|
+
|
|
1110
|
+
export const qOpenChoiceRadioAnswerOption: Questionnaire = {
|
|
1111
|
+
resourceType: 'Questionnaire',
|
|
1112
|
+
id: 'OpenChoiceRadioAO',
|
|
1113
|
+
name: 'OpenChoiceRadioAO',
|
|
1114
|
+
title: 'Open Choice Radio - Answer Option',
|
|
1115
|
+
version: '0.1.0',
|
|
1116
|
+
status: 'draft',
|
|
1117
|
+
publisher: 'AEHRC CSIRO',
|
|
1118
|
+
date: '2024-05-01',
|
|
1119
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/open-choice-radio-ao',
|
|
1120
|
+
item: [
|
|
1121
|
+
{
|
|
1122
|
+
extension: [
|
|
1123
|
+
{
|
|
1124
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
1125
|
+
valueCodeableConcept: {
|
|
1126
|
+
coding: [
|
|
1127
|
+
{
|
|
1128
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
1129
|
+
code: 'radio-button'
|
|
1130
|
+
}
|
|
1131
|
+
]
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel',
|
|
1136
|
+
valueString: 'Other, please specify'
|
|
1137
|
+
}
|
|
1138
|
+
],
|
|
1139
|
+
linkId: 'location-of-health-check',
|
|
1140
|
+
text: 'Location of health check',
|
|
1141
|
+
type: 'open-choice',
|
|
1142
|
+
repeats: false,
|
|
1143
|
+
answerOption: [
|
|
1144
|
+
{
|
|
1145
|
+
valueCoding: {
|
|
1146
|
+
system: 'http://snomed.info/sct',
|
|
1147
|
+
code: '257585005',
|
|
1148
|
+
display: 'Clinic'
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
valueCoding: {
|
|
1153
|
+
system: 'http://snomed.info/sct',
|
|
1154
|
+
code: '264362003',
|
|
1155
|
+
display: 'Home'
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
valueCoding: {
|
|
1160
|
+
system: 'http://snomed.info/sct',
|
|
1161
|
+
code: '257698009',
|
|
1162
|
+
display: 'School'
|
|
1163
|
+
}
|
|
1164
|
+
}
|
|
1165
|
+
]
|
|
1166
|
+
}
|
|
1167
|
+
]
|
|
1168
|
+
};
|
|
1169
|
+
|
|
1170
|
+
export const qOpenChoiceRadioAnswerValueSet: Questionnaire = {
|
|
1171
|
+
resourceType: 'Questionnaire',
|
|
1172
|
+
id: 'OpenChoiceRadioAVS',
|
|
1173
|
+
name: 'OpenChoiceRadioAVS',
|
|
1174
|
+
title: 'Open Choice Radio - Answer Value Set',
|
|
1175
|
+
version: '0.1.0',
|
|
1176
|
+
status: 'draft',
|
|
1177
|
+
publisher: 'AEHRC CSIRO',
|
|
1178
|
+
date: '2024-05-01',
|
|
1179
|
+
url: 'https://smartforms.csiro.au/docs/advanced/control/itemcontrol/question/open-choice-radio-avs',
|
|
1180
|
+
contained: [
|
|
1181
|
+
{
|
|
1182
|
+
resourceType: 'ValueSet',
|
|
1183
|
+
id: 'SmokingQuitStatus-1',
|
|
1184
|
+
extension: [
|
|
1185
|
+
{
|
|
1186
|
+
url: 'http://hl7.org/fhir/StructureDefinition/valueset-supplement',
|
|
1187
|
+
valueCanonical: 'https://smartforms.csiro.au/ig/CodeSystem/HealthChecksSCTSupplement'
|
|
1188
|
+
}
|
|
1189
|
+
],
|
|
1190
|
+
url: 'https://smartforms.csiro.au/ig/ValueSet/SmokingQuitStatus-1',
|
|
1191
|
+
name: 'SmokingQuitStatus',
|
|
1192
|
+
title: 'Smoking Quit Status',
|
|
1193
|
+
status: 'draft',
|
|
1194
|
+
experimental: false,
|
|
1195
|
+
description:
|
|
1196
|
+
'The Smoking Quit Status value set includes values that can indicate how long ago an individual quit smoking.',
|
|
1197
|
+
compose: {
|
|
1198
|
+
include: [
|
|
1199
|
+
{
|
|
1200
|
+
system: 'http://snomed.info/sct',
|
|
1201
|
+
concept: [
|
|
1202
|
+
{
|
|
1203
|
+
code: '48031000119106',
|
|
1204
|
+
display: 'Quit >12 months'
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
code: '735128000',
|
|
1208
|
+
display: 'Quit <12 months'
|
|
1209
|
+
}
|
|
1210
|
+
]
|
|
1211
|
+
}
|
|
1212
|
+
]
|
|
1213
|
+
},
|
|
1214
|
+
expansion: {
|
|
1215
|
+
identifier: 'urn:uuid:86b4329d-aca5-4e54-9b5e-67296c7ce9db',
|
|
1216
|
+
timestamp: '2024-04-08T12:56:59+10:00',
|
|
1217
|
+
total: 2,
|
|
1218
|
+
parameter: [
|
|
1219
|
+
{
|
|
1220
|
+
name: 'version',
|
|
1221
|
+
valueUri:
|
|
1222
|
+
'http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20240331'
|
|
1223
|
+
},
|
|
1224
|
+
{
|
|
1225
|
+
name: 'used-codesystem',
|
|
1226
|
+
valueUri:
|
|
1227
|
+
'http://snomed.info/sct|http://snomed.info/sct/32506021000036107/version/20240331'
|
|
1228
|
+
}
|
|
1229
|
+
],
|
|
1230
|
+
contains: [
|
|
1231
|
+
{
|
|
1232
|
+
system: 'http://snomed.info/sct',
|
|
1233
|
+
code: '48031000119106',
|
|
1234
|
+
display: 'Quit >12 months'
|
|
1235
|
+
},
|
|
1236
|
+
{
|
|
1237
|
+
system: 'http://snomed.info/sct',
|
|
1238
|
+
code: '735128000',
|
|
1239
|
+
display: 'Quit <12 months'
|
|
1240
|
+
}
|
|
1241
|
+
]
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
],
|
|
1245
|
+
item: [
|
|
1246
|
+
{
|
|
1247
|
+
extension: [
|
|
1248
|
+
{
|
|
1249
|
+
url: 'http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl',
|
|
1250
|
+
valueCodeableConcept: {
|
|
1251
|
+
coding: [
|
|
1252
|
+
{
|
|
1253
|
+
system: 'http://hl7.org/fhir/questionnaire-item-control',
|
|
1254
|
+
code: 'radio-button'
|
|
1255
|
+
}
|
|
1256
|
+
]
|
|
1257
|
+
}
|
|
1258
|
+
},
|
|
1259
|
+
{
|
|
1260
|
+
url: 'http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-openLabel',
|
|
1261
|
+
valueString: 'If there is a more precise duration, please specify'
|
|
1262
|
+
}
|
|
1263
|
+
],
|
|
1264
|
+
linkId: 'quit-status',
|
|
1265
|
+
text: 'Quit status',
|
|
1266
|
+
type: 'open-choice',
|
|
1267
|
+
repeats: false,
|
|
1268
|
+
answerValueSet: '#SmokingQuitStatus-1'
|
|
1269
|
+
}
|
|
1270
|
+
]
|
|
1271
|
+
};
|