Structured Data Capture
3.0.0 - STU 3 International flag

Structured Data Capture, published by HL7 International - FHIR Infrastructure Work Group. This is not an authorized publication; it is the continuous build for version 3.0.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

Official URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-behave Version: 3.0.0
Standards status: Informative Computable Name: SDCQuestionnaireBehave

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

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.

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

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: 30 elements

Extensions

This structure refers to these extensions:

This structure is derived from SDCBaseQuestionnaire

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 0..*SDCBaseQuestionnaireAdvanced Behavior 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


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


... library 0..*canonical(Library)A library containing logic used by the artifact
URL: http://hl7.org/fhir/StructureDefinition/cqf-library
... 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 C0..*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
.... answerExpression S0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
.... 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.

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


.... itemMinOccurs S0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
..... value[x] 1..1integerValue of extension
...... itemMinOccursCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... itemMinOccursExpression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... itemMaxOccurs S0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... value[x] 1..1integerValue of extension
...... itemMaxOccursCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... itemMaxOccursExpression 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
...... minValueCalculated 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
...... maxValueCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... minQuantity 0..1QuantityMust be >= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity
..... value[x] 0..1QuantityValue of extension
...... minQuantityCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... maxQuantity 0..1QuantityMust be <= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity
..... value[x] 0..1QuantityValue of extension
...... maxQuantityCalculated 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
.... answerOptionsToggleExpression S0..*(Complex)Expression constraining allowed answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
.... unitOption S0..*CodingUnit choice
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption
.... unitValueSet S0..1canonical(ValueSet)Unit choices
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet
.... 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

.... 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
.... allowedResource 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.


.... allowedProfile 0..*canonical(StructureDefinition)Allowed profile for reference
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile
.... candidateExpression 0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression
.... lookupQuestionnaire 0..1canonical()Questionnaire to populate a reference
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire
.... itemConstraint 0..*(Complex)Constraint
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
.... initialExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
.... calculatedExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
.... enableWhenExpression S0..1ExpressionExpression for when to enable the item
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
.... text 0..1stringPrimary text for the item
.... 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
...... requiredExpression 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
...... repeatsExpression 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
...... readOnlyExpression 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
...... answerValueSetExpression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... answerOption 0..*BackboneElementPermitted answer
..... 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 C0..*SDCBaseQuestionnaireAdvanced Behavior Questionnaire
... id Σ0..1idLogical 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): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... 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
... terminologyServer 0..*urlPreferred terminology server
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer
... 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.


... assemble-expectation S0..1codeQuestionnaire is modular
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation
Binding: Questionnaire Assemble Expectation (required)
... 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


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


... constraint 0..*(Complex)Constraint
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
... library 0..*canonical(Library)A library containing logic used by the artifact
URL: http://hl7.org/fhir/StructureDefinition/cqf-library
... 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 ΣC0..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 SC0..*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
.... terminologyServer 0..*urlPreferred terminology server
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-preferredTerminologyServer
.... answerExpression S0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
.... 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.


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


.... itemMinOccurs S0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
..... id 0..1stringUnique id for inter-element referencing
..... 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
...... itemMinOccursCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... itemMinOccursExpression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1integerPrimitive value for integer
.... itemMaxOccurs S0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... id 0..1stringUnique id for inter-element referencing
..... 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
...... itemMaxOccursCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... itemMaxOccursExpression 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
..... 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
....... minValueCalculated 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
..... 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
....... maxValueCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueInstantinstant
...... valueDecimaldecimal
...... valueIntegerinteger
.... 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
..... 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
...... minQuantityCalculated 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 ΣC0..1uriSystem that defines coded unit form
...... code Σ0..1codeCoded form of the unit
.... 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
..... 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
...... maxQuantityCalculated 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 ΣC0..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
.... answerOptionsToggleExpression S0..*(Complex)Expression constraining allowed answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
.... unitOption S0..*CodingUnit choice
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption
.... unitValueSet S0..1canonical(ValueSet)Unit choices
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet
.... 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


.... 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
.... allowedResource 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.


