Structured Data Capture
3.0.0 - STU 3 International flag

This page is part of the Structured Data Capture FHIR IG (v3.0.0: STU 3) based on FHIR R4. This is the current published version. For a full list of available versions, 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: Trial-use Maturity Level: 3 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.

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:

Maturity: 3

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 I0..*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 S0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
.... 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
.... 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-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..1canonical()Questionnaire 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
.... 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
...... 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-assemble-expectation S0..1codeQuestionnaire is modular
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation
Binding: Questionnaire Assemble Expectation (required)
... 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 SI0..*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
.... 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
.... 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-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..1canonical()Questionnaire 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-assemble-expectation 0..1codeQuestionnaire is modular
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assemble-expectation
Binding: Questionnaire Assemble Expectation (required)
... 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


... 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 I0..*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
.... 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: 30 elements

Extensions

This structure refers to these extensions:

Maturity: 3

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 I0..*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 S0..1ExpressionExpression for possible answers
URL: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
.... 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
.... 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-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..1canonical()Questionnaire 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
.... 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
...... 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

Snapshot View

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

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Questionnaire.languagepreferredCommonLanguages
Max Binding: AllLanguages
Questionnaire.statusrequiredPublicationStatus
Questionnaire.subjectTyperequiredResourceType
Questionnaire.jurisdictionextensibleJurisdiction ValueSet
Questionnaire.codeexampleQuestionnaireQuestionCodes
Questionnaire.item.extension:minQuantity.value[x].comparatorrequiredQuantityComparator
Questionnaire.item.extension:maxQuantity.value[x].comparatorrequiredQuantityComparator
Questionnaire.item.codeexampleQuestionnaireQuestionCodes
Questionnaire.item.typerequiredQuestionnaireItemType
Questionnaire.item.enableWhen.operatorrequiredQuestionnaireItemOperator
Questionnaire.item.enableWhen.answer[x]exampleQuestionnaireAnswerCodes
Questionnaire.item.enableBehaviorrequiredEnableWhenBehavior
Questionnaire.item.answerOption.value[x]exampleQuestionnaireAnswerCodes
Questionnaire.item.initial.value[x]exampleQuestionnaireAnswerCodes

Constraints

IdGradePathDetailsRequirements
dom-2errorQuestionnaireIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorQuestionnaireIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorQuestionnaireIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorQuestionnaireIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6Best PracticeQuestionnaireA resource should have narrative for robust management
: text.`div`.exists()
que-0warningQuestionnaireName should be usable as an identifier for the module by machine processing applications such as code generation
: name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
que-2errorQuestionnaireThe link ids for groups and questions must be unique within the questionnaire
: descendants().linkId.isDistinct()
ele-1errorQuestionnaire.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:designNoteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:designNoteMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:terminologyServerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:terminologyServerMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:performerTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:performerTypeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:assemble-expectationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:assemble-expectationMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:entryModeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:entryModeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:submissionEndpointAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:submissionEndpointMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:signatureRequiredAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:signatureRequiredMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:constraintAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:constraintMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:libraryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:libraryMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:launchContextAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:launchContextMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.extension:variableAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.extension:variableMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.urlAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.versionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.nameAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.titleAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.derivedFromAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.experimentalAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.subjectTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.dateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.publisherAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.contactAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.descriptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.useContextAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.jurisdictionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.purposeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.copyrightAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.approvalDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.lastReviewDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.effectivePeriodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.itemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
que-1errorQuestionnaire.itemGroup items must have nested items, display items cannot have nested items
: (type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())
que-3errorQuestionnaire.itemDisplay items cannot have a "code" asserted
: type!='display' or code.empty()
que-4errorQuestionnaire.itemA question cannot have both answerOption and answerValueSet
: answerOption.empty() or answerValueSet.empty()
que-5errorQuestionnaire.itemOnly 'choice' and 'open-choice' items can have answerValueSet
: (type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())
que-6errorQuestionnaire.itemRequired and repeat aren't permitted for display items
: type!='display' or (required.empty() and repeats.empty())
que-8errorQuestionnaire.itemInitial values can't be specified for groups or display items
: (type!='group' and type!='display') or initial.empty()
que-9errorQuestionnaire.itemRead-only can't be specified for "display" items
: type!='display' or readOnly.empty()
que-10errorQuestionnaire.itemMaximum length can only be declared for simple question types
: (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
que-11errorQuestionnaire.itemIf one or more answerOption is present, initial[x] must be missing
: answerOption.empty() or initial.empty()
que-12errorQuestionnaire.itemIf there are more than one enableWhen, enableBehavior must be specified
: enableWhen.count() > 2 implies enableBehavior.exists()
que-13errorQuestionnaire.itemCan only have multiple initial values for repeating items
: repeats=true or initial.count() <= 1
sdc-1errorQuestionnaire.itemAn item cannot have an answerExpression if answerOption or answerValueSet is already present.
: extension('http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression').empty().not() implies (answerOption.empty() and answerValueSet.empty())
sdc-behave-2errorQuestionnaire.itemAn item cannot have both enableWhen and enableWhenExpression
: enableWhen.empty() or extension('http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression').empty()
sdc-behave-1errorQuestionnaire.itemAn item cannot have both initial.value and initialExpression
: initial.empty() or extension('http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression').empty()
ele-1errorQuestionnaire.item.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:designNoteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:designNoteMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:terminologyServerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:terminologyServerMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:answerExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:answerExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:usageModeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:usageModeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemSignatureRequiredAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemSignatureRequiredMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemMinOccursAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemMinOccursMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemMinOccurs.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:itemMinOccurs.value[x].extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemMinOccurs.value[x].extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemMinOccurs.value[x].extension:itemMinOccursCalculatedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemMinOccurs.value[x].extension:itemMinOccursCalculatedMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemMinOccurs.value[x].extension:itemMinOccursExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemMinOccurs.value[x].extension:itemMinOccursExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemMaxOccursAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemMaxOccursMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemMaxOccurs.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:itemMaxOccurs.value[x].extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemMaxOccurs.value[x].extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemMaxOccurs.value[x].extension:itemMaxOccursCalculatedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemMaxOccurs.value[x].extension:itemMaxOccursCalculatedMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemMaxOccurs.value[x].extension:itemMaxOccursExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemMaxOccurs.value[x].extension:itemMaxOccursExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:minLengthAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:minLengthMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:regexAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:regexMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:minValueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:minValueMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:minValue.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:minValue.value[x].extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:minValue.value[x].extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:minValue.value[x].extension:minValueCalculatedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:minValue.value[x].extension:minValueCalculatedMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:maxValueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:maxValueMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:maxValue.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:maxValue.value[x].extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:maxValue.value[x].extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:maxValue.value[x].extension:maxValueCalculatedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:maxValue.value[x].extension:maxValueCalculatedMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:minQuantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:minQuantityMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:minQuantity.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:minQuantity.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:minQuantity.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:minQuantity.value[x].extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:minQuantity.value[x].extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:minQuantity.value[x].extension:minQuantityCalculatedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:minQuantity.value[x].extension:minQuantityCalculatedMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:minQuantity.value[x].valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:minQuantity.value[x].comparatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:minQuantity.value[x].unitAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:minQuantity.value[x].systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:minQuantity.value[x].codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:maxQuantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:maxQuantityMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:maxQuantity.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:maxQuantity.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:maxQuantity.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:maxQuantity.value[x].extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:maxQuantity.value[x].extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:maxQuantity.value[x].extension:maxQuantityCalculatedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:maxQuantity.value[x].extension:maxQuantityCalculatedMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:maxQuantity.value[x].valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:maxQuantity.value[x].comparatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:maxQuantity.value[x].unitAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:maxQuantity.value[x].systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:maxQuantity.value[x].codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.extension:maxDecimalPlacesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:maxDecimalPlacesMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:mimeTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:mimeTypeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:maxSizeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:maxSizeMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:answerOptionsToggleExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:answerOptionsToggleExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:unitOptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:unitOptionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:unitValueSetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:unitValueSetMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:unitOpenAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:unitOpenMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:unitSupplementalSystemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:unitSupplementalSystemMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:allowedResourceAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:allowedResourceMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:allowedProfileAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:allowedProfileMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:candidateExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:candidateExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:lookupQuestionnaireAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:lookupQuestionnaireMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:itemConstraintAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:itemConstraintMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:initialExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:initialExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:calculatedExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:calculatedExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.extension:enableWhenExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.extension:enableWhenExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.linkIdAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.definitionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.prefixAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.enableWhenAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
que-7errorQuestionnaire.item.enableWhenIf the operator is 'exists', the value must be a boolean
: operator = 'exists' implies (answer is Boolean)
ele-1errorQuestionnaire.item.enableWhen.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.enableWhen.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.enableWhen.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.enableWhen.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.enableWhen.questionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.enableWhen.operatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.enableWhen.answer[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.enableBehaviorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.requiredAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.required.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.required.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.required.value.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.required.value.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.required.value.extension:requiredExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.required.value.extension:requiredExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.repeatsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.repeats.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.repeats.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.repeats.value.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.repeats.value.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.repeats.value.extension:repeatsExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.repeats.value.extension:repeatsExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.readOnlyAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.readOnly.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.readOnly.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.readOnly.value.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.readOnly.value.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.readOnly.value.extension:readOnlyExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.readOnly.value.extension:readOnlyExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.maxLengthAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.answerValueSetAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.answerValueSet.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.answerValueSet.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.answerValueSet.value.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.answerValueSet.value.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.answerValueSet.value.extension:answerValueSetExpressionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.answerValueSet.value.extension:answerValueSetExpressionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.answerOptionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.answerOption.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.answerOption.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.answerOption.extension:optionExclusiveAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.answerOption.extension:optionExclusiveMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.answerOption.extension:ordinalValueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.answerOption.extension:ordinalValueMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.answerOption.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.answerOption.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.answerOption.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.answerOption.initialSelectedAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.initialAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.initial.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.initial.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.initial.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorQuestionnaire.item.initial.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorQuestionnaire.item.initial.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorQuestionnaire.item.itemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())