Structured Data Capture
2.8.0 - CI Build

Structured Data Capture, published by HL7 International - FHIR Infrastructure Work Group. This is not an authorized publication; it is the continuous build for version 2.8.0). This version is based on the current content of https://github.com/HL7/sdc/ and changes regularly. See the Directory of published versions

Resource Profile: Advanced Behavior Questionnaire

Defining URL:http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave
Version:2.8.0
Name:QuestionnaireBehave
Title:Advanced Behavior Questionnaire
Status:Draft as of 2021-10-18T20:02:26+00:00
Definition:

Defines additional capabilities for controlling data entry and calculating values within the questionnaire.

Publisher:HL7 International - FHIR Infrastructure Work Group
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave

Scope and Usage

This profile adds additional constraints and extensions to the base SDC Base Questionnaire Profile that support the design of questionnaires with more sophisticated behavior and flow-control, including calculated values, determining what portions of the questionnaire to show based on previous answers, etc. This profile identifies which core elements and extensions must be supported and highlights other elements that, while not required, may be relevant to the questionnaire response population use-case. Further information on how this use-case is implemented as well as guidance on the elements and extensions included in the profile can be found on the Form Behavior page.

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from SDCBaseQuestionnaire

Summary

Mandatory: 0 element (1 nested mandatory element)
Must-Support: 29 elements

Extensions

This structure refers to these extensions:

This structure is derived from SDCBaseQuestionnaire

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 0..*SDCBaseQuestionnaireAdvanced Behavior Questionnaire
... sdc-questionnaire-entryMode S0..*codesequential | prior-edit | random
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
Binding: Questionnaire Entry Mode (required): Entry modes when completing a questionnaire


... sdc-questionnaire-endpoint S0..*uriWhere to send answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint
... questionnaire-signatureRequired 0..*CodeableConceptIs signature needed?
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired
Binding: SignatureTypeCodes (preferred): The type of signature needed.


... cqf-library 0..*canonical(Library)A library containing logic used by the artifact
URL: http://hl7.org/fhir/StructureDefinition/cqf-library
... sdc-questionnaire-launchContext 0..*(Complex)Context resources needed for Questionnaire
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
... variable 0..*ExpressionVariable for processing
URL: http://hl7.org/fhir/StructureDefinition/variable
... item I1..*BackboneElementQuestions and sections within the Questionnaire
sdc-behave-2: An item cannot have both enableWhen and enableWhenExpression
sdc-behave-1: An item cannot have both initial.value and initialExpression
.... questionnaire-usageMode S0..1codecapture | display | display-non-empty | capture-display | capture-display-non-empty
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode
Binding: QuestionnaireItemUsageMode (required): Identifies the modes of usage of a questionnaire that should enable a particular questionnaire item.

.... questionnaire-signatureRequired 0..*CodeableConceptIs signature needed?
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired
Binding: SignatureTypeCodes (preferred): The type of signature needed.


.... questionnaire-minOccurs S0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
..... value[x] 1..1integerValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... questionnaire-maxOccurs S0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... value[x] 1..1integerValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... minLength S0..1integerAt least this many characters
URL: http://hl7.org/fhir/StructureDefinition/minLength
.... regex S0..1stringRegular expression pattern
URL: http://hl7.org/fhir/StructureDefinition/regex
.... minValue S0..1date, dateTime, time, decimal, integerMust be >= this value
URL: http://hl7.org/fhir/StructureDefinition/minValue
..... value[x] 1..1date, dateTime, time, decimal, integerValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... maxValue S0..1date, dateTime, time, instant, decimal, integerMust be <= this value
URL: http://hl7.org/fhir/StructureDefinition/maxValue
..... value[x] 1..1date, dateTime, time, instant, decimal, integerValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... sdc-questionnaire-minQuantity 0..1QuantityMust be >= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity
..... value[x] 0..1QuantityValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... sdc-questionnaire-maxQuantity 0..1QuantityMust be <= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity
..... value[x] 0..1QuantityValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... maxDecimalPlaces S0..1integerMaximum digits after decimal
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
.... mimeType S0..*codeType of attachment
URL: http://hl7.org/fhir/StructureDefinition/mimeType
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.