.... allowedProfile 0..*canonical(StructureDefinition)Allowed profile for reference
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile
.... candidateExpression 0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-candidateExpression
.... lookupQuestionnaire 0..1canonical()Questionnaire to populate a reference
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-lookupQuestionnaire
.... itemConstraint 0..*(Complex)Constraint
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
.... initialExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
.... calculatedExpression 0..1ExpressionExpression-determined initial value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
.... 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 C0..*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 ?!C0..*BackboneElementOnly allow data when
..... 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] SC1..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 SC0..1codeall | any
Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.

.... required SC0..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
...... requiredExpression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1booleanPrimitive value for boolean
.... repeats SC0..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
...... repeatsExpression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1booleanPrimitive value for boolean
.... readOnly SC0..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
...... readOnlyExpression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1booleanPrimitive value for boolean
.... maxLength SC0..1integerNo more than this many characters
.... answerValueSet SC0..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
...... answerValueSetExpression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
...... value 0..1stringPrimitive value for string
Max Length: 1048576
.... answerOption SC0..*BackboneElementPermitted answer
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... 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 SC0..*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 SC0..*See item (Questionnaire)Nested questionnaire items

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire C0..*SDCBaseQuestionnaireAdvanced Behavior 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.


... assemble-expectation 0..1codeQuestionnaire is modular
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation
Binding: Questionnaire Assemble Expectation (required)
... 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


... url Σ1..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)
... 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 C0..*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
.... answerExpression 0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
.... 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.


.... itemMinOccurs 0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
..... value[x] 1..1integerValue of extension
...... itemMinOccursExpression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... itemMaxOccurs 0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... value[x] 1..1integerValue of extension
...... itemMaxOccursExpression 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.


.... answerOptionsToggleExpression 0..*(Complex)Expression constraining allowed answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
.... unitOption 0..*CodingUnit choice
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption
.... unitValueSet 0..1canonical(ValueSet)Unit choices
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet
.... allowedResource 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.


.... 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 ?!C0..*BackboneElementOnly allow data when
..... 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] C1..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 C0..1codeall | any
Binding: EnableWhenBehavior (required): Controls how multiple enableWhen values are interpreted - whether all or any must be true.

.... required C0..1booleanWhether the item must be included in data results
..... value 0..1booleanPrimitive value for boolean
...... requiredExpression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... repeats C0..1booleanWhether the item may repeat
..... value 0..1booleanPrimitive value for boolean
...... repeatsExpression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... readOnly C0..1booleanDon't allow human editing
..... value 0..1booleanPrimitive value for boolean
...... readOnlyExpression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... maxLength C0..1integerNo more than this many characters
.... answerValueSet C0..1canonical(SDC ValueSet)Valueset containing permitted answers
..... value 0..1stringPrimitive value for canonical
...... answerValueSetExpression 0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... answerOption C0..*BackboneElementPermitted answer
..... 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 C0..*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 C0..*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: 30 elements

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from SDCBaseQuestionnaire

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 0..*SDCBaseQuestionnaireAdvanced Behavior 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


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


... library 0..*canonical(Library)A library containing logic used by the artifact
URL: http://hl7.org/fhir/StructureDefinition/cqf-library
... 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 C0..*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
.... answerExpression S0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
.... 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.

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


.... itemMinOccurs S0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
..... value[x] 1..1integerValue of extension
...... itemMinOccursCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... itemMinOccursExpression S0..1ExpressionAn dynamic expression
URL: http://hl7.org/fhir/StructureDefinition/cqf-expression
.... itemMaxOccurs S0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
..... value[x] 1..1integerValue of extension
...... itemMaxOccursCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
...... itemMaxOccursExpression 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
...... minValueCalculated 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
...... maxValueCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... minQuantity 0..1QuantityMust be >= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-minQuantity
..... value[x] 0..1QuantityValue of extension
...... minQuantityCalculated 0..1stringA calculated value
URL: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
.... maxQuantity 0..1QuantityMust be <= this value
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-maxQuantity
..... value[x] 0..1QuantityValue of extension
...... maxQuantityCalculated 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
.... answerOptionsToggleExpression S0..*(Complex)Expression constraining allowed answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
.... unitOption S0..*CodingUnit choice
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption
.... unitValueSet S0..1canonical(ValueSet)Unit choices
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet
.... unitOpen 0..1codeUsed to denote if user can specify alternate codes
URL: