http://hl7.org/fhir/StructureDefinition/Questionnaire|5.0.0
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.
description: 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. derivation: specialization name: Questionnaire type: Questionnaire elements: description: {isModifier: false, short: Natural language description of the questionnaire, mustSupport: false, isSummary: true, index: 14} subjectType: isModifier: false short: Resource that can be subject of QuestionnaireResponse mustSupport: false array: true binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/resource-types|5.0.0'} isSummary: true index: 10 date: {isModifier: false, short: Date last changed, mustSupport: false, isSummary: true, index: 11} publisher: {isModifier: false, short: Name of the publisher/steward (organization or individual), mustSupport: false, isSummary: true, index: 12} approvalDate: {isModifier: false, short: When the questionnaire was approved by publisher, mustSupport: false, isSummary: false, index: 20} jurisdiction: isModifier: false short: Intended jurisdiction for questionnaire (if applicable) mustSupport: false array: true binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/ValueSet/jurisdiction'} isSummary: true index: 16 derivedFrom: {isModifier: false, short: Based on Questionnaire, mustSupport: false, array: true, isSummary: true, index: 7} purpose: {isModifier: false, short: Why this questionnaire is defined, mustSupport: false, isSummary: false, index: 17} name: {isModifier: false, short: Name for this questionnaire (computer friendly), mustSupport: false, isSummary: true, index: 5} item: constraint: que-14: {human: Can only have answerConstraint if answerOption or answerValueSet are present. (This is a warning because extensions may serve the same purpose), source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: warning, expression: answerConstraint.exists() implies answerOption.exists() or answerValueSet.exists()} que-6: {human: Required and repeat aren't permitted for display items, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: type!='display' or (required.empty() and repeats.empty())} que-3: {human: Display items cannot have a "code" asserted, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: type!='display' or code.empty()} que-1a: {human: Group items must have nested items when Questionanire is complete, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: (type='group' and %resource.status='complete') implies item.empty().not()} que-4: {human: A question cannot have both answerOption and answerValueSet, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: answerOption.empty() or answerValueSet.empty()} que-8: {human: Initial values can't be specified for groups or display items, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: (type!='group' and type!='display') or initial.empty()} que-13: {human: Can only have multiple initial values for repeating items, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: repeats=true or initial.count() <= 1} que-12: {human: 'If there are more than one enableWhen, enableBehavior must be specified', source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: enableWhen.count() > 1 implies enableBehavior.exists()} que-1c: {human: Display items cannot have child items, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: type='display' implies item.empty()} que-11: {human: 'If one or more answerOption is present, initial cannot be present. Use answerOption.initialSelected instead', source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: answerOption.empty() or initial.empty()} que-9: {human: Read-only can't be specified for "display" items, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: type!='display' or readOnly.empty()} que-1b: {human: Groups should have items, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: warning, expression: type='group' implies item.empty().not()} que-10: {human: Maximum length can only be declared for simple question types, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url')) or answerConstraint='optionOrString' or maxLength.empty()} que-5: {human: 'Only coding, decimal, integer, date, dateTime, time, string or quantity items can have answerOption or answerValueSet', source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: (type='coding' 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())} isModifier: false short: Questions and sections within the Questionnaire index: 24 mustSupport: false array: true elements: enableBehavior: isModifier: false short: all | any mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|5.0.0'} isSummary: false index: 36 definition: {isModifier: false, short: ElementDefinition - details for the item, mustSupport: false, isSummary: false, index: 26} disabledDisplay: isModifier: false short: hidden | protected mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/questionnaire-disabled-display|5.0.0'} isSummary: false index: 37 linkId: constraint: que-15: {human: Link ids should be 255 characters or less, source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: warning, expression: $this.length() <= 255} isModifier: false short: Unique id for item in questionnaire mustSupport: false isSummary: false index: 25 repeats: {isModifier: false, short: Whether the item may repeat, mustSupport: false, meaningWhenMissing: Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value, isSummary: false, index: 39} answerConstraint: isModifier: false short: optionsOnly | optionsOrType | optionsOrString mustSupport: false meaningWhenMissing: If not specified, answerConstraint is presumed to be 'optionsOnly' binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/questionnaire-answer-constraint|5.0.0'} isSummary: false index: 42 item: elementReference: ['http://hl7.org/fhir/StructureDefinition/Questionnaire', elements, item] isModifier: false short: Nested questionnaire items mustSupport: false array: true isSummary: false index: 51 type: isModifier: false short: group | display | boolean | decimal | integer | date | dateTime + mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/item-type|5.0.0'} isSummary: false index: 30 enableWhen: constraint: que-7: {human: 'If the operator is ''exists'', the value must be a boolean', source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: error, expression: operator = 'exists' implies (answer is boolean)} isModifier: true short: Only allow data when index: 31 mustSupport: false array: true elements: question: {isModifier: false, short: The linkId of question that determines whether item is enabled/disabled, mustSupport: false, isSummary: false, index: 32} operator: isModifier: false short: exists | = | != | > | < | >= | <= mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|5.0.0'} isSummary: false index: 33 answer: isModifier: false short: Value for question comparison based on operator mustSupport: false choices: [] isSummary: false index: 35 isModifierReason: If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present required: [operator, question, answer] isSummary: false answerOption: isModifier: false short: Permitted answer mustSupport: false array: true isSummary: false index: 44 elements: value: isModifier: false short: Answer value mustSupport: false choices: [] isSummary: false index: 46 initialSelected: {isModifier: false, short: Whether option is selected by default, mustSupport: false, meaningWhenMissing: Only selected items explicitly marked to be selected, isSummary: false, index: 47} required: [value] prefix: {isModifier: false, short: 'E.g. \"1(a)\", \"2.5.3\"', mustSupport: false, isSummary: false, index: 28} readOnly: {isModifier: false, short: Don't allow human editing, mustSupport: false, isSummary: false, index: 40} answerValueSet: {isModifier: false, short: ValueSet containing permitted answers, mustSupport: false, isSummary: false, index: 43} code: isModifier: false short: Corresponding concept for this item in a terminology mustSupport: false array: true binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/questionnaire-questions'} isSummary: false index: 27 initial: isModifier: false short: Initial value(s) when item is first rendered mustSupport: false array: true isSummary: false index: 48 elements: value: isModifier: false short: Actual value for initializing the question mustSupport: false choices: [] isSummary: false index: 50 required: [value] maxLength: {isModifier: false, short: No more than these many characters, mustSupport: false, isSummary: false, index: 41} required: {isModifier: false, short: Whether the item must be included in data results, mustSupport: false, meaningWhenMissing: 'Items are assumed not to be required unless explicitly specified, though extensions may impose additional expectations', isSummary: false, index: 38} text: {isModifier: false, short: Primary text for the item, mustSupport: false, isSummary: false, index: 29} required: [type, linkId] isSummary: false copyrightLabel: {isModifier: false, short: Copyright holder and year(s), mustSupport: false, isSummary: false, index: 19} useContext: {isModifier: false, short: The context that the content is intended to support, mustSupport: false, array: true, isSummary: true, index: 15} copyright: {isModifier: false, short: Use and/or publishing restrictions, mustSupport: false, isSummary: false, index: 18} versionAlgorithm: isModifier: false short: How to compare versions mustSupport: false choices: [] isSummary: true index: 4 experimental: {isModifier: false, short: 'For testing purposes, not real usage', mustSupport: false, meaningWhenMissing: 'If absent, this resource is treated as though it is not experimental.', isSummary: true, index: 9} title: {isModifier: false, short: Name for this questionnaire (human friendly), mustSupport: false, isSummary: true, index: 6} status: isModifier: true short: draft | active | retired | unknown mustSupport: false binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/publication-status|5.0.0'} isModifierReason: This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration isSummary: true index: 8 url: constraint: cnl-1: {human: 'URL should not contain | or # - these characters make processing canonical references problematic', source: 'http://hl7.org/fhir/StructureDefinition/Questionnaire', severity: warning, expression: 'exists() implies matches(''^[^|# ]+$'')'} isModifier: false short: Canonical identifier for this questionnaire, represented as an absolute URI (globally unique) mustSupport: false isSummary: true index: 0 code: isModifier: false short: Concept that represents the overall questionnaire mustSupport: false array: true binding: {strength: example, valueSet: 'http://hl7.org/fhir/ValueSet/questionnaire-questions'} isSummary: true index: 23 identifier: {isModifier: false, short: Business identifier for questionnaire, mustSupport: false, array: true, isSummary: true, index: 1} lastReviewDate: {isModifier: false, short: When the questionnaire was last reviewed by the publisher, mustSupport: false, isSummary: false, index: 21} version: {isModifier: false, short: Business version of the questionnaire, mustSupport: false, isSummary: true, index: 2} contact: {isModifier: false, short: Contact details for the publisher, mustSupport: false, array: true, isSummary: true, index: 13} effectivePeriod: {isModifier: false, short: When the questionnaire is expected to be used, mustSupport: false, isSummary: true, index: 22} class: resource kind: resource url: http://hl7.org/fhir/StructureDefinition/Questionnaire base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 5.0.0 required: [status]