.... maxSize 0..1decimalMax size in MB
URL: http://hl7.org/fhir/StructureDefinition/maxSize
.... sdc-questionnaire-answerOptionsToggleExpression S0..*(Complex)Expression constraining allowed answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
.... questionnaire-unitOption S0..*CodingUnit choice
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption
.... questionnaire-unitValueSet S0..1canonical(ValueSet)Unit choices
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet
.... questionnaire-referenceResource S0..*codeAllowed resource for reference
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource
Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR.


.... questionnaire-referenceProfile 0..*canonical(StructureDefinition)Allowed profile for reference
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile
.... sdc-questionnaire-candidateExpression 0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression
.... sdc-questionnaire-lookupQuestionnaire 0..1uriQuestionnaire to populate a reference
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire
.... questionnaire-constraint 0..*(Complex)Constraint
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
.... sdc-questionnaire-initialExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
.... sdc-questionnaire-calculatedExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
.... sdc-questionnaire-enableWhenExpression S0..1ExpressionExpression for when to enable the item
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
.... enableWhen
..... question S1..1stringQuestion that determines whether item is enabled
..... operator S1..1codeexists | = | != | > | < | >= | <=
..... answer[x] S1..1boolean, decimal, integer, date, dateTime, time, string, Coding, Quantity, Reference(Resource)Value for question comparison based on operator
.... enableBehavior S0..1codeall | any
.... required 0..1booleanWhether the item must be included in data results
..... value 0..1booleanPrimitive value for boolean
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... repeats 0..1booleanWhether the item may repeat
..... value 0..1booleanPrimitive value for boolean
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... readOnly 0..1booleanDon't allow human editing
..... value 0..1booleanPrimitive value for boolean
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... answerValueSet 0..1canonical(SDC ValueSet)Valueset containing permitted answers
..... value 0..1stringPrimitive value for canonical
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... answerOption 0..*BackboneElementPermitted answer
..... questionnaire-optionExclusive S0..1booleanOption is exclusive
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive
..... ordinalValue S0..1decimalAssigned Ordinal Value
URL: http://hl7.org/fhir/StructureDefinition/ordinalValue
..... value[x] S1..1integer, date, time, string, Coding, Reference(Resource)Answer value

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire I0..*SDCBaseQuestionnaireAdvanced Behavior Questionnaire
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred)
Max Binding: AllLanguages: A human language.

... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... designNote 0..1markdownDesign comments
URL: http://hl7.org/fhir/StructureDefinition/designNote
... sdc-questionnaire-preferredTerminologyServer 0..*urlPreferred terminology server
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer
... sdc-questionnaire-performerType S0..*codeResource that can record answers to this Questionnaire
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType
Binding: Questionnaire Performer Type (required): Resources that can record answers to a questionnaire.


... sdc-questionnaire-entryMode S0..*codesequential | prior-edit | random
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
Binding: Questionnaire Entry Mode (required): Entry modes when completing a questionnaire


... sdc-questionnaire-endpoint S0..*uriWhere to send answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint
... questionnaire-signatureRequired 0..*CodeableConceptIs signature needed?
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired
Binding: SignatureTypeCodes (preferred): The type of signature needed.


... questionnaire-constraint 0..*(Complex)Constraint
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
... cqf-library 0..*canonical(Library)A library containing logic used by the artifact
URL: http://hl7.org/fhir/StructureDefinition/cqf-library
... sdc-questionnaire-launchContext 0..*(Complex)Context resources needed for Questionnaire
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
... variable 0..*ExpressionVariable for processing
URL: http://hl7.org/fhir/StructureDefinition/variable
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url SΣ1..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)
... identifier Σ0..*IdentifierAdditional identifier for the questionnaire
... version SΣ0..1stringBusiness version of the questionnaire
... name ΣI0..1stringName for this questionnaire (computer friendly)
... title SΣ0..1stringName for this questionnaire (human friendly)
... derivedFrom 0..*canonical(Questionnaire)Instantiates protocol or definition
... status ?!SΣ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.

... experimental Σ0..1booleanFor testing purposes, not real usage
... subjectType SΣ0..*codeResource that can be subject of QuestionnaireResponse
Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR.


... date Σ0..1dateTimeDate last changed
... publisher Σ0..1stringName of the publisher (organization or individual)
... contact Σ0..*ContactDetailContact details for the publisher
... description 0..1markdownNatural language description of the questionnaire
... useContext Σ0..*UsageContextThe context that the content is intended to support
... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use.


