eHealth Infrastructure
2.5.0 - release

eHealth Infrastructure - Local Development build (v2.5.0). See the Directory of published versions

Resource Profile: ehealth-questionnaire

Official URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire Version: 2.5.0
Active as of 2023-02-09 Computable Name: ehealth-questionnaire

Introduction

A Questionnaire is a structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.

Scope and Usage

In the eHealth Infrastructure the Questionnaire resource is used in line with this. Questionnaires are built and maintained by Practitioners and presented to Patients by client applications in order to gather input and answers from Patients in the form of QuestionnaireResponse resources.

Setting minimal and maximal number of permitted choices

A question where possible answers are given as a list of options (of item.type set to choice) can allow multiple choices by setting item.repeats to true. When no further constraints are set, item.repeats set to true means that any number of the options can be provided as answer to the question in a QuestionnaireResponse. The standard extensions item.questionnaire-minOccurs and item.questionnaire-maxOccurs can be used to set such further constraints.

  • item.questionnaire-minOccurs sets the minimum number of answers allowed, for instance 2 (of the number of options, say, 5). The element shall be set only when its value is greater than one.
  • item.questionnaire-maxOccurs sets the maximum number of answers allowed, for instance 3 (of the number of options, say 5). The element shall be set only when its value is greater than one.

When exactly one answer shall be required, item.requied shall be set to true and item.repeats shall be set to false. When exactly one answer is permitted, item.requied shall be set to false and item.repeats shall be set to false. In these cases, the minOCcurs and maxOccurs shall not be used.

Feedback to the Patient

The Questionnaire resource supports the Question Feedback Pattern from DK QFDD questionnaires. This enables immediate feedback to the patient upon answering a question.

The feedback is pre-defined in the Questionnaire resource using the item.feedback element, so that for each item a patient feedback can be prepared. The feedback will be shown to the patient if the patient’s answer to an item lies within a given interval. The mechanism only works for questions which can be answered with a numeric value. The interval is defined by the min and a max elements of the feedback extension. If the Patient answers the item with a numeric value in the interval given by min-max then the value of the feedback extension is intended to be shown to the Patient.

Recommendation

In the recommendation element, a questionnaire can optionally hold a “degree of recommendation” intended to aid the Practitioner in deciding whether or not the Questionnaire should be associated with an ActivityDefinition and used in one or more PlanDefinition.

Images for items and answerOptions

For each item and item.answerOption in a Questionnaire, a small image can be associated through extensions item.ehealth-questionnaire-image and item.answerOption.ehealth-questionnaire-image, respectively. Both extensions are based on Binary containing the image data base64 encoded.

In the service, the Binary.contentType is verified against a ValueSet with uri http://ehealth.sundhed.dk/vs/questionnaire-item-image-format while the size of Binary.data must not exceed a configurable size, currently 266Kb (base64 encoded).

Answer significance

The item.ehealth-questionnaire-answerSignificance element functions as a triaging indicator, describing the importance of answers to respective questions.

Answer significance is a colour. Currently the possible values are red, yellow, green. Answer condition specifies the conditions that must be fulfilled for the answer to result in the given colour.

answerSignificance has two sub elements:

  • The answerSignificance.significance element which states the triaging color
  • The answerSignificance.answerCondition contains the value or interval limits for comparison against the given answer.
    • answerCondition.value[x] is the value to compare with an answer and contains various type depending on the need.
    • answerCondition.operator determines the relationship between the answerCondition.value[x] and a given answer. When a single answerSignificance.answerCondition is given, it represents a precise match or possibly open ended interval. Two answerSignificance.answerCondition can specify an interval. To check that a written answer exists, use answerCondition.operator = exists and answerCondition.valueBoolean = true.

Item control

The item.questionnaire-itemControl element enables indication of what sort of user interface control type, for instance radio buttons, to use when displaying an item.

Formatted text

