/
codesystem-item-type.txt
160 lines (160 loc) · 9.44 KB
/
codesystem-item-type.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"resourceType": "CodeSystem",
"id": "item-type",
"meta": {
"lastUpdated": "2019-11-01T09:29:23.356+11:00"
},
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h2>QuestionnaireItemType</h2><div><p>Distinguishes groups from questions and display text and indicates data type for questions.</p>\n</div><p><b>Properties</b></p><table class=\"grid\"><tr><td><b>Code</b></td><td><b>URL</b></td><td><b>Description</b></td><td><b>Type</b></td></tr><tr><td>notSelectable</td><td>http://hl7.org/fhir/concept-properties#notSelectable</td><td>Indicates that the code is abstract - only intended to be used as a selector for other concepts</td><td>boolean</td></tr></table><p>This code system http://hl7.org/fhir/item-type defines the following codes:</p><table class=\"codes\"><tr><td><b>Lvl</b></td><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td>1</td><td style=\"white-space:nowrap\">group<a name=\"item-type-group\"> </a></td><td>Group</td><td>An item with no direct answer but should have at least one child item.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">display<a name=\"item-type-display\"> </a></td><td>Display</td><td>Text for display that will not capture an answer or have child items.</td></tr><tr><td>1</td><td style=\"white-space:nowrap\">question<a name=\"item-type-question\"> </a></td><td>Question</td><td>An item that defines a specific answer to be captured, and which may have child items. (the answer provided in the QuestionnaireResponse should be of the defined datatype).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0boolean<a name=\"item-type-boolean\"> </a></td><td>Boolean</td><td>Question with a yes/no answer (valueBoolean).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0decimal<a name=\"item-type-decimal\"> </a></td><td>Decimal</td><td>Question with is a real number answer (valueDecimal).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0integer<a name=\"item-type-integer\"> </a></td><td>Integer</td><td>Question with an integer answer (valueInteger).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0date<a name=\"item-type-date\"> </a></td><td>Date</td><td>Question with a date answer (valueDate).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0dateTime<a name=\"item-type-dateTime\"> </a></td><td>Date Time</td><td>Question with a date and time answer (valueDateTime).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0time<a name=\"item-type-time\"> </a></td><td>Time</td><td>Question with a time (hour:minute:second) answer independent of date. (valueTime).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0string<a name=\"item-type-string\"> </a></td><td>String</td><td>Question with a short (few words to short sentence) free-text entry answer (valueString).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0text<a name=\"item-type-text\"> </a></td><td>Text</td><td>Question with a long (potentially multi-paragraph) free-text entry answer (valueString).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0url<a name=\"item-type-url\"> </a></td><td>Url</td><td>Question with a URL (website, FTP site, etc.) answer (valueUri).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0choice<a name=\"item-type-choice\"> </a></td><td>Choice</td><td>Question with a Coding drawn from a list of possible answers (specified in either the answerOption property, or via the valueset referenced in the answerValueSet property) as an answer (valueCoding).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0open-choice<a name=\"item-type-open-choice\"> </a></td><td>Open Choice</td><td>Answer is a Coding drawn from a list of possible answers (as with the choice type) or a free-text entry in a string (valueCoding or valueString).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0attachment<a name=\"item-type-attachment\"> </a></td><td>Attachment</td><td>Question with binary content such as an image, PDF, etc. as an answer (valueAttachment).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0reference<a name=\"item-type-reference\"> </a></td><td>Reference</td><td>Question with a reference to another resource (practitioner, organization, etc.) as an answer (valueReference).</td></tr><tr><td>2</td><td style=\"white-space:nowrap\">\u00a0\u00a0quantity<a name=\"item-type-quantity\"> </a></td><td>Quantity</td><td>Question with a combination of a numeric value and unit, potentially with a comparator (<, >, etc.) as an answer. (valueQuantity) There is an extension 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' that can be used to define what unit should be captured (or the unit that has a ucum conversion from the provided unit).</td></tr></table></div>"
},
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
"valueCode": "fhir"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode": "trial-use"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger": 3
}
],
"url": "http://hl7.org/fhir/item-type",
"identifier": [
{
"system": "urn:ietf:rfc:3986",
"value": "urn:oid:2.16.840.1.113883.4.642.4.445"
}
],
"version": "4.0.1",
"name": "QuestionnaireItemType",
"title": "QuestionnaireItemType",
"status": "draft",
"experimental": false,
"date": "2019-11-01T09:29:23+11:00",
"publisher": "HL7 (FHIR Project)",
"contact": [
{
"telecom": [
{
"system": "url",
"value": "http://hl7.org/fhir"
},
{
"system": "email",
"value": "fhir@lists.hl7.org"
}
]
}
],
"description": "Distinguishes groups from questions and display text and indicates data type for questions.",
"caseSensitive": true,
"valueSet": "http://hl7.org/fhir/ValueSet/item-type",
"content": "complete",
"property": [
{
"code": "notSelectable",
"uri": "http://hl7.org/fhir/concept-properties#notSelectable",
"description": "Indicates that the code is abstract - only intended to be used as a selector for other concepts",
"type": "boolean"
}
],
"concept": [
{
"code": "group",
"display": "Group",
"definition": "An item with no direct answer but should have at least one child item."
},
{
"code": "display",
"display": "Display",
"definition": "Text for display that will not capture an answer or have child items."
},
{
"code": "question",
"display": "Question",
"definition": "An item that defines a specific answer to be captured, and which may have child items. (the answer provided in the QuestionnaireResponse should be of the defined datatype).",
"property": [
{
"code": "notSelectable",
"valueBoolean": true
}
],
"concept": [
{
"code": "boolean",
"display": "Boolean",
"definition": "Question with a yes/no answer (valueBoolean)."
},
{
"code": "decimal",
"display": "Decimal",
"definition": "Question with is a real number answer (valueDecimal)."
},
{
"code": "integer",
"display": "Integer",
"definition": "Question with an integer answer (valueInteger)."
},
{
"code": "date",
"display": "Date",
"definition": "Question with a date answer (valueDate)."
},
{
"code": "dateTime",
"display": "Date Time",
"definition": "Question with a date and time answer (valueDateTime)."
},
{
"code": "time",
"display": "Time",
"definition": "Question with a time (hour:minute:second) answer independent of date. (valueTime)."
},
{
"code": "string",
"display": "String",
"definition": "Question with a short (few words to short sentence) free-text entry answer (valueString)."
},
{
"code": "text",
"display": "Text",
"definition": "Question with a long (potentially multi-paragraph) free-text entry answer (valueString)."
},
{
"code": "url",
"display": "Url",
"definition": "Question with a URL (website, FTP site, etc.) answer (valueUri)."
},
{
"code": "choice",
"display": "Choice",
"definition": "Question with a Coding drawn from a list of possible answers (specified in either the answerOption property, or via the valueset referenced in the answerValueSet property) as an answer (valueCoding)."
},
{
"code": "open-choice",
"display": "Open Choice",
"definition": "Answer is a Coding drawn from a list of possible answers (as with the choice type) or a free-text entry in a string (valueCoding or valueString)."
},
{
"code": "attachment",
"display": "Attachment",
"definition": "Question with binary content such as an image, PDF, etc. as an answer (valueAttachment)."
},
{
"code": "reference",
"display": "Reference",
"definition": "Question with a reference to another resource (practitioner, organization, etc.) as an answer (valueReference)."
},
{
"code": "quantity",
"display": "Quantity",
"definition": "Question with a combination of a numeric value and unit, potentially with a comparator (<, >, etc.) as an answer. (valueQuantity) There is an extension 'http://hl7.org/fhir/StructureDefinition/questionnaire-unit' that can be used to define what unit should be captured (or the unit that has a ucum conversion from the provided unit)."
}
]
}
]
}