... purpose 0..1markdownWhy this questionnaire is defined
... copyright 0..1markdownUse and/or publishing restrictions
... approvalDate 0..1dateWhen the questionnaire was approved by publisher
... lastReviewDate 0..1dateWhen the questionnaire was last reviewed
... effectivePeriod Σ0..1PeriodWhen the questionnaire is expected to be used
... code Σ0..*CodingConcept that represents the overall questionnaire
Binding: QuestionnaireQuestionCodes (example): Codes for questionnaires, groups and individual questions.


... item SI1..*BackboneElementQuestions and sections within the Questionnaire
sdc-behave-2: An item cannot have both enableWhen and enableWhenExpression
sdc-behave-1: An item cannot have both initial.value and initialExpression
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... designNote 0..1markdownDesign comments
URL: http://hl7.org/fhir/StructureDefinition/designNote
.... sdc-questionnaire-preferredTerminologyServer 0..*urlPreferred terminology server
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer
.... sdc-questionnaire-answerExpression S0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
.... sdc-questionnaire-choiceConstraint S0..1codeoptionsOnly | optionOrType | optionOrString
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceConstraint
Binding: Questionnaire Item Choice Constraint (required): Constraints for choices


.... sdc-questionnaire-unitOpen 0..1codeUsed to denote if user can specify alternate codes
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitOpen
Binding: Questionnaire answer constraints value set (required): The types of constraints possible on a question item that has a list of permitted answers


.... sdc-questionnaire-unitSupplementalSystem 0..1canonical()This extension indicates the code system the additional units are drawn from
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-unitSupplementalSystem
.... questionnaire-usageMode S0..1codecapture | display | display-non-empty | capture-display | capture-display-non-empty
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode
Binding: QuestionnaireItemUsageMode (required): Identifies the modes of usage of a questionnaire that should enable a particular questionnaire item.


.... questionnaire-signatureRequired 0..*CodeableConceptIs signature needed?
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired
Binding: SignatureTypeCodes (preferred): The type of signature needed.


.... questionnaire-minOccurs S0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..0
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"
..... value[x] 1..1integerValue of extension
...... id 0..1stringxml:id (or equivalent in JSON)
...... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1integerPrimitive value for integer
.... questionnaire-maxOccurs S0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..0
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"
..... value[x] 1..1integerValue of extension
...... id 0..1stringxml:id (or equivalent in JSON)
...... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1integerPrimitive value for integer
.... minLength S0..1integerAt least this many characters
URL: http://hl7.org/fhir/StructureDefinition/minLength
.... regex S0..1stringRegular expression pattern
URL: http://hl7.org/fhir/StructureDefinition/regex
.... minValue S0..1date, dateTime, time, decimal, integerMust be >= this value
URL: http://hl7.org/fhir/StructureDefinition/minValue
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..0
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/minValue"
..... value[x] 1..1Value of extension
...... value[x]:All Types Content/Rules for all Types
....... id 0..1stringUnique id for inter-element referencing
....... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueDecimaldecimal
...... valueIntegerinteger
.... maxValue S0..1date, dateTime, time, instant, decimal, integerMust be <= this value
URL: http://hl7.org/fhir/StructureDefinition/maxValue
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..0
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/maxValue"
..... value[x] 1..1Value of extension
...... value[x]:All Types Content/Rules for all Types
....... id 0..1stringUnique id for inter-element referencing
....... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
....... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueInstantinstant
...... valueDecimaldecimal
...... valueIntegerinteger
.... sdc-questionnaire-minQuantity 0..1QuantityMust be >= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity"
..... value[x] 0..1QuantityValue of extension
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... value Σ0..1decimalNumerical value (with implicit precision)
...... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit Σ0..1stringUnit representation
...... system ΣI0..1uriSystem that defines coded unit form
...... code Σ0..1codeCoded form of the unit
.... sdc-questionnaire-maxQuantity 0..1QuantityMust be <= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... url 1..1uri"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity"
..... value[x] 0..1QuantityValue of extension
...... id 0..1stringUnique id for inter-element referencing
...... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... value Σ0..1decimalNumerical value (with implicit precision)
...... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

...... unit Σ0..1stringUnit representation
...... system ΣI0..1uriSystem that defines coded unit form
...... code Σ0..1codeCoded form of the unit
.... maxDecimalPlaces S0..1integerMaximum digits after decimal
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
.... mimeType S0..*codeType of attachment
URL: http://hl7.org/fhir/StructureDefinition/mimeType
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.


.... maxSize 0..1decimalMax size in MB
URL: http://hl7.org/fhir/StructureDefinition/maxSize
.... sdc-questionnaire-answerOptionsToggleExpression S0..*(Complex)Expression constraining allowed answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
.... questionnaire-unitOption S0..*CodingUnit choice
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption
.... questionnaire-unitValueSet S0..1canonical(ValueSet)Unit choices
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet
.... questionnaire-referenceResource S0..*codeAllowed resource for reference
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource
Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR.


.... questionnaire-referenceProfile 0..*canonical(StructureDefinition)Allowed profile for reference
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile
.... sdc-questionnaire-candidateExpression 0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression
.... sdc-questionnaire-lookupQuestionnaire 0..1uriQuestionnaire to populate a reference
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire
.... questionnaire-constraint 0..*(Complex)Constraint
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
.... sdc-questionnaire-initialExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
.... sdc-questionnaire-calculatedExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
.... sdc-questionnaire-enableWhenExpression S0..1ExpressionExpression for when to enable the item
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId S1..1stringUnique id for item in questionnaire
.... definition 0..1uriElementDefinition - details for the item
.... code I0..*CodingCorresponding concept for this item in a terminology
Binding: QuestionnaireQuestionCodes (example): Codes for questionnaires, groups and individual questions.


.... prefix S0..1stringE.g. "1(a)", "2.5.3"
.... text S0..1stringPrimary text for the item
.... type S1..1codegroup | display | boolean | decimal | integer | date | dateTime +
Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions.

.... enableWhen ?!I0..*BackboneElementOnly allow data when
que-7: If the operator is 'exists', the value must be a boolean
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... question S1..1stringQuestion that determines whether item is enabled
..... operator S1..1codeexists | = | != | > | < | >= | <=
Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled.

..... answer[x] SI1..1Value for question comparison based on operator
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... answerBooleanboolean
...... answerDecimaldecimal
...... answerIntegerinteger
...... answerDatedate
...... answerDateTimedateTime
...... answerTimetime
...... answerStringstring
...... answerCodingCoding
...... answerQuantityQuantity
...... answerReferenceReference(Resource)
.... enableBehavior SI0..1codeall | any
Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.

.... required SI0..1booleanWhether the item must be included in data results
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... value 0..1booleanPrimitive value for boolean
...... id 0..1stringxml:id (or equivalent in JSON)
...... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1booleanPrimitive value for boolean
.... repeats SI0..1booleanWhether the item may repeat
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... value 0..1booleanPrimitive value for boolean
...... id 0..1stringxml:id (or equivalent in JSON)
...... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1booleanPrimitive value for boolean
.... readOnly SI0..1booleanDon't allow human editing
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... value 0..1booleanPrimitive value for boolean
...... id 0..1stringxml:id (or equivalent in JSON)
...... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1booleanPrimitive value for boolean
.... maxLength SI0..1integerNo more than this many characters
.... answerValueSet SI0..1canonical(SDC ValueSet)Valueset containing permitted answers
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional content defined by implementations
..... value 0..1stringPrimitive value for canonical
...... id 0..1stringxml:id (or equivalent in JSON)
...... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1stringPrimitive value for string
Max Length: 1048576
.... answerOption SI0..*BackboneElementPermitted answer
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... questionnaire-optionExclusive S0..1booleanOption is exclusive
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive
..... ordinalValue S0..1decimalAssigned Ordinal Value
URL: http://hl7.org/fhir/StructureDefinition/ordinalValue
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] S1..1Answer value
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... valueIntegerinteger
...... valueDatedate
...... valueTimetime
...... valueStringstring
...... valueCodingCoding
...... valueReferenceReference(Resource)
..... initialSelected 0..1booleanWhether option is selected by default
.... initial SI0..*BackboneElementInitial value(s) when item is first rendered
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] S1..1Actual value for initializing the question
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... valueBooleanboolean
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
.... item SI0..*See item (Questionnaire)Nested questionnaire items

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire I0..*SDCBaseQuestionnaireAdvanced Behavior Questionnaire
... sdc-questionnaire-performerType 0..*codeResource that can record answers to this Questionnaire
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-performerType
Binding: Questionnaire Performer Type (required): Resources that can record answers to a questionnaire.


... sdc-questionnaire-entryMode 0..*codesequential | prior-edit | random
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
Binding: Questionnaire Entry Mode (required): Entry modes when completing a questionnaire