The elements item.text, item.answerOption.value, and item.inital.value supports formatted text for valueString using the standard extension: http://hl7.org/fhir/extension-rendering-xhtml.html Note that the original text without formatting must be added to the elements item.text, item.answerOption.value, and item.inital.value, respectively, for those where the formatted extension has been used.

The extension rendering-styleSensitive indicates if clients must be able to display the formatted text for this Questionnaire, or if not capable to do this, at least indicate to the user that rendering is not appropriate.

Title and description

A Questionnaire has two sets of titles and desriptions. title and description are intended for the citizens and should be of a natural language. Whereas ehealth-employee-title and ehealth-usage are intended for clinicians and should be of a specific and professional language.

Usage:

Formal Views of Profile Content

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

This structure is derived from Questionnaire

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 0..*QuestionnaireA structured set of questions
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... recommendation 0..1CodeableConceptDegree to which this questionnaire is recommended for use.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-recommendation
Binding: QuestionnaireRecommendation (required)
... intendedOrganization 0..*Reference(ehealth-organization) {r}The organization intended to use this questionnaire.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization
... modifierRole 1..*(Complex)Modifier role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... type 1..*CodeableConceptConcept that represents the overall questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type
Binding: Questionnaire Types (required)
... styleSensitive 0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... employeeTitle 0..1stringTitle for clinicians
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-employee-title
... usage 0..1stringusage
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-usage
... predecessor 0..1IdentifierPredecessor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-predecessor
... base 0..1IdentifierBase
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base
... baseEnvironment 0..1IdentifierBase environment
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment
... version 1..1stringBusiness version of the questionnaire
... jurisdiction 0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
Binding: Jurisdiction (required)
... item
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... questionnaire-minOccurs 0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
.... questionnaire-maxOccurs 0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
.... 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
.... questionnaire-sliderStepValue 0..1integerIncrement value for slider
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue
.... feedback 0..1(Complex)Feedback if reponse is within the defined range.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-feedback
.... overviewUsageMode 0..*CodeableConceptIdentifies whether the specified element and/or results of the element should appear in overview or table presentation.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode
Binding: Overview Usage Mode (required)
.... itemControl 0..1CodeableConceptE.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Binding: QuestionnaireItemUIControlCodes (extensible): User interface controls or widgets used for questionnaire items.

..... valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Questionnaire Item Control (required)
.... ehealth-question-image 0..1(Complex)The image for a questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-image
.... shortText 0..1stringShort text
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-shortText
.... answerSignificance 0..*(Complex)The Answer significance for an answer
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-answerSignificance
.... text
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
.... answerOption
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... ehealth-answeroption-image 0..1(Complex)The image for a questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-image
..... value[x]
...... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
.... initial
..... value[x]
...... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Questionnaire.jurisdictionrequiredJurisdiction
Questionnaire.item.extension:itemControl.valueCodeableConceptrequiredQuestionnaireItemControl
NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire C0..*QuestionnaireA structured set of questions
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... recommendation 0..1CodeableConceptDegree to which this questionnaire is recommended for use.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-recommendation
Binding: QuestionnaireRecommendation (required)
... revision 0..1stringBusiness revision
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision
... modifierRole 1..*(Complex)Modifier role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... type 1..*CodeableConceptConcept that represents the overall questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type
Binding: Questionnaire Types (required)
... styleSensitive 0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... employeeTitle 0..1stringTitle for clinicians
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-employee-title
... usage 0..1stringusage
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-usage
... predecessor 0..1IdentifierPredecessor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-predecessor
... base 0..1IdentifierBase
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base
... baseEnvironment 0..1IdentifierBase environment
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... version Σ1..1stringBusiness version of the questionnaire
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.

... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
Binding: Jurisdiction (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Questionnaire.statusrequiredPublicationStatus
Questionnaire.jurisdictionrequiredJurisdiction
NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire C0..*QuestionnaireA structured set of questions
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... recommendation 0..1CodeableConceptDegree to which this questionnaire is recommended for use.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-recommendation
Binding: QuestionnaireRecommendation (required)
... intendedOrganization 0..*Reference(ehealth-organization) {r}The organization intended to use this questionnaire.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization
... revision 0..1stringBusiness revision
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision
... modifierRole 1..*(Complex)Modifier role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... type 1..*CodeableConceptConcept that represents the overall questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type
Binding: Questionnaire Types (required)
... styleSensitive 0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... employeeTitle 0..1stringTitle for clinicians
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-employee-title
... usage 0..1stringusage
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-usage
... predecessor 0..1IdentifierPredecessor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-predecessor
... base 0..1IdentifierBase
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base
... baseEnvironment 0..1IdentifierBase environment
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url Σ0..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)
... identifier Σ0..*IdentifierAdditional identifier for the questionnaire
... version Σ1..1stringBusiness version of the questionnaire
... name ΣC0..1stringName for this questionnaire (computer friendly)
... title Σ0..1stringName for this questionnaire (human friendly)
... derivedFrom 0..*canonical(Questionnaire)Instantiates protocol or definition
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.

... experimental Σ0..1booleanFor testing purposes, not real usage
... 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.


... 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 (required)
... 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 C0..*BackboneElementQuestions and sections within the Questionnaire
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... questionnaire-minOccurs 0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
.... questionnaire-maxOccurs 0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
.... 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
.... questionnaire-sliderStepValue 0..1integerIncrement value for slider
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue
.... feedback 0..1(Complex)Feedback if reponse is within the defined range.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-feedback
.... overviewUsageMode 0..*CodeableConceptIdentifies whether the specified element and/or results of the element should appear in overview or table presentation.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode
Binding: Overview Usage Mode (required)
.... itemControl 0..1CodeableConceptE.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Binding: QuestionnaireItemUIControlCodes (extensible): User interface controls or widgets used for questionnaire items.


..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
Binding: QuestionnaireItemUIControlCodes (extensible): User interface controls or widgets used for questionnaire items.

...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Questionnaire Item Control (required)
.... ehealth-question-image 0..1(Complex)The image for a questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-image
.... shortText 0..1stringShort text
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-shortText
.... answerSignificance 0..*(Complex)The Answer significance for an answer
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-answerSignificance
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId 1..1stringUnique id for item in questionnaire
.... definition 0..1uriElementDefinition - details for the item
.... code C0..*CodingCorresponding concept for this item in a terminology
Binding: QuestionnaireQuestionCodes (example): Codes for questionnaires, groups and individual questions.


.... prefix 0..1stringE.g. "1(a)", "2.5.3"
.... text 0..1stringPrimary text for the item
..... id 0..1stringxml:id (or equivalent in JSON)
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... value 0..1stringPrimitive value for string
Max Length: 1048576
.... type 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions.

.... enableWhen ?!C0..*BackboneElementOnly allow data when
..... 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 1..1stringQuestion that determines whether item is enabled
..... operator 1..1codeexists | = | != | > | < | >= | <=
Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled.

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

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

