Terminology
This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v5.0.0:
R5
-
STU
).
This
is
the
current
published
version
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
| Responsible Owner: FHIR Infrastructure Work Group | Standards Status : Informative |
Raw JSON ( canonical form + also see JSON Format Specification )
Definition for Code SystemQuestionnaireAnswerConstraint
{
"resourceType" : "CodeSystem",
"id" : "questionnaire-answer-constraint",
"meta" : {
"lastUpdated" : "2023-03-26T15:21:02.749+11:00",
"profile" : ["http://hl7.org/fhir/StructureDefinition/shareablecodesystem"]
"lastUpdated" : "2025-11-24T20:46:00.100+00:00"
},
"text" : {
"status" : "generated",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>This code system <code>http://hl7.org/fhir/questionnaire-answer-constraint</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">optionsOnly<a name=\"questionnaire-answer-constraint-optionsOnly\"> </a></td><td>Options only</td><td>Only values listed as answerOption or in the expansion of the answerValueSet are permitted</td></tr><tr><td style=\"white-space:nowrap\">optionsOrType<a name=\"questionnaire-answer-constraint-optionsOrType\"> </a></td><td>Options or 'type'</td><td>In addition to the values listed as answerOption or in the expansion of the answerValueSet, any other values that correspond to the specified item.type are permitted</td></tr><tr><td style=\"white-space:nowrap\">optionsOrString<a name=\"questionnaire-answer-constraint-optionsOrString\"> </a></td><td>Options or string</td><td>In addition to the values listed as answerOption or in the expansion of the answerValueSet, free-text strings are permitted. Answers will have a type of 'string'.</td></tr></table></div>"
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem questionnaire-answer-constraint</b></p><a name=\"questionnaire-answer-constraint\"> </a><a name=\"hcquestionnaire-answer-constraint\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/questionnaire-answer-constraint</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td style=\"white-space:nowrap\">optionsOnly<a name=\"questionnaire-answer-constraint-optionsOnly\"> </a></td><td>Options only</td><td>Only values listed as answerOption or in the expansion of the answerValueSet are permitted</td></tr><tr><td style=\"white-space:nowrap\">optionsOrType<a name=\"questionnaire-answer-constraint-optionsOrType\"> </a></td><td>Options or 'type'</td><td>In addition to the values listed as answerOption or in the expansion of the answerValueSet, any other values that correspond to the specified item.type are permitted</td></tr><tr><td style=\"white-space:nowrap\">optionsOrString<a name=\"questionnaire-answer-constraint-optionsOrString\"> </a></td><td>Options or string</td><td>In addition to the values listed as answerOption or in the expansion of the answerValueSet, free-text strings are permitted. Answers will have a type of 'string'.</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" : "normative"
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 5
}],
"url" : "http://hl7.org/fhir/questionnaire-answer-constraint",
"identifier" : [{
"system" : "urn:ietf:rfc:3986",
"value" : "urn:oid:2.16.840.1.113883.4.642.4.2019"
}],
"version" : "5.0.0",
"version" : "6.0.0-ballot3",
"name" : "QuestionnaireAnswerConstraint",
"title" : "Questionnaire answer constraint codes",
"status" : "active",
"experimental" : true,
"experimental" : false,
"publisher" : "HL7 International",
"description" : "Codes that describe the types of constraints possible on a question item that has a list of permitted answers",
"jurisdiction" : [{
"coding" : [{
"system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
"code" : "001",
"display" : "World"
}]
}],
"caseSensitive" : true,
"content" : "complete",
"concept" : [{
"code" : "optionsOnly",
"display" : "Options only",
"definition" : "Only values listed as answerOption or in the expansion of the answerValueSet are permitted"
},
{
"code" : "optionsOrType",
"display" : "Options or 'type'",
"definition" : "In addition to the values listed as answerOption or in the expansion of the answerValueSet, any other values that correspond to the specified item.type are permitted"
},
{
"code" : "optionsOrString",
"display" : "Options or string",
"definition" : "In addition to the values listed as answerOption or in the expansion of the answerValueSet, free-text strings are permitted. Answers will have a type of 'string'."
}]
}
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.
FHIR
®©
HL7.org
2011+.
FHIR
R5
hl7.fhir.core#5.0.0
R6
hl7.fhir.core#6.0.0-ballot3
generated
on
Sun,
Mar
26,
2023
15:22+1100.
Mon,
Nov
24,
2025
20:48+0000.
Links:
Search
|
Version
History
|
Contents
|
Glossary
|
QA
|
Compare
to
R4
|
Compare
to
R4B
R5
|
Compare
to
Last
Ballot
|
|
Propose
a
change