... sdc-questionnaire-endpoint 0..*uriWhere to send answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint
... version Σ0..1stringBusiness version of the questionnaire
... title Σ0..1stringName for this questionnaire (human friendly)
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.

... subjectType Σ0..*codeResource that can be subject of QuestionnaireResponse
Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR.


... item I1..*BackboneElementQuestions and sections within the Questionnaire
sdc-behave-2: An item cannot have both enableWhen and enableWhenExpression
sdc-behave-1: An item cannot have both initial.value and initialExpression
.... sdc-questionnaire-answerExpression 0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
.... sdc-questionnaire-choiceConstraint 0..1codeoptionsOnly | optionOrType | optionOrString
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceConstraint
Binding: Questionnaire Item Choice Constraint (required): Constraints for choices


.... questionnaire-usageMode 0..1codecapture | display | display-non-empty | capture-display | capture-display-non-empty
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode
Binding: QuestionnaireItemUsageMode (required): Identifies the modes of usage of a questionnaire that should enable a particular questionnaire item.


.... questionnaire-minOccurs 0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
..... value[x] 1..1integerValue of extension
...... cqf-expression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... questionnaire-maxOccurs 0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... value[x] 1..1integerValue of extension
...... cqf-expression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... minLength 0..1integerAt least this many characters
URL: http://hl7.org/fhir/StructureDefinition/minLength
.... regex 0..1stringRegular expression pattern
URL: http://hl7.org/fhir/StructureDefinition/regex
.... minValue 0..1date, dateTime, time, decimal, integerMust be >= this value
URL: http://hl7.org/fhir/StructureDefinition/minValue
.... maxValue 0..1date, dateTime, time, instant, decimal, integerMust be <= this value
URL: http://hl7.org/fhir/StructureDefinition/maxValue
.... maxDecimalPlaces 0..1integerMaximum digits after decimal
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
.... mimeType 0..*codeType of attachment
URL: http://hl7.org/fhir/StructureDefinition/mimeType
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.


.... sdc-questionnaire-answerOptionsToggleExpression 0..*(Complex)Expression constraining allowed answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
.... questionnaire-unitOption 0..*CodingUnit choice
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption
.... questionnaire-unitValueSet 0..1canonical(ValueSet)Unit choices
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet
.... questionnaire-referenceResource 0..*codeAllowed resource for reference
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource
Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR.


.... sdc-questionnaire-enableWhenExpression 0..1ExpressionExpression for when to enable the item
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
.... linkId 1..1stringUnique id for item in questionnaire
.... prefix 0..1stringE.g. "1(a)", "2.5.3"
.... text 0..1stringPrimary text for the item
.... type 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions.

.... enableWhen ?!I0..*BackboneElementOnly allow data when
que-7: If the operator is 'exists', the value must be a boolean
..... question 1..1stringQuestion that determines whether item is enabled
..... operator 1..1codeexists | = | != | > | < | >= | <=
Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled.

..... answer[x] I1..1Value for question comparison based on operator
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... answerBooleanboolean
...... answerDecimaldecimal
...... answerIntegerinteger
...... answerDatedate
...... answerDateTimedateTime
...... answerTimetime
...... answerStringstring
...... answerCodingCoding
...... answerQuantityQuantity
...... answerReferenceReference(Resource)
.... enableBehavior I0..1codeall | any
Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.

.... required I0..1booleanWhether the item must be included in data results
..... value 0..1booleanPrimitive value for boolean
...... cqf-expression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... repeats I0..1booleanWhether the item may repeat
..... value 0..1booleanPrimitive value for boolean
...... cqf-expression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... readOnly I0..1booleanDon't allow human editing
..... value 0..1booleanPrimitive value for boolean
...... cqf-expression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... maxLength I0..1integerNo more than this many characters
.... answerValueSet I0..1canonical(SDC ValueSet)Valueset containing permitted answers
..... value 0..1stringPrimitive value for canonical
...... cqf-expression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... answerOption I0..*BackboneElementPermitted answer
..... questionnaire-optionExclusive 0..1booleanOption is exclusive
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive
..... ordinalValue 0..1decimalAssigned Ordinal Value
URL: http://hl7.org/fhir/StructureDefinition/ordinalValue
..... value[x] 1..1Answer value
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... valueIntegerinteger
...... valueDatedate
...... valueTimetime
...... valueStringstring
...... valueCodingCoding
...... valueReferenceReference(Resource)
.... initial I0..*BackboneElementInitial value(s) when item is first rendered
..... value[x] 1..1Actual value for initializing the question
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... valueBooleanboolean
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
.... item I0..*See item (Questionnaire)Nested questionnaire items