.... required C0..1booleanWhether the item must be included in data results
.... repeats C0..1booleanWhether the item may repeat
.... readOnly C0..1booleanDon't allow human editing
.... maxLength C0..1integerNo more than this many characters
.... answerValueSet C0..1canonical(ValueSet)Valueset containing permitted answers
.... answerOption C0..*BackboneElementPermitted answer
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... ehealth-answeroption-image 0..1(Complex)The image for a questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-image
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] 1..1Answer value
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... 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
....... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
...... valueIntegerinteger
...... valueDatedate
...... valueTimetime
...... valueStringstring
...... valueCodingCoding
...... valueReferenceReference(Resource)
..... initialSelected 0..1booleanWhether option is selected by default
.... initial C0..*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] 1..1Actual value for initializing the question
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... 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
....... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
...... valueBooleanboolean
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
.... item C0..*See item (Questionnaire)Nested questionnaire items

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Questionnaire.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Questionnaire.statusrequiredPublicationStatus
Questionnaire.subjectTyperequiredResourceType
Questionnaire.jurisdictionrequiredJurisdiction
Questionnaire.codeexampleQuestionnaireQuestionCodes (a valid code from LOINC)
Questionnaire.item.extension:itemControl.value[x]extensibleQuestionnaireItemUIControlCodes
Questionnaire.item.extension:itemControl.value[x]:valueCodeableConceptrequiredQuestionnaireItemControl
Questionnaire.item.codeexampleQuestionnaireQuestionCodes (a valid code from LOINC)
Questionnaire.item.typerequiredQuestionnaireItemType
Questionnaire.item.enableWhen.operatorrequiredQuestionnaireItemOperator
Questionnaire.item.enableWhen.answer[x]exampleQuestionnaireAnswerCodes (a valid code from SNOMED CT)
Questionnaire.item.enableBehaviorrequiredEnableWhenBehavior
Questionnaire.item.answerOption.value[x]exampleQuestionnaireAnswerCodes (a valid code from SNOMED CT)
Questionnaire.item.initial.value[x]exampleQuestionnaireAnswerCodes (a valid code from SNOMED CT)

This structure is derived from Questionnaire

Summary

Mandatory: 3 elements (1 nested mandatory element)

Extensions

This structure refers to these extensions:

Differential View

This structure is derived from Questionnaire

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire 0..*QuestionnaireA structured set of questions
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... recommendation 0..1CodeableConceptDegree to which this questionnaire is recommended for use.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-recommendation
Binding: QuestionnaireRecommendation (required)
... intendedOrganization 0..*Reference(ehealth-organization) {r}The organization intended to use this questionnaire.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization
... modifierRole 1..*(Complex)Modifier role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... type 1..*CodeableConceptConcept that represents the overall questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type
Binding: Questionnaire Types (required)
... styleSensitive 0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... employeeTitle 0..1stringTitle for clinicians
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-employee-title
... usage 0..1stringusage
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-usage
... predecessor 0..1IdentifierPredecessor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-predecessor
... base 0..1IdentifierBase
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base
... baseEnvironment 0..1IdentifierBase environment
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment
... version 1..1stringBusiness version of the questionnaire
... jurisdiction 0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
Binding: Jurisdiction (required)
... item
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... questionnaire-minOccurs 0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
.... questionnaire-maxOccurs 0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
.... 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
.... questionnaire-sliderStepValue 0..1integerIncrement value for slider
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue
.... feedback 0..1(Complex)Feedback if reponse is within the defined range.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-feedback
.... overviewUsageMode 0..*CodeableConceptIdentifies whether the specified element and/or results of the element should appear in overview or table presentation.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode
Binding: Overview Usage Mode (required)
.... itemControl 0..1CodeableConceptE.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Binding: QuestionnaireItemUIControlCodes (extensible): User interface controls or widgets used for questionnaire items.

..... valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Questionnaire Item Control (required)
.... ehealth-question-image 0..1(Complex)The image for a questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-image
.... shortText 0..1stringShort text
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-shortText
.... answerSignificance 0..*(Complex)The Answer significance for an answer
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-answerSignificance
.... text
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
.... answerOption
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... ehealth-answeroption-image 0..1(Complex)The image for a questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-image
..... value[x]
...... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
.... initial
..... value[x]
...... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Questionnaire.jurisdictionrequiredJurisdiction
Questionnaire.item.extension:itemControl.valueCodeableConceptrequiredQuestionnaireItemControl

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire C0..*QuestionnaireA structured set of questions
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... recommendation 0..1CodeableConceptDegree to which this questionnaire is recommended for use.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-recommendation
Binding: QuestionnaireRecommendation (required)
... revision 0..1stringBusiness revision
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision
... modifierRole 1..*(Complex)Modifier role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... type 1..*CodeableConceptConcept that represents the overall questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type
Binding: Questionnaire Types (required)
... styleSensitive 0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... employeeTitle 0..1stringTitle for clinicians
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-employee-title
... usage 0..1stringusage
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-usage
... predecessor 0..1IdentifierPredecessor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-predecessor
... base 0..1IdentifierBase
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base
... baseEnvironment 0..1IdentifierBase environment
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... version Σ1..1stringBusiness version of the questionnaire
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.

... jurisdiction Σ0..*CodeableConceptIntended jurisdiction for questionnaire (if applicable)
Binding: Jurisdiction (required)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Questionnaire.statusrequiredPublicationStatus
Questionnaire.jurisdictionrequiredJurisdiction

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Questionnaire C0..*QuestionnaireA structured set of questions
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: CommonLanguages (preferred): A human language.

Additional BindingsPurpose
AllLanguagesMax Binding
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 2..*ExtensionExtension
Slice: Unordered, Open by value:url
... recommendation 0..1CodeableConceptDegree to which this questionnaire is recommended for use.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-recommendation
Binding: QuestionnaireRecommendation (required)
... intendedOrganization 0..*Reference(ehealth-organization) {r}The organization intended to use this questionnaire.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-intendedOrganization
... revision 0..1stringBusiness revision
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-revision
... modifierRole 1..*(Complex)Modifier role
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-modifier-role
... type 1..*CodeableConceptConcept that represents the overall questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-type
Binding: Questionnaire Types (required)
... styleSensitive 0..1booleanAre styles important for processing?
URL: http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive
... employeeTitle 0..1stringTitle for clinicians
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-employee-title
... usage 0..1stringusage
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-usage
... predecessor 0..1IdentifierPredecessor
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-predecessor
... base 0..1IdentifierBase
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base
... baseEnvironment 0..1IdentifierBase environment
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-base-environment
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... url Σ0..1uriCanonical identifier for this questionnaire, represented as a URI (globally unique)
... identifier Σ0..*IdentifierAdditional identifier for the questionnaire
... version Σ1..1stringBusiness version of the questionnaire
... name ΣC0..1stringName for this questionnaire (computer friendly)
... title Σ0..1stringName for this questionnaire (human friendly)
... derivedFrom 0..*canonical(Questionnaire)Instantiates protocol or definition
... status ?!Σ1..1codedraft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of an artifact.

... experimental Σ0..1booleanFor testing purposes, not real usage
... 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.


... 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 (required)
... 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 C0..*BackboneElementQuestions and sections within the Questionnaire
.... id 0..1stringUnique id for inter-element referencing
.... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
.... questionnaire-minOccurs 0..1integerMinimum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
.... questionnaire-maxOccurs 0..1integerMaximum repetitions
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
.... 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
.... questionnaire-sliderStepValue 0..1integerIncrement value for slider
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue
.... feedback 0..1(Complex)Feedback if reponse is within the defined range.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-feedback
.... overviewUsageMode 0..*CodeableConceptIdentifies whether the specified element and/or results of the element should appear in overview or table presentation.
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-overviewUsageMode
Binding: Overview Usage Mode (required)
.... itemControl 0..1CodeableConceptE.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.
URL: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Binding: QuestionnaireItemUIControlCodes (extensible): User interface controls or widgets used for questionnaire items.


..... id 0..1stringUnique id for inter-element referencing
..... extension 0..0
..... url 1..1uri"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"
..... Slices for value[x] 1..1CodeableConceptValue of extension
Slice: Unordered, Closed by type:$this
Binding: QuestionnaireItemUIControlCodes (extensible): User interface controls or widgets used for questionnaire items.