doco Documentation for this format

This structure is derived from SDCBaseQuestionnaire

Summary

Mandatory: 0 element (1 nested mandatory element)
Must-Support: 29 elements

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from SDCBaseQuestionnaire

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 0..*SDCBaseQuestionnaireAdvanced Behavior Questionnaire
... sdc-questionnaire-entryMode S0..*codesequential | prior-edit | random
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
Binding: Questionnaire Entry Mode (required): Entry modes when completing a questionnaire


... sdc-questionnaire-endpoint S0..*uriWhere to send answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-endpoint
... questionnaire-signatureRequired 0..*CodeableConceptIs signature needed?
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired
Binding: SignatureTypeCodes (preferred): The type of signature needed.


... cqf-library 0..*canonical(Library)A library containing logic used by the artifact
URL: http://hl7.org/fhir/StructureDefinition/cqf-library
... sdc-questionnaire-launchContext 0..*(Complex)Context resources needed for Questionnaire
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
... variable 0..*ExpressionVariable for processing
URL: http://hl7.org/fhir/StructureDefinition/variable
... item I1..*BackboneElementQuestions and sections within the Questionnaire
sdc-behave-2: An item cannot have both enableWhen and enableWhenExpression
sdc-behave-1: An item cannot have both initial.value and initialExpression
.... questionnaire-usageMode S0..1codecapture | display | display-non-empty | capture-display | capture-display-non-empty
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode
Binding: QuestionnaireItemUsageMode (required): Identifies the modes of usage of a questionnaire that should enable a particular questionnaire item.

.... questionnaire-signatureRequired 0..*CodeableConceptIs signature needed?
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired
Binding: SignatureTypeCodes (preferred): The type of signature needed.


.... questionnaire-minOccurs S0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
..... value[x] 1..1integerValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... questionnaire-maxOccurs S0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... value[x] 1..1integerValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... cqf-expression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... minLength S0..1integerAt least this many characters
URL: http://hl7.org/fhir/StructureDefinition/minLength
.... regex S0..1stringRegular expression pattern
URL: http://hl7.org/fhir/StructureDefinition/regex
.... minValue S0..1date, dateTime, time, decimal, integerMust be >= this value
URL: http://hl7.org/fhir/StructureDefinition/minValue
..... value[x] 1..1date, dateTime, time, decimal, integerValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... maxValue S0..1date, dateTime, time, instant, decimal, integerMust be <= this value
URL: http://hl7.org/fhir/StructureDefinition/maxValue
..... value[x] 1..1date, dateTime, time, instant, decimal, integerValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... sdc-questionnaire-minQuantity 0..1QuantityMust be >= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity
..... value[x] 0..1QuantityValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... sdc-questionnaire-maxQuantity 0..1QuantityMust be <= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity
..... value[x] 0..1QuantityValue of extension
...... cqf-calculatedValue 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... maxDecimalPlaces S0..1integerMaximum digits after decimal
URL: http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces
.... mimeType S0..*codeType of attachment
URL: http://hl7.org/fhir/StructureDefinition/mimeType
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.


.... maxSize 0..1decimalMax size in MB
URL: http://hl7.org/fhir/StructureDefinition/maxSize
.... sdc-questionnaire-answerOptionsToggleExpression S0..*(Complex)Expression constraining allowed answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
.... questionnaire-unitOption S0..*CodingUnit choice
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption
.... questionnaire-unitValueSet S0..1canonical(ValueSet)Unit choices
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet
.... questionnaire-referenceResource S0..*codeAllowed resource for reference
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource
Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR.


.... questionnaire-referenceProfile 0..*canonical(StructureDefinition)Allowed profile for reference
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile
.... sdc-questionnaire-candidateExpression 0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression
.... sdc-questionnaire-lookupQuestionnaire 0..1uriQuestionnaire to populate a reference
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire
.... questionnaire-constraint 0..*(Complex)Constraint
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
.... sdc-questionnaire-initialExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
.... sdc-questionnaire-calculatedExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
.... sdc-questionnaire-enableWhenExpression S0..1