...... value[x]:valueCodeableConcept 1..1CodeableConceptValue of extension
Binding: Questionnaire Item Control (required)
.... ehealth-question-image 0..1(Complex)The image for a questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-image
.... shortText 0..1stringShort text
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-shortText
.... answerSignificance 0..*(Complex)The Answer significance for an answer
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-answerSignificance
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... linkId 1..1stringUnique id for item in questionnaire
.... definition 0..1uriElementDefinition - details for the item
.... code C0..*CodingCorresponding concept for this item in a terminology
Binding: QuestionnaireQuestionCodes (example): Codes for questionnaires, groups and individual questions.


.... prefix 0..1stringE.g. "1(a)", "2.5.3"
.... text 0..1stringPrimary text for the item
..... id 0..1stringxml:id (or equivalent in JSON)
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
..... value 0..1stringPrimitive value for string
Max Length: 1048576
.... type 1..1codegroup | display | boolean | decimal | integer | date | dateTime +
Binding: QuestionnaireItemType (required): Distinguishes groups from questions and display text and indicates data type for questions.

.... enableWhen ?!C0..*BackboneElementOnly allow data when
..... 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 1..1stringQuestion that determines whether item is enabled
..... operator 1..1codeexists | = | != | > | < | >= | <=
Binding: QuestionnaireItemOperator (required): The criteria by which a question is enabled.

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

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

.... required C0..1booleanWhether the item must be included in data results
.... repeats C0..1booleanWhether the item may repeat
.... readOnly C0..1booleanDon't allow human editing
.... maxLength C0..1integerNo more than this many characters
.... answerValueSet C0..1canonical(ValueSet)Valueset containing permitted answers
.... answerOption C0..*BackboneElementPermitted answer
..... id 0..1stringUnique id for inter-element referencing
..... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
..... ehealth-answeroption-image 0..1(Complex)The image for a questionnaire
URL: http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-questionnaire-image
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... value[x] 1..1Answer value
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... 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
....... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
...... valueIntegerinteger
...... valueDatedate
...... valueTimetime
...... valueStringstring
...... valueCodingCoding
...... valueReferenceReference(Resource)
..... initialSelected 0..1booleanWhether option is selected by default
.... initial C0..*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] 1..1Actual value for initializing the question
Binding: QuestionnaireAnswerCodes (example): Allowed values to answer questions.

...... 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
....... xhtml 0..1stringString equivalent with html markup
URL: http://hl7.org/fhir/StructureDefinition/rendering-xhtml
...... valueBooleanboolean
...... valueDecimaldecimal
...... valueIntegerinteger
...... valueDatedate
...... valueDateTimedateTime
...... valueTimetime
...... valueStringstring
...... valueUriuri
...... valueAttachmentAttachment
...... valueCodingCoding
...... valueQuantityQuantity
...... valueReferenceReference(Resource)
.... item C0..*See item (Questionnaire)Nested questionnaire items

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Questionnaire.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
Questionnaire.statusrequiredPublicationStatus
Questionnaire.subjectTyperequiredResourceType
Questionnaire.jurisdictionrequiredJurisdiction
Questionnaire.codeexampleQuestionnaireQuestionCodes (a valid code from LOINC)
Questionnaire.item.extension:itemControl.value[x]extensibleQuestionnaireItemUIControlCodes
Questionnaire.item.extension:itemControl.value[x]:valueCodeableConceptrequiredQuestionnaireItemControl
Questionnaire.item.codeexampleQuestionnaireQuestionCodes (a valid code from LOINC)
Questionnaire.item.typerequiredQuestionnaireItemType
Questionnaire.item.enableWhen.operatorrequiredQuestionnaireItemOperator
Questionnaire.item.enableWhen.answer[x]exampleQuestionnaireAnswerCodes (a valid code from SNOMED CT)
Questionnaire.item.enableBehaviorrequiredEnableWhenBehavior
Questionnaire.item.answerOption.value[x]exampleQuestionnaireAnswerCodes (a valid code from SNOMED CT)
Questionnaire.item.initial.value[x]exampleQuestionnaireAnswerCodes (a valid code from SNOMED CT)

This structure is derived from Questionnaire

Summary

Mandatory: 3 elements (1 nested mandatory element)

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron