visit the hl7 website
Ontario eForms HL7® FHIR® SDC Implementation Guide - v1.0.0 Ballot
fhir-logo
  • Index
  • Home
    • Home
    • Introduction
    • Relationship to Other Specifications
    • Scope
    • Glossary
  • Business Context
    • Business Context
    • Business Model
    • Business Data
    • Use Cases
  • Technical Context
    • Technical Context
    • Form Behavior and Rendering
    • Implementer Responsibility
    • Conformance Rules
    • Connectivity Summary
  • FHIR Artifacts
    • FHIR Artifacts
    • Profiles
    • Extensions
    • Terminology
    • Examples
    • Response Handling
    • Downloads
  • Change Log
    • Change Log
    • Known Issues & Future Developments
    • Revision History
    1. Index
    2. FHIR Artifacts
    3. Profiles
    4. Questionnaire Profile

For a full list of available versions, see the Directory of published versions

4.1.1. Questionnaire Profile

This profile constrains the FHIR R4 Questionnaire resource to support Ontario Health eForms rendering and processing requirements. It builds on HL7 SDC capabilities and defines additional constraints needed for consistent form rendering, population, extraction, and QuestionnaireResponse narrative generation.

Simplifier project page: Ontario SDC Questionnaire profile

Derived From: Questionnaire

Canonical_Url Profile_Status Profile_Version FHIR_Version


4.1.1.1. Usage

This profile is used for Ontario Health-supplied Questionnaires intended to be rendered and completed by EMRs and other form fillers. It defines the allowed content and constraints for Questionnaires, including:

  • rendering instructions (styles and rich XHTML content),
  • conditional behavior, flow control, and input-time validation,
  • native pre-population logic,
  • extraction metadata for downstream resource generation, and
  • linkage to Liquid templates for rendering completed QuestionnaireResponses.

Note: For details on how legacy Ontario form elements map to FHIR elements and extension, see the Ontario SDC Questionnaire Mapping Table on Simplifier.

Note: This profile uses role-based implementation obligations (Renderer, Population Engine, Extraction Engine, QR Narrative Generator). See the Conformance Rules section for how to interpret obligation codes.


4.1.1.2. Formal Views of Profile Content

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

Differential View

OntarioSDCQuestionnaire (Questionnaire)CQuestionnaireElement id
Questionnaire
Short description

Ontario SDC Questionnaire profile

Alternate names

Form, CRF, Survey

Definition

Defines additional the Questionnaire requirements to align with used capabilities of the legacy Ontario form tool.

Data type

Questionnaire

Constraints
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-4: If 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-3: If 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-6: A resource should have narrative for robust management
    text.`div`.exists()
  • dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
  • que-2: The link ids for groups and questions must be unique within the questionnaire
    descendants().linkId.isDistinct()
  • que-0: Name 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}')
Mappings
  • rim: Entity. Role, or Act
  • workflow: Definition
  • rim: Observation[moodCode=DEF]
  • ontario-fhir-legacy: eform
idΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.id
Short description

Logical id of this artifact

Definition

The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

Data type

string

metaΣ0..1Meta
There are no (further) constraints on this element
Element id
Questionnaire.meta
Short description

Metadata about the resource

Definition

The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

Data type

Meta

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
implicitRulesΣ ?!0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.implicitRules
Short description

A set of rules under which this content was created

Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
language0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.language
Short description

Language of the resource content

Definition

The base language in which the resource is written.

Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Data type

code

Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
text0..1Narrative
There are no (further) constraints on this element
Element id
Questionnaire.text
Short description

Text summary of the resource, for human interpretation

Alternate names

narrative, html, xhtml, display

Definition

A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

Comments

Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

Data type

Narrative

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • rim: Act.text?
containedO0..*ResourceElement id
Questionnaire.contained
Short description

Contained, inline Resources

Alternate names

inline resources, anonymous resources, contained resources

Definition

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

Requirements

Used for contained Binary instances for images and Library instances for Liquid rendering templates

Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.

Data type

Resource

Mappings
  • rim: Entity. Role, or Act
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
extensionC2..*ExtensionElement id
Questionnaire.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
versionAlgorithmC1..1Extension(Codingstring)Element id
Questionnaire.extension:versionAlgorithm
Short description

How to compare versions

Alternate names

extensions, user content

Definition

Indicates the mechanism used to compare versions to determine which is more current.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Codingstring)

Extension URL

http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:versionAlgorithm.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:versionAlgorithm.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:versionAlgorithm.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm
Mappings
  • rim: N/A
value[x]0..1BindingElement id
Questionnaire.extension:versionAlgorithm.value[x]
Short description

How to compare versions

Definition

Indicates the mechanism used to compare versions to determine which is more current.

Slicing

Unordered, Open, by $this(Type)

Binding

R5_version_algorithm_for_R4 (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

valueCoding0..1CodingBindingPatternElement id
Questionnaire.extension:versionAlgorithm.value[x]:valueCoding
Short description

How to compare versions

Definition

Indicates the mechanism used to compare versions to determine which is more current.

Data type

Coding

Binding

R5_version_algorithm_for_R4 (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
{
  "system": "http://hl7.org/fhir/version-algorithm",
  "code": "semver"
}
Mappings
  • rim: n/a
  • rim: N/A
entryModeC1..1Extension(code)Element id
Questionnaire.extension:entryMode
Short description

sequential | prior-edit | random

Alternate names

extensions, user content

Definition

Indicates how questions within the questionnaire should be presented to the end-user. Specifically, differentiates whether the questions should be displayed one-at-a-time with no ability to adjust prior entries; one-at-a-time or continuously expanding where all questions up to the current question can be looked at and edited, or random, where all questions can be seen and the questions can be filled out in any order desired.

Comments

The prior-edit functionality can be accomplished by adding questions to the screen as each subsequent question is answered (resulting in all questions being displayed in a single screen) or with a view that shows only one question at a time but allows backward navigation to view and/or edit prior answers.

Data type

Extension(code)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:entryMode.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:entryMode.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:entryMode.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
Mappings
  • rim: N/A
value[x]0..1BindingPatternElement id
Questionnaire.extension:entryMode.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Entry modes when completing a questionnaire

QuestionnaireEntryMode (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
random
Mappings
  • rim: n/a
  • rim: N/A
valueCodecode
There are no (further) constraints on this element
Data type

code

assembledFromC0..1Extension(canonical)Element id
Questionnaire.extension:assembledFrom
Short description

Identifies subQuestionnaires used in the assembly process

Alternate names

extensions, user content

Definition

This extension will appear on the root of an assembled Questionnaire and identifies the subQuestionnaires (including version) that were used as part of the assembly process.

Requirements

Indicates what common sources the items in this were drawn from. Used for maintenance purposes, but not relevant in the rendering of the Questionnaire. NOTE: the max cardinality should be *. Will change once we can depend on the official SDC release rather than the ballot release.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(canonical)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
launchContextO C0..1Extension(Complex)Element id
Questionnaire.extension:launchContext
Short description

Context resources needed for Questionnaire

Alternate names

extensions, user content

Definition

Resources that provide context for form processing logic (pre-population, flow-control, drop-down selection, etc.) when creating/displaying/editing a QuestionnaireResponse.

Requirements

Needed to support population and logic based on patient age, gender, etc.

Comments

3 of these launch contexts are aligned with the existing SMART on FHIR "launch" contexts.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • sdc-lcext-1: Types must be from the specified value set of resource types based on name: patient: Patient; user: Patient, Practitioner, PractitionerRole, Organization, RelatedPerson, Device; encounter: Encounter; location: Location; study: ResearchStudy; clinical: Any allowed clinical resource
    (extension('name').value.where(code='patient' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'Patient')) and (extension('name').value.where(code='user' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value='Patient' or value='Practitioner' or value='PractitionerRole' or value='RelatedPerson' or value='Organization' or value='Device')) and (extension('name').value.where(code='encounter' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'Encounter')) and (extension('name').value.where(code='location' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'Location')) and (extension('name').value.where(code='study' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'ResearchStudy'))
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC2..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
nameO C1..1ExtensionElement id
Questionnaire.extension:launchContext.extension:name
Short description

Variable name

Alternate names

extensions, user content

Definition

The variable name the passed resource will be referenced by within the Questionnaire logic.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:name.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:name.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:name.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
name
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.extension:launchContext.extension:name.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Launch context codes for use in defining questionnaires context at launch time (NOTE: the Coding.code will be used for the variable name and that (at present) there is no support for Questionnaires that use multiple launch contexts which share a common code but different code systems. Also, all launch context codes must meet the requirements to be a valid FHIRPath name.).

ONLaunchContexts (required)

Additional bindings
  • ONLaunchContexts (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

typeO C1..*ExtensionElement id
Questionnaire.extension:launchContext.extension:type
Short description

Resource type

Alternate names

extensions, user content

Definition

The kind of resource to be provided.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:type.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:type.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:type.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
type
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.extension:launchContext.extension:type.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ONLaunchContextResources (required)

Additional bindings
  • ONLaunchContextResources (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

descriptionC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description
Short description

Explanation of context element

Alternate names

extensions, user content

Definition

Guidance on the resource to be provided and what impact providing it will have on questionnaire behavior.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
description
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

multiplesAllowedC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed
Short description

Allow multiple resources

Alternate names

extensions, user content

Definition

Indicates whether multiple resources are permitted for this context element.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
multiplesAllowed
Mappings
  • rim: N/A
value[x]0..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
variableO C0..*Extension(Expression)Element id
Questionnaire.extension:variable
Short description

Variable for processing

Alternate names

extensions, user content

Definition

Variable specifying a logic to generate a variable for use in subsequent logic. The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.

Requirements

Allows capturing answers or totals for use in other logic

Comments

Ordering of variable extension declarations is significant as variables declared in one repetition of this extension might be used in subsequent extension repetitions.

Data type

Extension(Expression)

Extension URL

http://hl7.org/fhir/StructureDefinition/variable

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/variable
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.extension:variable.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingElement id
Questionnaire.extension:variable.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.extension:variable.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
definitionExtractO C0..*Extension(Complex)Element id
Questionnaire.extension:definitionExtract
Short description

Details for a definition based resource extraction

Alternate names

extensions, user content

Definition

Specifies the resource type/profile for the definition based extraction of a resource and optionally the fullUrl and other Bundle.entry.request properties as needed.

Requirements

Enables definition-based extraction of captured data from the Questionnaire

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.extension:definitionExtract.extension:definition
Short description

Canonical URL of Resource type or profile to extract

Alternate names

extensions, user content

Definition

The resource type/profile canonical Url defining the resource type to be extracted.

Comments

The canonical URL for a base resource can be used if a specific profile is not required, e.g. http://hl7.org/fhir/StructureDefinition/Patient.

The value used here will be the prefix value (before the #) in any child items definition value.

Where a specific profile is used (not the base resource), then this canonical value will be set in the created resource's meta.profile collection.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:definitionExtract.extension:definition.value[x]
Short description

Resource Profile canonical URL

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

fullUrlO C0..1ExtensionElement id
Questionnaire.extension:definitionExtract.extension:fullUrl
Short description

A fhirpath expression to evaluate to populate the fullUrl property in the `Bundle.entry` (uri/string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the fullUrl property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fullUrl
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch
Short description

A fhirpath expression to evaluate to populate the ifNoneMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifModifiedSinceC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince
Short description

A fhirpath expression to evaluate to populate the ifModifiedSince property (instant result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifModifiedSince property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifModifiedSince
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch
Short description

A fhirpath expression to evaluate to populate the ifMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneExistC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist
Short description

A fhirpath expression to evaluate to populate the ifNoneExist property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneExist property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneExist
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractValueO C0..*Extension(Complex)Element id
Questionnaire.extension:definitionExtractValue
Short description

Fixed or calculated value to extract

Alternate names

extensions, user content

Definition

Provide either a fixed value, or an expression to evaluate, to be used as the value for the extracted resource's property based on the definition value.

Requirements

Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • dev-1: Either `expression` or a `fixed-value` must be provided.
    extension('expression').value.exists() xor extension('fixed-value').value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.extension:definitionExtractValue.extension:definition
Short description

ElementDefintion to extract value into

Alternate names

extensions, user content

Definition

This is the profile canonical Url, followed by # and the element id, that the value should be extracted into.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:definitionExtractValue.extension:definition.value[x]
Short description

Profile canonical URL and element id

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueUriuri
There are no (further) constraints on this element
Data type

uri

expressionO C0..1ExtensionElement id
Questionnaire.extension:definitionExtractValue.extension:expression
Short description

An expression to evaluate

Alternate names

extensions, user content

Definition

An expression to evaluate to extract the value into the specified element definition. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
fixed-valueO C0..1ExtensionElement id
Questionnaire.extension:definitionExtractValue.extension:fixed-value
Short description

A fixed value to extract

Alternate names

extensions, user content

Definition

A fixed value to extract into the specified element definition.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fixed-value
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.value[x]
Short description

Fixed value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
extractAllocateIdO C0..*Extension(string)Element id
Questionnaire.extension:extractAllocateId
Short description

Variable name for the new uuid.

Alternate names

extensions, user content

Definition

Allocate a new uuid in a named variable for use in extraction. This is usually used to set the fullUrl for a resource in the output extraction bundle, and then referenced in other resources in that bundle (via fhirpath expressions). The format of the uuid will be urn:uuid:(uuid). e.g. urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031

Requirements

Generates a random UUID that can be used for cross-linking extracted resources

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:extractAllocateId.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:extractAllocateId.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:extractAllocateId.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:extractAllocateId.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

responseRenderingLiquidO C0..1Extension(Reference(OntarioEFormsLiquidLibrary))Element id
Questionnaire.extension:responseRenderingLiquid
Short description

Rendering library for responses

Alternate names

extensions, user content

Definition

Points to a Library containing FHIR Liquid template that defines how the narrative for QuestionnaireResponses created for this Questionnaire should be generated.

Comments

This may refer to a contained Library or a Library available from a FHIR server

Data type

Extension(Reference(OntarioEFormsLiquidLibrary))

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid
Mappings
  • rim: N/A
value[x]O1..1Reference(OntarioEFormsLiquidLibrary)Element id
Questionnaire.extension:responseRenderingLiquid.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Reference(OntarioEFormsLiquidLibrary)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
referenceO Σ C1..1stringElement id
Questionnaire.extension:responseRenderingLiquid.value[x].reference
Short description

Literal reference, Relative, internal or absolute URL

Definition

A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

Comments

Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, ref-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
typeΣ0..1uriBinding
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].type
Short description

Type the reference refers to (e.g. "Patient")

Definition

The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

Comments

This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.

Data type

uri

Binding

Aa resource (or, for logical models, the URI of the logical model).

ResourceType (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
identifierΣ0..1Identifier
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].identifier
Short description

Logical reference, when literal reference is not known

Definition

An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

Comments

When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

Data type

Identifier

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • rim: .identifier
displayΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].display
Short description

Text alternative for the resource

Definition

Plain text narrative that identifies the resource in addition to the resource reference.

Comments

This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
modifierExtension?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.modifierExtension
Short description

Extensions that cannot be ignored

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
urlO Σ1..1uriElement id
Questionnaire.url
Short description

Canonical identifier for this questionnaire, represented as a URI (globally unique)

Definition

An absolute URI that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this questionnaire is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the questionnaire is stored on different servers.

Requirements

… This is the id that will be used to link a QuestionnaireResponse to the Questionnaire the response is for.

Comments

The name of the referenced questionnaire can be conveyed using the http://hl7.org/fhir/StructureDefinition/display extension.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.url
  • w5: FiveWs.identifier
  • rim: .identifier[scope=BUSN;reliability=ISS]
  • ontario-fhir-legacy: eform/@ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
identifierΣ0..*Identifier
There are no (further) constraints on this element
Element id
Questionnaire.identifier
Short description

Additional identifier for the questionnaire

Definition

A formal identifier that is used to identify this questionnaire when it is represented in other formats, or referenced in a specification, model, design or an instance.

Requirements

Allows externally provided and/or usable business identifiers to be easily associated with the module.

Comments

Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this questionnaire outside of FHIR, where it is not possible to use the logical URI.

Data type

Identifier

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • workflow: Definition.identifier
  • w5: FiveWs.identifier
  • rim: .identifier
  • objimpl: no-gen-base
versionO Σ1..1stringElement id
Questionnaire.version
Short description

Business version of the questionnaire

Definition

The identifier that is used to identify this version of the questionnaire when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the questionnaire author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.

Comments

There may be different questionnaire instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the questionnaire with the format [url]|[version].

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.version
  • w5: FiveWs.version
  • rim: N/A (to add?)
  • ontario-fhir-legacy: eform/@revision
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
nameΣ C0..1string
There are no (further) constraints on this element
Element id
Questionnaire.name
Short description

Name for this questionnaire (computer friendly)

Definition

A natural language name identifying the questionnaire. This name should be usable as an identifier for the module by machine processing applications such as code generation.

Requirements

Support human navigation and code generation.

Comments

The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, inv-0

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
titleO Σ0..1stringElement id
Questionnaire.title
Short description

Name for this questionnaire (human friendly)

Definition

A short, descriptive, user-friendly title for the questionnaire.

Comments

This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.title
  • rim: .title
  • ontario-fhir-legacy: eform/@title
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.title.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.title.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
short-stringO C0..1Extension(string)Element id
Questionnaire.title.extension:short-string
Short description

Short-form of string

Alternate names

extensions, user content

Definition

A shorter version of a string, typically intended for use on mobile displays.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: eform/@shortForm
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:display
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.title.value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

derivedFrom0..*canonical(Questionnaire)
There are no (further) constraints on this element
Element id
Questionnaire.derivedFrom
Short description

Instantiates protocol or definition

Definition

The URL of a Questionnaire that this Questionnaire is based on.

Requirements

Allows a Questionnaire to be created based on another Questionnaire.

Comments

see Canonical References

Data type

canonical(Questionnaire)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.derivedFrom
  • rim: .outboundRelationship[typeCode=DRIV].target[classCode=OBS, moodCode=DEFN]
statusΣ ?!1..1codeBindingPatternElement id
Questionnaire.status
Short description

draft | active | retired | unknown

Definition

The status of this questionnaire. Enables tracking the life-cycle of the content.

Comments

Allows filtering of questionnaires that are appropriate for use versus not.

Data type

code

Binding

The lifecycle status of an artifact.

PublicationStatus (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
active
Mappings
  • rim: n/a
  • workflow: Definition.status
  • w5: FiveWs.status
  • rim: .status
experimentalO Σ1..1booleanElement id
Questionnaire.experimental
Short description

For testing purposes, not real usage

Definition

A Boolean value to indicate that this questionnaire is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.

Requirements

Used to differentiate Questionnaires defined for 'testing' purposes from those that are intended for actual use with patients

Comments

Allows filtering of questionnaires that are appropriate for use versus not.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.experimental
  • w5: FiveWs.class
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
subjectTypeO Σ1..1codeBindingPatternElement id
Questionnaire.subjectType
Short description

Resource that can be subject of QuestionnaireResponse

Definition

The types of subjects that can be the subject of responses created for the questionnaire.

Comments

If none are specified, then the subject is unlimited.

Data type

code

Binding

One of the resource types defined as part of this version of FHIR.

ResourceType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
Patient
Mappings
  • rim: n/a
  • workflow: Definition.subject[x]
  • rim: .outboundRelationship[typeCode=META].target[classCode=OBS, moodCode=DEFN, isCriterion=true].participation.role.classCode
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
dateO Σ0..1dateTimeElement id
Questionnaire.date
Short description

Date last changed

Alternate names

Revision Date

Definition

The date (and optionally time) when the questionnaire was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the questionnaire changes.

Comments

Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the questionnaire. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.

Data type

dateTime

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.date
  • w5: FiveWs.recorded
  • rim: .participation[typeCode=AUT].time
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
publisherO Σ0..1stringElement id
Questionnaire.publisher
Short description

Name of the publisher (organization or individual)

Definition

The name of the organization or individual that published the questionnaire.

Requirements

Helps establish the "authority/credibility" of the questionnaire. May also allow for contact.

Comments

Usually an organization but may be an individual. The publisher (or steward) of the questionnaire is the organization or individual primarily responsible for the maintenance and upkeep of the questionnaire. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the questionnaire. This item SHOULD be populated unless the information is available from context.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.publisher
  • w5: FiveWs.witness
  • rim: .participation[typeCode=AUT].role
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
contactΣ0..*ContactDetail
There are no (further) constraints on this element
Element id
Questionnaire.contact
Short description

Contact details for the publisher

Definition

Contact details to assist a user in finding and communicating with the publisher.

Comments

May be a web site, an email address, a telephone number, etc.

Data type

ContactDetail

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.contact
  • rim: .participation[typeCode=CALLBCK].role
descriptionO0..1markdownElement id
Questionnaire.description
Short description

Natural language description of the questionnaire

Definition

A free text natural language description of the questionnaire from a consumer's perspective.

Comments

This description can be used to capture details such as why the questionnaire was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the questionnaire as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the questionnaire is presumed to be the predominant language in the place the questionnaire was created).

Data type

markdown

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.description
  • rim: .text
  • ontario-fhir-legacy: eform/description
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.description.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.description.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
short-stringC0..1Extension(string)Element id
Questionnaire.description.extension:short-string
Short description

Short-form of string

Alternate names

extensions, user content

Definition

A shorter version of a string, typically intended for use on mobile displays.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: eform/tagline
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.description.value
Short description

Primitive value for markdown

Definition

Primitive value for markdown

Data type

System.String

Maximum string length

1048576

useContextΣ0..*UsageContextElement id
Questionnaire.useContext
Short description

The context that the content is intended to support

Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.

Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

Data type

UsageContext

Slicing

Unordered, Closed, by code(Value)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
  • rim: N/A (to add?)
focusO Σ0..*UsageContextElement id
Questionnaire.useContext:focus
Short description

The context that the content is intended to support

Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.

Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

Data type

UsageContext

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
  • rim: N/A (to add?)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codeΣ1..1CodingBindingPatternElement id
Questionnaire.useContext:focus.code
Short description

Type of context being specified

Definition

A code that identifies the type of context being specified by this usage context.

Comments

Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.

Data type

Coding

Binding

A code that specifies a type of context being specified by a usage context.

UsageContextType (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
{
  "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
  "code": "focus"
}
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
value[x]O Σ1..1CodeableConceptBindingElement id
Questionnaire.useContext:focus.value[x]
Short description

Value that defines the context

Definition

A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

Data type

CodeableConcept

Binding

A code that defines the specific value for the context being specified.

ONQuestionnaireTopic (required)

Additional bindings
  • ONQuestionnaireTopic (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codingΣ0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding
Short description

Code defined by a terminology system

Definition

A reference to a code defined by a terminology system.

Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Data type

Coding

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
systemΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.system
Short description

Identity of the terminology system

Definition

The identification of the code system that defines the meaning of the symbol in the code.

Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
versionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.version
Short description

Version of the system - if relevant

Definition

The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.

Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
codeΣ0..1codeElement id
Questionnaire.useContext:focus.value[x].coding.code
Short description

Symbol in syntax defined by the system

Definition

A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

Requirements

Need to refer to a particular code in the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • ontario-fhir-legacy: eform/tags/tag
displayΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.display
Short description

Representation defined by the system

Definition

A representation of the meaning of the code in the system, following the rules of the system.

Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
userSelectedΣ0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.userSelected
Short description

If this coding was chosen directly by the user

Definition

Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).

Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
textO Σ0..1stringElement id
Questionnaire.useContext:focus.value[x].text
Short description

Plain text representation of the concept

Definition

A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • ontario-fhir-legacy: eform/keywords
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
topicO Σ0..*UsageContextElement id
Questionnaire.useContext:topic
Short description

The context that the content is intended to support

Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.

Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

Data type

UsageContext

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
  • rim: N/A (to add?)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codeΣ1..1CodingBindingPatternElement id
Questionnaire.useContext:topic.code
Short description

Type of context being specified

Definition

A code that identifies the type of context being specified by this usage context.

Comments

Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.

Data type

Coding

Binding

A code that specifies a type of context being specified by a usage context.

UsageContextType (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
{
  "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
  "code": "topic"
}
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
value[x]O Σ1..1CodeableConceptElement id
Questionnaire.useContext:topic.value[x]
Short description

Value that defines the context

Definition

A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

Data type

CodeableConcept

Binding

A code that defines the specific value for the context being specified.

Context of Use ValueSet (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codingΣ0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.value[x].coding
Short description

Code defined by a terminology system

Definition

A reference to a code defined by a terminology system.

Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Data type

Coding

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
textO Σ0..1stringElement id
Questionnaire.useContext:topic.value[x].text
Short description

Plain text representation of the concept

Definition

A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
jurisdictionΣ0..*CodeableConceptBinding
There are no (further) constraints on this element
Element id
Questionnaire.jurisdiction
Short description

Intended jurisdiction for questionnaire (if applicable)

Definition

A legal or geographic region in which the questionnaire is intended to be used.

Comments

It may be possible for the questionnaire to be used in jurisdictions other than those for which it was originally designed or intended.

Data type

CodeableConcept

Binding

Countries and regions within which this artifact is targeted for use.

Jurisdiction ValueSet (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Definition.jurisdiction
  • rim: N/A (to add?)
purpose0..1markdown
There are no (further) constraints on this element
Element id
Questionnaire.purpose
Short description

Why this questionnaire is defined

Definition

Explanation of why this questionnaire is needed and why it has been designed as it has.

Comments

This element does not describe the usage of the questionnaire. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this questionnaire.

Data type

markdown

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.purpose
  • w5: FiveWs.why[x]
  • rim: .reasonCode.text
  • objimpl: no-gen-base
copyrightO0..1markdownElement id
Questionnaire.copyright
Short description

Use and/or publishing restrictions

Alternate names

License, Restrictions

Definition

A copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire.

Requirements

Consumers must be able to determine any legal restrictions on the use of the questionnaire and/or its content.

Comments

Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/

Data type

markdown

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.copyright
  • rim: N/A (to add?)
  • objimpl: no-gen-base
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:display
approvalDateO0..1dateElement id
Questionnaire.approvalDate
Short description

When the questionnaire was approved by publisher

Definition

The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.

Comments

The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.

Data type

date

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.approvalDate
  • rim: .outboundRelationship[typeCode="SUBJ"].act[classCode=CACT;moodCode=EVN;code="approval"].effectiveTime
  • objimpl: no-gen-base
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
lastReviewDate0..1date
There are no (further) constraints on this element
Element id
Questionnaire.lastReviewDate
Short description

When the questionnaire was last reviewed

Definition

The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.

Requirements

Gives a sense of how "current" the content is. Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant.

Comments

If specified, this date follows the original approval date.

Data type

date

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.lastReviewDate
  • rim: .outboundRelationship[typeCode="SUBJ"; subsetCode="RECENT"].act[classCode=CACT;moodCode=EVN;code="review"].effectiveTime
  • objimpl: no-gen-base
effectivePeriodO Σ C0..1PeriodElement id
Questionnaire.effectivePeriod
Short description

When the questionnaire is expected to be used

Definition

The period during which the questionnaire content was or is planned to be in active use.

Requirements

Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the questionnaire are or are expected to be used instead.

Comments

The effective period for a questionnaire determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.

Data type

Period

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • per-1: If present, start SHALL have a lower value than end
    start.hasValue().not() or end.hasValue().not() or (start <= end)
Mappings
  • rim: n/a
  • v2: DR
  • rim: IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]
  • workflow: Definition.effectivePeriod
  • rim: N/A (to add?)
  • objimpl: no-gen-base
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.effectivePeriod.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.effectivePeriod.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
startO Σ C0..1dateTimeElement id
Questionnaire.effectivePeriod.start
Short description

When to start using form

Definition

The start of the period. The boundary is inclusive.

Comments

If the low element is missing, the meaning is that the low boundary is not known.

Data type

dateTime

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, per-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: DR.1
  • rim: ./low
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
endO Σ C0..1dateTimeElement id
Questionnaire.effectivePeriod.end
Short description

When to stop using form

Definition

The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.

Comments

The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.

Meaning when missing

If the end of the period is missing, it means that the period is ongoing

Data type

dateTime

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, per-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: DR.2
  • rim: ./high
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
codeO Σ0..*CodingElement id
Questionnaire.code
Short description

Concept that represents the overall questionnaire

Definition

An identifier for this question or group of questions in a particular terminology such as LOINC.

Requirements

Allows linking of the complete Questionnaire resources to formal terminologies. It's common for "panels" of questions to be identified by a code.

Comments

Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
itemO C0..*BackboneElementElement id
Questionnaire.item
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Slicing

Unordered, Closed, by type(Value)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
  • onq-9: All display items must have text or note details
    type='display' implies text.exists() or extension('http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info').exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
  • ontario-fhir-legacy: eform/mainSection, section, item
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
(All Slices)
The requirements in this element apply to all slices

id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
renderStyleO C0..1Extension(string)Element id
Questionnaire.item.extension:renderStyle
Short description

Html style value

Alternate names

extensions, user content

Definition

Identifies how the specified element should be rendered when displayed.

Comments

This extension would be equivalent to setting the HTML "style" attribute on the root element for the element containing the extension.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-style

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hints
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:renderStyle.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:renderStyle.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:renderStyle.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/rendering-style
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item.extension:renderStyle.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ONItemStyles (required)

Additional bindings
  • ONItemStyles (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hint
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

supportHyperlinkO C0..1Extension(Complex)Element id
Questionnaire.item.extension:supportHyperlink
Short description

A labeled hyperlink for user guidance

Alternate names

extensions, user content

Definition

A labeled hyperlink for display alongside a questionnaire item, providing supporting guidance to the user.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-supportHyperlink

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hyperlink
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
labelO C1..1ExtensionElement id
Questionnaire.item.extension:supportHyperlink.extension:label
Short description

The hyperlink display text

Alternate names

extensions, user content

Definition

The text to display for the user to click on to go to the link.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hyperlink/@text
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
label
Mappings
  • rim: N/A
value[x]0..1
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Slicing

Unordered, Open, by $this(Type)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

valueString1..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.value[x]:valueString
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
linkO C1..1ExtensionElement id
Questionnaire.item.extension:supportHyperlink.extension:link
Short description

The hyperlink URL

Alternate names

extensions, user content

Definition

The link to navigate to.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hyperlink/@url
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
link
Mappings
  • rim: N/A
value[x]0..1
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Slicing

Unordered, Open, by $this(Type)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

valueUri1..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.value[x]:valueUri
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-supportHyperlink
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
enableWhenExpressionO C0..1Extension(Expression)Element id
Questionnaire.item.extension:enableWhenExpression
Short description

Expression for when to enable the item

Alternate names

extensions, user content

Definition

An expression that returns a boolean value for whether to enable the item.

Comments

This is only permitted when the containing item does NOT have any enableWhen elements.

If the expression involves comparisons between elements that have different precisions but are otherwise equal, FHIRPath will resolve the expression to an empty set, which will in turn evaluate to false (meaning the item won't be enabled). If this is not the desired behavior, the author should add a .allTrue() to the end of the expression, which will result in an indeterminate outcome because of precision differences being handled as 'true' and the item being enabled. Questionnaires SHOULD be designed to take into account challenges around varying precision to minimize non-deterministic situations by setting constraints around expected precision, etc.

If the expression evaluates to something other than a boolean true or false, the Form Filler SHOULD still display the form, and if it does so, SHOULD treat the element as 'enabled' and display a warning to the user that the questionnaire logic was faulty and it's possible that the item shouldn't be enabled.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:enableWhenExpression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:enableWhenExpression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:enableWhenExpression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
Mappings
  • rim: N/A
value[x]O C1..1Element id
Questionnaire.item.extension:enableWhenExpression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • sdc-inv1: FHIR query language not allowed.
    language!='application/x-fhir-query'
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

hiddenO C0..1Extension(boolean)Element id
Questionnaire.item.extension:hidden
Short description

Don't display to user

Alternate names

extensions, user content

Definition

If true, indicates that the extended item should not be displayed to the user.

Comments

If an item is hidden, all descendant items are hidden as well.

Data type

Extension(boolean)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-hidden

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:hidden.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:hidden.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:hidden.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.extension:hidden.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @showIf, @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

variableO C0..*Extension(Expression)Element id
Questionnaire.item.extension:variable
Short description

Variable for processing

Alternate names

extensions, user content

Definition

Variable specifying a logic to generate a variable for use in subsequent logic. The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.

Requirements

Allows capturing answers or totals for use in other logic

Comments

Ordering of variable extension declarations is significant as variables declared in one repetition of this extension might be used in subsequent extension repetitions.

Data type

Extension(Expression)

Extension URL

http://hl7.org/fhir/StructureDefinition/variable

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:variable.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:variable.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:variable.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/variable
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.extension:variable.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item.text.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
renderStyleO C0..1Extension(string)Element id
Questionnaire.item.text.extension:renderStyle
Short description

Html style value

Alternate names

extensions, user content

Definition

Identifies how the specified element should be rendered when displayed.

Comments

This extension would be equivalent to setting the HTML "style" attribute on the root element for the element containing the extension.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-style

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:renderStyle.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:renderStyle.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:renderStyle.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/rendering-style
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.text.extension:renderStyle.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: eFormSection/@headerStyle
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

translationO C0..*Extension(Complex)Element id
Questionnaire.item.text.extension:translation
Short description

Language Translation (Localization)

Alternate names

extensions, user content

Definition

Language translation from base language of resource to another language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/translation

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ST.translation
  • ontario-fhir-legacy: /eform/stringTranslations/str[current().contains(@ref)]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
langO C1..1ExtensionElement id
Questionnaire.item.text.extension:translation.extension:lang
Short description

Code for Language

Alternate names

extensions, user content

Definition

Code for Language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:lang.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:lang.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:lang.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
lang
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item.text.extension:translation.extension:lang.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @locale
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
valueCodecode
There are no (further) constraints on this element
Data type

code

contentO C1..1ExtensionElement id
Questionnaire.item.text.extension:translation.extension:content
Short description

Content in other Language

Alternate names

extensions, user content

Definition

Content in other Language.

Comments

The type (string or markdown) must match the context in which it is used.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:content.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:content.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:content.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
content
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.text.extension:translation.extension:content.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: text()
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
valueStringstringData type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/translation
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
xhtmlO C0..1Extension(string)Element id
Questionnaire.item.text.extension:xhtml
Short description

String equivalent with html markup

Alternate names

extensions, user content

Definition

This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing restrictions on XHTML content apply. Note that using markdown allows for greater flexibility of display.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-xhtml

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ED can be XHTML content
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/rendering-xhtml
Mappings
  • rim: N/A
value[x]O1..1stringElement id
Questionnaire.item.text.extension:xhtml.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: items/picture, refs/ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
translationO C0..*Extension(Complex)Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation
Short description

Language Translation (Localization)

Alternate names

extensions, user content

Definition

Language translation from base language of resource to another language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/translation

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ST.translation
  • ontario-fhir-legacy: /eform/stringTranslations/str[current().contains(@ref)]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
langO C1..1ExtensionElement id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang
Short description

Code for Language

Alternate names

extensions, user content

Definition

Code for Language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
lang
Mappings
  • rim: N/A
value[x]1..1BindingElement id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueCodecode
There are no (further) constraints on this element
Data type

code

contentO C1..1ExtensionElement id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content
Short description

Content in other Language

Alternate names

extensions, user content

Definition

Content in other Language.

Comments

The type (string or markdown) must match the context in which it is used.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
content
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/translation
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item.text.value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

type1..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

QuestionnaireItemType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
repeatsC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
readOnlyC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
maxLengthC0..1integer
There are no (further) constraints on this element
Element id
Questionnaire.item.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
answerValueSetC0..1canonical(ValueSet)
There are no (further) constraints on this element
Element id
Questionnaire.item.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
answerOptionC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueUriuri
There are no (further) constraints on this element
Data type

uri

itemC0..*see (item)
There are no (further) constraints on this element
Element id
Questionnaire.item.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target
groupO C0..*BackboneElementElement id
Questionnaire.item:group
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:group.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
preferredTerminologyServerO C0..*Extension(url)Element id
Questionnaire.item:group.extension:preferredTerminologyServer
Short description

Preferred terminology server

Alternate names

extensions, user content

Definition

Indicates the terminology server(s) that are known to be capable of returning and potentially expanding the value set(s) associated with the resource or a particular portion of the resource (depending on where the extension appears). If a full URL is not provided AND the requested query is a terminology operation (e.g. $lookup or $expand) the client SHOULD execute the operation against (one of) the preferredTerminologyServer(s) rather than the local repository. Systems SHOULD evaluate value sets using terminology servers as follows: First, try any terminology servers declared on the element in question. If there are more then one, try them in the order they appear. Then try any servers that appear on ancestor elements in order of closest ancestor up to any on the resource root If there are no declared servers or none of the ones listed provide a useful response, the form filler may then try any of the typical servers it would normally use. A 'useful response' means a response that provides a valid (though potentially empty) expansion. Clients MAY wish to log/report errors returned by terminology servers.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(url)

Extension URL

http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
collapsibleO C0..1Extension(code)Element id
Questionnaire.item:group.extension:collapsible
Short description

Indicates whether the child items of a group or question item is displayed in collapsible form.

Alternate names

extensions, user content

Definition

Indicates whether the child items of a group or question item is displayed in collapsible form.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(code)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:collapsible.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:collapsible.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:collapsible.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item:group.extension:collapsible.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Defines mechanism of displaying child items.

QuestionnaireItemCollapsible (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

itemControlO C0..1Extension(CodeableConcept)Element id
Questionnaire.item:group.extension:itemControl
Short description

E.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.

Alternate names

extensions, user content

Definition

The type of data entry control or structure that should be used to render the item.

Comments

Different controls may be appropriate for different item types. It is up to the system rendering a questionnaire as to what controls it will support and for which data types.

Data type

Extension(CodeableConcept)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemControl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemControl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemControl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item:group.extension:itemControl.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

User interface controls or widgets used for questionnaire items.

ONGroupItemControls (required)

Additional bindings
  • ONGroupItemControls (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

targetConstraintO C0..*Extension(Complex)Element id
Questionnaire.item:group.extension:targetConstraint
Short description

A constraint on the target resource

Alternate names

extensions, user content

Definition

Specifies a constraint that is enforced on instantiated (or target) resources. This extension can be applied to definitional resources (such as ActivityDefinition or Measure) and indicates that the constraint should be enforced on resources that are instantiated from the definition.

Comments

Can be used on any definitional artifact to define a constraint that is enforced in the context of an instantiated resource. The constraint expression will have access to %target and %definition variables, where target is the instantiated resource, and definition is the definition used to instantiate.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/targetConstraint

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: validator
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
keyO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:key
Short description

Unique identifier

Alternate names

extensions, user content

Definition

A unique identifier for the invariant (unique in the context of the resource).

Comments

Any error or outcome messages or warnings should include this id to allow the source of the message to be determined.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
key
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueIdid
There are no (further) constraints on this element
Data type

id

requirementsC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements
Short description

Why the constraint is defined

Alternate names

extensions, user content

Definition

A brief description of why the constraint is necessary or appropriate.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
requirements
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

severityO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:severity
Short description

error | warning

Alternate names

extensions, user content

Definition

Whether the constraint indicates an error condition or a warning.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:severity.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:severity.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:severity.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
severity
Mappings
  • rim: N/A
value[x]O1..1BindingPatternElement id
Questionnaire.item:group.extension:targetConstraint.extension:severity.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ConstraintSeverity (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
error
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

expressionO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:expression
Short description

The invariant expression

Alternate names

extensions, user content

Definition

An expression providing a formal representation of the invariant condition.

Comments

The expression will have access to %target (the resource that was instantiated) and %definition (the definition for the instantiated resource).

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @validIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

humanO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:human
Short description

Human-readable rule

Alternate names

extensions, user content

Definition

A free text expression of the rule to display to the user if the rule is violated.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @message
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
human
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

locationC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location
Short description

Relative path to elements

Alternate names

extensions, user content

Definition

Relative paths to the elements this rule is enforced against.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
location
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/targetConstraint
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractO C0..*Extension(Complex)Element id
Questionnaire.item:group.extension:definitionExtract
Short description

Details for a definition based resource extraction

Alternate names

extensions, user content

Definition

Specifies the resource type/profile for the definition based extraction of a resource and optionally the fullUrl and other Bundle.entry.request properties as needed.

Requirements

Enables definition-based extraction of captured data from the Questionnaire

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process (when extraction performed and required extraction metadata malformed)
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtract.extension:definition
Short description

Canonical URL of Resource type or profile to extract

Alternate names

extensions, user content

Definition

The resource type/profile canonical Url defining the resource type to be extracted.

Comments

The canonical URL for a base resource can be used if a specific profile is not required, e.g. http://hl7.org/fhir/StructureDefinition/Patient.

The value used here will be the prefix value (before the #) in any child items definition value.

Where a specific profile is used (not the base resource), then this canonical value will be set in the created resource's meta.profile collection.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.value[x]
Short description

Resource Profile canonical URL

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

fullUrlO C0..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl
Short description

A fhirpath expression to evaluate to populate the fullUrl property in the `Bundle.entry` (uri/string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the fullUrl property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fullUrl
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch
Short description

A fhirpath expression to evaluate to populate the ifNoneMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifModifiedSinceC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince
Short description

A fhirpath expression to evaluate to populate the ifModifiedSince property (instant result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifModifiedSince property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifModifiedSince
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch
Short description

A fhirpath expression to evaluate to populate the ifMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneExistC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist
Short description

A fhirpath expression to evaluate to populate the ifNoneExist property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneExist property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneExist
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractValueO C0..*Extension(Complex)Element id
Questionnaire.item:group.extension:definitionExtractValue
Short description

Fixed or calculated value to extract

Alternate names

extensions, user content

Definition

Provide either a fixed value, or an expression to evaluate, to be used as the value for the extracted resource's property based on the definition value.

Requirements

Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • dev-1: Either `expression` or a `fixed-value` must be provided.
    extension('expression').value.exists() xor extension('fixed-value').value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition
Short description

ElementDefintion to extract value into

Alternate names

extensions, user content

Definition

This is the profile canonical Url, followed by # and the element id, that the value should be extracted into.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.value[x]
Short description

Profile canonical URL and element id

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueUriuri
There are no (further) constraints on this element
Data type

uri

expressionO C0..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression
Short description

An expression to evaluate

Alternate names

extensions, user content

Definition

An expression to evaluate to extract the value into the specified element definition. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

fixed-valueO C0..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value
Short description

A fixed value to extract

Alternate names

extensions, user content

Definition

A fixed value to extract into the specified element definition.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fixed-value
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.value[x]
Short description

Fixed value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
extractAllocateIdO C0..*Extension(string)Element id
Questionnaire.item:group.extension:extractAllocateId
Short description

Variable name for the new uuid.

Alternate names

extensions, user content

Definition

Allocate a new uuid in a named variable for use in extraction. This is usually used to set the fullUrl for a resource in the output extraction bundle, and then referenced in other resources in that bundle (via fhirpath expressions). The format of the uuid will be urn:uuid:(uuid). e.g. urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031

Requirements

Generates a random UUID that can be used for cross-linking extracted resources

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:extractAllocateId.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:extractAllocateId.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:extractAllocateId.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:extractAllocateId.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

itemPopulationContextO C0..1Extension(Expression)Element id
Questionnaire.item:group.extension:itemPopulationContext
Short description

Establishes mapping context for a Questionnaire item

Alternate names

extensions, user content

Definition

Specifies a query or other expression that identifies the resource (or set of resources for a repeating item) that should be used to support the population of this Questionnaire or Questionnaire.item on initial population. When populating the questionnaire, it will set the specified variable name to that resource repetition for use in processing items within the group.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemPopulationContext.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemPopulationContext.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemPopulationContext.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:group.extension:itemPopulationContext.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:group.extension:noteInfo
Short description

Group Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes generated for this group element from this QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item:group.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item:group.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item:group.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item:group.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
typeO1..1codeBindingPatternElement id
Questionnaire.item:group.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

QuestionnaireItemType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
group
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item:group.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item:group.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item:group.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item:group.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

answerReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredO C0..1booleanElement id
Questionnaire.item:group.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: validator/@allowEmpty=false, or validator/@type='MANDATORY'
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
repeatsO C0..1booleanElement id
Questionnaire.item:group.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
readOnlyC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:group.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
maxLengthC0..1integer
There are no (further) constraints on this element
Element id
Questionnaire.item:group.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
answerValueSetC0..1canonical(ValueSet)
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
answerOptionC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueUriuri
There are no (further) constraints on this element
Data type

uri

itemO C0..*see (item)Element id
Questionnaire.item:group.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target
  • ontario-fhir-legacy: items/*
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
displayO C0..*BackboneElementElement id
Questionnaire.item:display
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:display.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:display.extension:noteInfo
Short description

Question Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes produced from this display item in the QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item:display.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item:display.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item:display.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item:display.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:display.text.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
expressionO C0..1Extension(Expression)Element id
Questionnaire.item:display.text.extension:expression
Short description

An dynamic expression

Alternate names

extensions, user content

Definition

An expression that, when evaluated, provides the value for the element on which it appears.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Expression)

Extension URL

http://hl7.org/fhir/StructureDefinition/cqf-expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/cqf-expression
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.item:display.text.extension:expression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.item:display.text.extension:expression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.item:display.text.extension:expression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • ontario-fhir-legacy: hints
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

typeO1..1codeBindingPatternElement id
Questionnaire.item:display.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

QuestionnaireItemType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
display
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item:display.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item:display.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item:display.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item:display.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

answerReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
repeatsC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
readOnlyC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
maxLengthC0..1integer
There are no (further) constraints on this element
Element id
Questionnaire.item:display.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
answerValueSetC0..1canonical(ValueSet)
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
answerOptionC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueUriuri
There are no (further) constraints on this element
Data type

uri

itemC0..*see (item)
There are no (further) constraints on this element
Element id
Questionnaire.item:display.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target
questionO C0..*BackboneElementElement id
Questionnaire.item:question
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
  • onq-1: minLength and maxLength are only allowed when type is string or text
    extension('http://hl7.org/fhir/StructureDefinition/minLength').exists() or maxLength.exists() implies type='string' or type='text'
  • onq-2: maxSize and mimeType are only permitted when type is 'attachment'
    extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() or extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() implies type='attachment'
  • onq-3: maxSize and mimeType SHOULD both be declared when type is 'attachment'
    type='attachment' implies extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() and extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists()
  • onq-4: minValue and maxValue are only permitted when type is date, dateTime, decimal, integer, or time
    extension('http://hl7.org/fhir/StructureDefinition/minValue').exists() or extension('http://hl7.org/fhir/StructureDefinition/maxValue').exists() implies type='date' or type='dateTime' or type='decimal' or type='integer' or type='time'
  • onq-5: minValue and maxValue SHOULD be specified when type is date, dateTime, decimal, or integer
    type='date' or type='dateTime' or type='decimal' or type='integer' or type='time' implies extension('http://hl7.org/fhir/StructureDefinition/minValue').exists() and extension('http://hl7.org/fhir/StructureDefinition/maxValue').exists()
  • onq-6: choice orientation and item control are only permitted when there are options or a value set
    (extension('http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation').exists() or extension('http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl').exists()) implies (answerOption.exists() or answerValueSet.exists())
  • onq-7: minOccurs and maxOccurs are only permitted when repeats=true
    (extension('http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs').exists() or extension('http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs').exists()) implies repeats
  • onq-8: negativeStyle and negativeText question note extensions are only permitted for boolean questions
    type!='boolean' implies extension('http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info').exists(extension('negativeStyle') or extension('negativeText')).not()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:question.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
answerOptionsToggleO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:answerOptionsToggle
Short description

Expression constraining allowed answers

Alternate names

extensions, user content

Definition

A complex expression that provides a list of the allowed options that should be enabled or disabled based on the evaluation of a provided expression. It allows toggling of allowed answers based on context, including the answers provided to other expressions.

Comments

For example, this allows a list of conditions to be modified based on the gender of the patient

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC2..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
optionO C1..*ExtensionElement id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option
Short description

Option(s) to toggle

Alternate names

extensions, user content

Definition

Each repetition is an option to toggle based on the expression

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
option
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.value[x]
Short description

The option value to control

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

expressionO C1..1ExtensionElement id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression
Short description

The expression to toggle on

Alternate names

extensions, user content

Definition

If this expression evaluate's to 'true', then the specified options should be enabled, otherwise they should be disabled.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
preferredTerminologyServerO C0..*Extension(url)Element id
Questionnaire.item:question.extension:preferredTerminologyServer
Short description

Preferred terminology server

Alternate names

extensions, user content

Definition

Indicates the terminology server(s) that are known to be capable of returning and potentially expanding the value set(s) associated with the resource or a particular portion of the resource (depending on where the extension appears). If a full URL is not provided AND the requested query is a terminology operation (e.g. $lookup or $expand) the client SHOULD execute the operation against (one of) the preferredTerminologyServer(s) rather than the local repository. Systems SHOULD evaluate value sets using terminology servers as follows: First, try any terminology servers declared on the element in question. If there are more then one, try them in the order they appear. Then try any servers that appear on ancestor elements in order of closest ancestor up to any on the resource root If there are no declared servers or none of the ones listed provide a useful response, the form filler may then try any of the typical servers it would normally use. A 'useful response' means a response that provides a valid (though potentially empty) expansion. Clients MAY wish to log/report errors returned by terminology servers.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(url)

Extension URL

http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:preferredTerminologyServer.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:preferredTerminologyServer.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:preferredTerminologyServer.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:question.extension:preferredTerminologyServer.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueUrlurl
There are no (further) constraints on this element
Data type

url

minLengthO C0..1Extension(integer)Element id
Questionnaire.item:question.extension:minLength
Short description

At least this many characters

Alternate names

extensions, user content

Definition

The minimum number of characters that must be present in the simple data type to be considered a "valid" instance.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data.

Data type

Extension(integer)

Extension URL

http://hl7.org/fhir/StructureDefinition/minLength

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
maxSizeO C0..1Extension(decimal)Element id
Questionnaire.item:question.extension:maxSize
Short description

Max size in MB

Alternate names

extensions, user content

Definition

For attachment answers, indicates the maximum size an attachment can be.

Comments

This extension only has meaning if the element has a type of Attachment.

Data type

Extension(decimal)

Extension URL

http://hl7.org/fhir/StructureDefinition/maxSize

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-2, onq-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
mimeTypeO C0..*Extension(code)Element id
Questionnaire.item:question.extension:mimeType
Short description

Type of attachment

Alternate names

extensions, user content

Definition

Identifies the kind(s) of attachment allowed to be sent for an element.

Comments

This extension only has meaning if the element has a type of Attachment.

Data type

Extension(code)

Extension URL

http://hl7.org/fhir/StructureDefinition/mimeType

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-2, onq-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:mimeType.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:mimeType.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:mimeType.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/mimeType
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item:question.extension:mimeType.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

The mime type of an attachment. Any valid mime type is allowed.

ONQuestionnaireMimeTypes (required)

Additional bindings
  • ONQuestionnaireMimeTypes (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

minValueO C0..1Extension(datedateTimedecimalintegertime)Element id
Questionnaire.item:question.extension:minValue
Short description

Must be >= this value

Alternate names

extensions, user content

Definition

The inclusive lower bound on the range of allowed values for the data element.

Comments

Data type specified must be the same as the data type for the data element.

Data type

Extension(datedateTimedecimalintegertime)

Extension URL

http://hl7.org/fhir/StructureDefinition/minValue

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-4, onq-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
maxValueO C0..1Extension(datedateTimedecimalinstantintegertime)Element id
Questionnaire.item:question.extension:maxValue
Short description

Must be <= this value

Alternate names

extensions, user content

Definition

The inclusive upper bound on the range of allowed values for the data element.

Comments

Data type specified must be the same as the data type for the data element.

Data type

Extension(datedateTimedecimalinstantintegertime)

Extension URL

http://hl7.org/fhir/StructureDefinition/maxValue

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-4, onq-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/maxValue
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:maxValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueDatedateData type

date

valueDateTimedateTimeData type

dateTime

valueDecimaldecimalData type

decimal

valueIntegerintegerData type

integer

valueTimetimeData type

time

choiceOrientationO C0..1Extension(code)Element id
Questionnaire.item:question.extension:choiceOrientation
Short description

horizontal | vertical

Alternate names

extensions, user content

Definition

Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).

Comments

Systems may choose to wrap answers rather than attempting to display them all in one row or column. Language conventions may determine the order in which the choices are listed (left-to-right or right-to-left, etc.).

Data type

Extension(code)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceOrientation.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceOrientation.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceOrientation.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
Mappings
  • rim: N/A
value[x]O C1..1BindingElement id
Questionnaire.item:question.extension:choiceOrientation.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Direction in which lists of possible answers should be displayed.

ChoiceListOrientation (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hints/hint[.='VERTICAL_STACKING']
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

itemControlO C0..1Extension(CodeableConcept)Element id
Questionnaire.item:question.extension:itemControl
Short description

E.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.

Alternate names

extensions, user content

Definition

The type of data entry control or structure that should be used to render the item.

Comments

Different controls may be appropriate for different item types. It is up to the system rendering a questionnaire as to what controls it will support and for which data types.

Data type

Extension(CodeableConcept)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemControl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemControl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemControl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Mappings
  • rim: N/A
value[x]O C1..1BindingElement id
Questionnaire.item:question.extension:itemControl.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

User interface controls or widgets used for questionnaire items.

ONQuestionItemControls (required)

Additional bindings
  • ONQuestionItemControls (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hints/hint[.='USE_BUTTONS_FOR_MENU']
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

choiceDiagramO C0..1Extension(url)Element id
Questionnaire.item:question.extension:choiceDiagram
Short description

Image for Choice Diagram?

Alternate names

extensions, user content

Definition

A link to the SVG diagram that is used to render the choice options.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(url)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceDiagram.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceDiagram.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceDiagram.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:question.extension:choiceDiagram.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
valueUrlurl
There are no (further) constraints on this element
Data type

url

minOccursO C0..1Extension(integer)Element id
Questionnaire.item:question.extension:minOccurs
Short description

Minimum repetitions

Alternate names

extensions, user content

Definition

The minimum number of times the group must appear, or the minimum number of answers for a question - when greater than 1.

Comments

Default assumption for "required" elements is minOccurs=1.

Data type

Extension(integer)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:minOccurs.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:minOccurs.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:minOccurs.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:minOccurs.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

maxOccursO C0..1Extension(integer)Element id
Questionnaire.item:question.extension:maxOccurs
Short description

Maximum repetitions

Alternate names

extensions, user content

Definition

The maximum number of times the group must appear, or the maximum number of answers for a question - when greater than 1 and not unlimited.

Comments

Only relevant if the element has repeats=true and there's a need to constrain the number of allowed repetitions.

Data type

Extension(integer)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxOccurs.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxOccurs.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxOccurs.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:maxOccurs.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

targetConstraintO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:targetConstraint
Short description

A constraint on the target resource

Alternate names

extensions, user content

Definition

Specifies a constraint that is enforced on instantiated (or target) resources. This extension can be applied to definitional resources (such as ActivityDefinition or Measure) and indicates that the constraint should be enforced on resources that are instantiated from the definition.

Comments

Can be used on any definitional artifact to define a constraint that is enforced in the context of an instantiated resource. The constraint expression will have access to %target and %definition variables, where target is the instantiated resource, and definition is the definition used to instantiate.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/targetConstraint

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: validator
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
keyO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:key
Short description

Unique identifier

Alternate names

extensions, user content

Definition

A unique identifier for the invariant (unique in the context of the resource).

Comments

Any error or outcome messages or warnings should include this id to allow the source of the message to be determined.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
key
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueIdid
There are no (further) constraints on this element
Data type

id

requirementsC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements
Short description

Why the constraint is defined

Alternate names

extensions, user content

Definition

A brief description of why the constraint is necessary or appropriate.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
requirements
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

severityO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:severity
Short description

error | warning

Alternate names

extensions, user content

Definition

Whether the constraint indicates an error condition or a warning.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:severity.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:severity.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:severity.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
severity
Mappings
  • rim: N/A
value[x]O1..1BindingPatternElement id
Questionnaire.item:question.extension:targetConstraint.extension:severity.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ConstraintSeverity (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
error
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

expressionO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:expression
Short description

The invariant expression

Alternate names

extensions, user content

Definition

An expression providing a formal representation of the invariant condition.

Comments

The expression will have access to %target (the resource that was instantiated) and %definition (the definition for the instantiated resource).

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @validIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

humanO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:human
Short description

Human-readable rule

Alternate names

extensions, user content

Definition

A free text expression of the rule to display to the user if the rule is violated.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @message
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
human
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

locationC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location
Short description

Relative path to elements

Alternate names

extensions, user content

Definition

Relative paths to the elements this rule is enforced against.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
location
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/targetConstraint
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
calculatedExpressionO C0..1Extension(Expression)Element id
Questionnaire.item:question.extension:calculatedExpression
Short description

Expression-determined initial value

Alternate names

extensions, user content

Definition

Calculated value for a question answer as determined by an evaluated expression.

Comments

Calculated value is updated as other answers in the QuestionnaireResponse are filled in.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.item:question.extension:calculatedExpression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.item:question.extension:calculatedExpression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.item:question.extension:calculatedExpression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • ontario-fhir-legacy: @formula
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
initialExpressionO C0..1Extension(Expression)Element id
Questionnaire.item:question.extension:initialExpression
Short description

Expression-determined initial value

Alternate names

extensions, user content

Definition

Initial value for a question answer as determined by an evaluated expression.

Comments

Initial value is only calculated at the time the QuestionnaireResponse is first generated. If the expression returns coded data, it *SHALL return the information as either code or Coding, not CodeableConcept. If the expression returns elements of type 'code', when the user selects one or more candidates, the code will be matched against the allowed Codings (from answerValueSet, answerOptions, or answerExpression). In this case, it is an error if there is more than one Coding with the same code.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
Mappings
  • rim: N/A
value[x]O0..1ExpressionElement id
Questionnaire.item:question.extension:initialExpression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.item:question.extension:initialExpression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.item:question.extension:initialExpression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • ontario-fhir-legacy: text
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
definitionExtractO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:definitionExtract
Short description

Details for a definition based resource extraction

Alternate names

extensions, user content

Definition

Specifies the resource type/profile for the definition based extraction of a resource and optionally the fullUrl and other Bundle.entry.request properties as needed.

Requirements

Enables definition-based extraction of captured data from the Questionnaire

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process (when extraction performed and required extraction metadata malformed)
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtract.extension:definition
Short description

Canonical URL of Resource type or profile to extract

Alternate names

extensions, user content

Definition

The resource type/profile canonical Url defining the resource type to be extracted.

Comments

The canonical URL for a base resource can be used if a specific profile is not required, e.g. http://hl7.org/fhir/StructureDefinition/Patient.

The value used here will be the prefix value (before the #) in any child items definition value.

Where a specific profile is used (not the base resource), then this canonical value will be set in the created resource's meta.profile collection.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.value[x]
Short description

Resource Profile canonical URL

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

fullUrlO C0..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl
Short description

A fhirpath expression to evaluate to populate the fullUrl property in the `Bundle.entry` (uri/string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the fullUrl property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fullUrl
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch
Short description

A fhirpath expression to evaluate to populate the ifNoneMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifModifiedSinceC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince
Short description

A fhirpath expression to evaluate to populate the ifModifiedSince property (instant result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifModifiedSince property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifModifiedSince
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch
Short description

A fhirpath expression to evaluate to populate the ifMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneExistC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist
Short description

A fhirpath expression to evaluate to populate the ifNoneExist property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneExist property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneExist
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractValueO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:definitionExtractValue
Short description

Fixed or calculated value to extract

Alternate names

extensions, user content

Definition

Provide either a fixed value, or an expression to evaluate, to be used as the value for the extracted resource's property based on the definition value.

Requirements

Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • dev-1: Either `expression` or a `fixed-value` must be provided.
    extension('expression').value.exists() xor extension('fixed-value').value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition
Short description

ElementDefintion to extract value into

Alternate names

extensions, user content

Definition

This is the profile canonical Url, followed by # and the element id, that the value should be extracted into.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.value[x]
Short description

Profile canonical URL and element id

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueUriuri
There are no (further) constraints on this element
Data type

uri

expressionO C0..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression
Short description

An expression to evaluate

Alternate names

extensions, user content

Definition

An expression to evaluate to extract the value into the specified element definition. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

fixed-valueO C0..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value
Short description

A fixed value to extract

Alternate names

extensions, user content

Definition

A fixed value to extract into the specified element definition.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fixed-value
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.value[x]
Short description

Fixed value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
extractAllocateIdO C0..*Extension(string)Element id
Questionnaire.item:question.extension:extractAllocateId
Short description

Variable name for the new uuid.

Alternate names

extensions, user content

Definition

Allocate a new uuid in a named variable for use in extraction. This is usually used to set the fullUrl for a resource in the output extraction bundle, and then referenced in other resources in that bundle (via fhirpath expressions). The format of the uuid will be urn:uuid:(uuid). e.g. urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031

Requirements

Generates a random UUID that can be used for cross-linking extracted resources

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:extractAllocateId.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:extractAllocateId.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:extractAllocateId.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:extractAllocateId.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

itemPopulationContextO C0..1Extension(Expression)Element id
Questionnaire.item:question.extension:itemPopulationContext
Short description

Establishes mapping context for a Questionnaire item

Alternate names

extensions, user content

Definition

Specifies a query or other expression that identifies the resource (or set of resources for a repeating item) that should be used to support the population of this Questionnaire or Questionnaire.item on initial population. When populating the questionnaire, it will set the specified variable name to that resource repetition for use in processing items within the group.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemPopulationContext.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemPopulationContext.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemPopulationContext.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:question.extension:itemPopulationContext.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:question.extension:noteInfo
Short description

Question Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes produced from this question in the QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item:question.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item:question.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
  • ontario-fhir-legacy: @emrField
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item:question.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item:question.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
typeO1..1codeBindingElement id
Questionnaire.item:question.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

ONGroupQuestionType (required)

Additional bindings
  • ONGroupQuestionType (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @type
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item:question.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item:question.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item:question.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item:question.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

answerReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredO C0..1booleanElement id
Questionnaire.item:question.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: validator/@allowEmpty=false, or validator/@type='MANDATORY'
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
repeatsO C0..1booleanElement id
Questionnaire.item:question.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @type
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
readOnlyO C0..1booleanElement id
Questionnaire.item:question.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @type
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
maxLengthO C0..1integerElement id
Questionnaire.item:question.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: validatior/@validIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerValueSetO C0..1canonical(ValueSet)Element id
Questionnaire.item:question.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerOptionO C0..*BackboneElementElement id
Questionnaire.item:question.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: choices/choice
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionO C0..*ExtensionElement id
Questionnaire.item:question.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:question.answerOption.extension:noteInfo
Short description

Option Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes generated from this QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
textS C0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text
Short description

Note option text

Alternate names

extensions, user content

Definition

The text to display as the label for the option (if it's selected as an answer) in the 'note' produced from the completed QuestionnaireResponse

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
text
Mappings
  • rim: N/A
value[x]1..1stringElement id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: note
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
xhtmlC0..1Extension(string)
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].extension:xhtml
Short description

String equivalent with html markup

Alternate names

extensions, user content

Definition

This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing restrictions on XHTML content apply. Note that using markdown allows for greater flexibility of display.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-xhtml

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ED can be XHTML content
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

styleS C0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style
Short description

Note option style/color

Alternate names

extensions, user content

Definition

Style (color) for this answer option when rendered in the 'note' produced from the completed QuestionnaireResponse

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
style
Mappings
  • rim: N/A
value[x]1..1Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @flag
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Slicing

Unordered, Open, by $this(Type)

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueDatedateData type

date

valueIntegerintegerData type

integer

valueStringstringData type

string

valueTimetimeData type

time

valueCodingO0..1CodingElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Data type

Coding

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
weightO C0..1Extension(decimal)Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight
Short description

Assigned Ordinal Value

Alternate names

extensions, user content

Definition

A numeric value that allows the comparison (less than, greater than) or other numerical manipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores. In the CodeSystem and ValueSet resources, the item weight is represented using the itemWeight property. In questionnaires, this extension goes on answerOption where possible.

Comments

Scores are commonly encountered in various clinical assessment scales. Assigning a value to a concept should generally be done in a formal code system that defines the value, or in an applicable value set for the concept, but some concepts do not have a formal definition (or are not even represented as a concept formally, especially in Questionnaires, so this extension is allowed to appear ouside those preferred contexts. Scores may even be assigned arbitrarily during use (hence, on Coding). The value may be constrained to an integer in some contexts of use. Todo: Scoring algorithms may also be defined directly, but how this is done is not yet defined

For questionnaires, see additional guidance and examples in the SDC implementation guide.

Data type

Extension(decimal)

Extension URL

http://hl7.org/fhir/StructureDefinition/itemWeight

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/itemWeight
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @points
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

systemO Σ1..1uriElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding.system
Short description

Identity of the terminology system

Definition

The identification of the code system that defines the meaning of the symbol in the code.

Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
versionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.version
Short description

Version of the system - if relevant

Definition

The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.

Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
codeO Σ1..1codeElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding.code
Short description

Symbol in syntax defined by the system

Definition

A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

Requirements

Need to refer to a particular code in the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • ontario-fhir-legacy: @val
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
displayO Σ1..1stringElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding.display
Short description

Representation defined by the system

Definition

A representation of the meaning of the code in the system, following the rules of the system.

Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
  • ontario-fhir-legacy: display
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
userSelectedΣ0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.userSelected
Short description

If this coding was chosen directly by the user

Definition

Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).

Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialO C0..*BackboneElementElement id
Questionnaire.item:question.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13, onq-1, onq-2, onq-3, onq-4, onq-5, onq-6, onq-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: text
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueBooleanbooleanData type

boolean

valueCodingCodingData type

Coding

valueDatedateData type

date

valueDateTimedateTimeData type

dateTime

valueDecimaldecimalData type

decimal

valueIntegerintegerData type

integer

valueStringstringData type

string

valueTimetimeData type

time

valueUriuriData type

uri

itemC0..*see (item)
There are no (further) constraints on this element
Element id
Questionnaire.item:question.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target

Hybrid View

OntarioSDCQuestionnaire (Questionnaire)CQuestionnaireElement id
Questionnaire
Short description

Ontario SDC Questionnaire profile

Alternate names

Form, CRF, Survey

Definition

Defines additional the Questionnaire requirements to align with used capabilities of the legacy Ontario form tool.

Data type

Questionnaire

Constraints
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-4: If 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-3: If 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-6: A resource should have narrative for robust management
    text.`div`.exists()
  • dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
  • que-2: The link ids for groups and questions must be unique within the questionnaire
    descendants().linkId.isDistinct()
  • que-0: Name 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}')
Mappings
  • rim: Entity. Role, or Act
  • workflow: Definition
  • rim: Observation[moodCode=DEF]
  • ontario-fhir-legacy: eform
idΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.id
Short description

Logical id of this artifact

Definition

The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

Data type

string

metaΣ0..1Meta
There are no (further) constraints on this element
Element id
Questionnaire.meta
Short description

Metadata about the resource

Definition

The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

Data type

Meta

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
implicitRulesΣ ?!0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.implicitRules
Short description

A set of rules under which this content was created

Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
language0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.language
Short description

Language of the resource content

Definition

The base language in which the resource is written.

Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Data type

code

Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
text0..1Narrative
There are no (further) constraints on this element
Element id
Questionnaire.text
Short description

Text summary of the resource, for human interpretation

Alternate names

narrative, html, xhtml, display

Definition

A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

Comments

Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

Data type

Narrative

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • rim: Act.text?
containedO0..*ResourceElement id
Questionnaire.contained
Short description

Contained, inline Resources

Alternate names

inline resources, anonymous resources, contained resources

Definition

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

Requirements

Used for contained Binary instances for images and Library instances for Liquid rendering templates

Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.

Data type

Resource

Mappings
  • rim: Entity. Role, or Act
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
extensionC2..*ExtensionElement id
Questionnaire.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
versionAlgorithmC1..1Extension(Codingstring)Element id
Questionnaire.extension:versionAlgorithm
Short description

How to compare versions

Alternate names

extensions, user content

Definition

Indicates the mechanism used to compare versions to determine which is more current.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Codingstring)

Extension URL

http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:versionAlgorithm.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:versionAlgorithm.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:versionAlgorithm.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm
Mappings
  • rim: N/A
value[x]0..1BindingElement id
Questionnaire.extension:versionAlgorithm.value[x]
Short description

How to compare versions

Definition

Indicates the mechanism used to compare versions to determine which is more current.

Slicing

Unordered, Open, by $this(Type)

Binding

R5_version_algorithm_for_R4 (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

valueCoding0..1CodingBindingPatternElement id
Questionnaire.extension:versionAlgorithm.value[x]:valueCoding
Short description

How to compare versions

Definition

Indicates the mechanism used to compare versions to determine which is more current.

Data type

Coding

Binding

R5_version_algorithm_for_R4 (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
{
  "system": "http://hl7.org/fhir/version-algorithm",
  "code": "semver"
}
Mappings
  • rim: n/a
  • rim: N/A
entryModeC1..1Extension(code)Element id
Questionnaire.extension:entryMode
Short description

sequential | prior-edit | random

Alternate names

extensions, user content

Definition

Indicates how questions within the questionnaire should be presented to the end-user. Specifically, differentiates whether the questions should be displayed one-at-a-time with no ability to adjust prior entries; one-at-a-time or continuously expanding where all questions up to the current question can be looked at and edited, or random, where all questions can be seen and the questions can be filled out in any order desired.

Comments

The prior-edit functionality can be accomplished by adding questions to the screen as each subsequent question is answered (resulting in all questions being displayed in a single screen) or with a view that shows only one question at a time but allows backward navigation to view and/or edit prior answers.

Data type

Extension(code)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:entryMode.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:entryMode.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:entryMode.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
Mappings
  • rim: N/A
value[x]0..1BindingPatternElement id
Questionnaire.extension:entryMode.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Entry modes when completing a questionnaire

QuestionnaireEntryMode (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
random
Mappings
  • rim: n/a
  • rim: N/A
valueCodecode
There are no (further) constraints on this element
Data type

code

assembledFromC0..1Extension(canonical)Element id
Questionnaire.extension:assembledFrom
Short description

Identifies subQuestionnaires used in the assembly process

Alternate names

extensions, user content

Definition

This extension will appear on the root of an assembled Questionnaire and identifies the subQuestionnaires (including version) that were used as part of the assembly process.

Requirements

Indicates what common sources the items in this were drawn from. Used for maintenance purposes, but not relevant in the rendering of the Questionnaire. NOTE: the max cardinality should be *. Will change once we can depend on the official SDC release rather than the ballot release.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(canonical)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
launchContextO C0..1Extension(Complex)Element id
Questionnaire.extension:launchContext
Short description

Context resources needed for Questionnaire

Alternate names

extensions, user content

Definition

Resources that provide context for form processing logic (pre-population, flow-control, drop-down selection, etc.) when creating/displaying/editing a QuestionnaireResponse.

Requirements

Needed to support population and logic based on patient age, gender, etc.

Comments

3 of these launch contexts are aligned with the existing SMART on FHIR "launch" contexts.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • sdc-lcext-1: Types must be from the specified value set of resource types based on name: patient: Patient; user: Patient, Practitioner, PractitionerRole, Organization, RelatedPerson, Device; encounter: Encounter; location: Location; study: ResearchStudy; clinical: Any allowed clinical resource
    (extension('name').value.where(code='patient' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'Patient')) and (extension('name').value.where(code='user' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value='Patient' or value='Practitioner' or value='PractitionerRole' or value='RelatedPerson' or value='Organization' or value='Device')) and (extension('name').value.where(code='encounter' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'Encounter')) and (extension('name').value.where(code='location' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'Location')) and (extension('name').value.where(code='study' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'ResearchStudy'))
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC2..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
nameO C1..1ExtensionElement id
Questionnaire.extension:launchContext.extension:name
Short description

Variable name

Alternate names

extensions, user content

Definition

The variable name the passed resource will be referenced by within the Questionnaire logic.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:name.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:name.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:name.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
name
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.extension:launchContext.extension:name.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Launch context codes for use in defining questionnaires context at launch time (NOTE: the Coding.code will be used for the variable name and that (at present) there is no support for Questionnaires that use multiple launch contexts which share a common code but different code systems. Also, all launch context codes must meet the requirements to be a valid FHIRPath name.).

ONLaunchContexts (required)

Additional bindings
  • ONLaunchContexts (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

typeO C1..*ExtensionElement id
Questionnaire.extension:launchContext.extension:type
Short description

Resource type

Alternate names

extensions, user content

Definition

The kind of resource to be provided.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:type.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:type.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:type.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
type
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.extension:launchContext.extension:type.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ONLaunchContextResources (required)

Additional bindings
  • ONLaunchContextResources (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

descriptionC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description
Short description

Explanation of context element

Alternate names

extensions, user content

Definition

Guidance on the resource to be provided and what impact providing it will have on questionnaire behavior.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
description
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

multiplesAllowedC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed
Short description

Allow multiple resources

Alternate names

extensions, user content

Definition

Indicates whether multiple resources are permitted for this context element.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
multiplesAllowed
Mappings
  • rim: N/A
value[x]0..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
variableO C0..*Extension(Expression)Element id
Questionnaire.extension:variable
Short description

Variable for processing

Alternate names

extensions, user content

Definition

Variable specifying a logic to generate a variable for use in subsequent logic. The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.

Requirements

Allows capturing answers or totals for use in other logic

Comments

Ordering of variable extension declarations is significant as variables declared in one repetition of this extension might be used in subsequent extension repetitions.

Data type

Extension(Expression)

Extension URL

http://hl7.org/fhir/StructureDefinition/variable

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/variable
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.extension:variable.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingElement id
Questionnaire.extension:variable.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.extension:variable.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
definitionExtractO C0..*Extension(Complex)Element id
Questionnaire.extension:definitionExtract
Short description

Details for a definition based resource extraction

Alternate names

extensions, user content

Definition

Specifies the resource type/profile for the definition based extraction of a resource and optionally the fullUrl and other Bundle.entry.request properties as needed.

Requirements

Enables definition-based extraction of captured data from the Questionnaire

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.extension:definitionExtract.extension:definition
Short description

Canonical URL of Resource type or profile to extract

Alternate names

extensions, user content

Definition

The resource type/profile canonical Url defining the resource type to be extracted.

Comments

The canonical URL for a base resource can be used if a specific profile is not required, e.g. http://hl7.org/fhir/StructureDefinition/Patient.

The value used here will be the prefix value (before the #) in any child items definition value.

Where a specific profile is used (not the base resource), then this canonical value will be set in the created resource's meta.profile collection.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:definitionExtract.extension:definition.value[x]
Short description

Resource Profile canonical URL

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

fullUrlO C0..1ExtensionElement id
Questionnaire.extension:definitionExtract.extension:fullUrl
Short description

A fhirpath expression to evaluate to populate the fullUrl property in the `Bundle.entry` (uri/string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the fullUrl property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fullUrl
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch
Short description

A fhirpath expression to evaluate to populate the ifNoneMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifModifiedSinceC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince
Short description

A fhirpath expression to evaluate to populate the ifModifiedSince property (instant result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifModifiedSince property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifModifiedSince
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch
Short description

A fhirpath expression to evaluate to populate the ifMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneExistC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist
Short description

A fhirpath expression to evaluate to populate the ifNoneExist property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneExist property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneExist
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractValueO C0..*Extension(Complex)Element id
Questionnaire.extension:definitionExtractValue
Short description

Fixed or calculated value to extract

Alternate names

extensions, user content

Definition

Provide either a fixed value, or an expression to evaluate, to be used as the value for the extracted resource's property based on the definition value.

Requirements

Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • dev-1: Either `expression` or a `fixed-value` must be provided.
    extension('expression').value.exists() xor extension('fixed-value').value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.extension:definitionExtractValue.extension:definition
Short description

ElementDefintion to extract value into

Alternate names

extensions, user content

Definition

This is the profile canonical Url, followed by # and the element id, that the value should be extracted into.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:definitionExtractValue.extension:definition.value[x]
Short description

Profile canonical URL and element id

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueUriuri
There are no (further) constraints on this element
Data type

uri

expressionO C0..1ExtensionElement id
Questionnaire.extension:definitionExtractValue.extension:expression
Short description

An expression to evaluate

Alternate names

extensions, user content

Definition

An expression to evaluate to extract the value into the specified element definition. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
fixed-valueO C0..1ExtensionElement id
Questionnaire.extension:definitionExtractValue.extension:fixed-value
Short description

A fixed value to extract

Alternate names

extensions, user content

Definition

A fixed value to extract into the specified element definition.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fixed-value
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.value[x]
Short description

Fixed value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
extractAllocateIdO C0..*Extension(string)Element id
Questionnaire.extension:extractAllocateId
Short description

Variable name for the new uuid.

Alternate names

extensions, user content

Definition

Allocate a new uuid in a named variable for use in extraction. This is usually used to set the fullUrl for a resource in the output extraction bundle, and then referenced in other resources in that bundle (via fhirpath expressions). The format of the uuid will be urn:uuid:(uuid). e.g. urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031

Requirements

Generates a random UUID that can be used for cross-linking extracted resources

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:extractAllocateId.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:extractAllocateId.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:extractAllocateId.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:extractAllocateId.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

responseRenderingLiquidO C0..1Extension(Reference(OntarioEFormsLiquidLibrary))Element id
Questionnaire.extension:responseRenderingLiquid
Short description

Rendering library for responses

Alternate names

extensions, user content

Definition

Points to a Library containing FHIR Liquid template that defines how the narrative for QuestionnaireResponses created for this Questionnaire should be generated.

Comments

This may refer to a contained Library or a Library available from a FHIR server

Data type

Extension(Reference(OntarioEFormsLiquidLibrary))

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid
Mappings
  • rim: N/A
value[x]O1..1Reference(OntarioEFormsLiquidLibrary)Element id
Questionnaire.extension:responseRenderingLiquid.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Reference(OntarioEFormsLiquidLibrary)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
referenceO Σ C1..1stringElement id
Questionnaire.extension:responseRenderingLiquid.value[x].reference
Short description

Literal reference, Relative, internal or absolute URL

Definition

A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

Comments

Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, ref-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
typeΣ0..1uriBinding
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].type
Short description

Type the reference refers to (e.g. "Patient")

Definition

The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

Comments

This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.

Data type

uri

Binding

Aa resource (or, for logical models, the URI of the logical model).

ResourceType (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
identifierΣ0..1Identifier
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].identifier
Short description

Logical reference, when literal reference is not known

Definition

An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

Comments

When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

Data type

Identifier

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • rim: .identifier
displayΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].display
Short description

Text alternative for the resource

Definition

Plain text narrative that identifies the resource in addition to the resource reference.

Comments

This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
modifierExtension?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.modifierExtension
Short description

Extensions that cannot be ignored

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
urlO Σ1..1uriElement id
Questionnaire.url
Short description

Canonical identifier for this questionnaire, represented as a URI (globally unique)

Definition

An absolute URI that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this questionnaire is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the questionnaire is stored on different servers.

Requirements

… This is the id that will be used to link a QuestionnaireResponse to the Questionnaire the response is for.

Comments

The name of the referenced questionnaire can be conveyed using the http://hl7.org/fhir/StructureDefinition/display extension.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.url
  • w5: FiveWs.identifier
  • rim: .identifier[scope=BUSN;reliability=ISS]
  • ontario-fhir-legacy: eform/@ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
identifierΣ0..*Identifier
There are no (further) constraints on this element
Element id
Questionnaire.identifier
Short description

Additional identifier for the questionnaire

Definition

A formal identifier that is used to identify this questionnaire when it is represented in other formats, or referenced in a specification, model, design or an instance.

Requirements

Allows externally provided and/or usable business identifiers to be easily associated with the module.

Comments

Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this questionnaire outside of FHIR, where it is not possible to use the logical URI.

Data type

Identifier

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • workflow: Definition.identifier
  • w5: FiveWs.identifier
  • rim: .identifier
  • objimpl: no-gen-base
versionO Σ1..1stringElement id
Questionnaire.version
Short description

Business version of the questionnaire

Definition

The identifier that is used to identify this version of the questionnaire when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the questionnaire author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.

Comments

There may be different questionnaire instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the questionnaire with the format [url]|[version].

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.version
  • w5: FiveWs.version
  • rim: N/A (to add?)
  • ontario-fhir-legacy: eform/@revision
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
nameΣ C0..1string
There are no (further) constraints on this element
Element id
Questionnaire.name
Short description

Name for this questionnaire (computer friendly)

Definition

A natural language name identifying the questionnaire. This name should be usable as an identifier for the module by machine processing applications such as code generation.

Requirements

Support human navigation and code generation.

Comments

The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, inv-0

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
titleO Σ0..1stringElement id
Questionnaire.title
Short description

Name for this questionnaire (human friendly)

Definition

A short, descriptive, user-friendly title for the questionnaire.

Comments

This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.title
  • rim: .title
  • ontario-fhir-legacy: eform/@title
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.title.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.title.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
short-stringO C0..1Extension(string)Element id
Questionnaire.title.extension:short-string
Short description

Short-form of string

Alternate names

extensions, user content

Definition

A shorter version of a string, typically intended for use on mobile displays.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: eform/@shortForm
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:display
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.title.value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

derivedFrom0..*canonical(Questionnaire)
There are no (further) constraints on this element
Element id
Questionnaire.derivedFrom
Short description

Instantiates protocol or definition

Definition

The URL of a Questionnaire that this Questionnaire is based on.

Requirements

Allows a Questionnaire to be created based on another Questionnaire.

Comments

see Canonical References

Data type

canonical(Questionnaire)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.derivedFrom
  • rim: .outboundRelationship[typeCode=DRIV].target[classCode=OBS, moodCode=DEFN]
statusΣ ?!1..1codeBindingPatternElement id
Questionnaire.status
Short description

draft | active | retired | unknown

Definition

The status of this questionnaire. Enables tracking the life-cycle of the content.

Comments

Allows filtering of questionnaires that are appropriate for use versus not.

Data type

code

Binding

The lifecycle status of an artifact.

PublicationStatus (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
active
Mappings
  • rim: n/a
  • workflow: Definition.status
  • w5: FiveWs.status
  • rim: .status
experimentalO Σ1..1booleanElement id
Questionnaire.experimental
Short description

For testing purposes, not real usage

Definition

A Boolean value to indicate that this questionnaire is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.

Requirements

Used to differentiate Questionnaires defined for 'testing' purposes from those that are intended for actual use with patients

Comments

Allows filtering of questionnaires that are appropriate for use versus not.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.experimental
  • w5: FiveWs.class
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
subjectTypeO Σ1..1codeBindingPatternElement id
Questionnaire.subjectType
Short description

Resource that can be subject of QuestionnaireResponse

Definition

The types of subjects that can be the subject of responses created for the questionnaire.

Comments

If none are specified, then the subject is unlimited.

Data type

code

Binding

One of the resource types defined as part of this version of FHIR.

ResourceType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
Patient
Mappings
  • rim: n/a
  • workflow: Definition.subject[x]
  • rim: .outboundRelationship[typeCode=META].target[classCode=OBS, moodCode=DEFN, isCriterion=true].participation.role.classCode
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
dateO Σ0..1dateTimeElement id
Questionnaire.date
Short description

Date last changed

Alternate names

Revision Date

Definition

The date (and optionally time) when the questionnaire was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the questionnaire changes.

Comments

Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the questionnaire. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.

Data type

dateTime

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.date
  • w5: FiveWs.recorded
  • rim: .participation[typeCode=AUT].time
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
publisherO Σ0..1stringElement id
Questionnaire.publisher
Short description

Name of the publisher (organization or individual)

Definition

The name of the organization or individual that published the questionnaire.

Requirements

Helps establish the "authority/credibility" of the questionnaire. May also allow for contact.

Comments

Usually an organization but may be an individual. The publisher (or steward) of the questionnaire is the organization or individual primarily responsible for the maintenance and upkeep of the questionnaire. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the questionnaire. This item SHOULD be populated unless the information is available from context.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.publisher
  • w5: FiveWs.witness
  • rim: .participation[typeCode=AUT].role
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
contactΣ0..*ContactDetail
There are no (further) constraints on this element
Element id
Questionnaire.contact
Short description

Contact details for the publisher

Definition

Contact details to assist a user in finding and communicating with the publisher.

Comments

May be a web site, an email address, a telephone number, etc.

Data type

ContactDetail

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.contact
  • rim: .participation[typeCode=CALLBCK].role
descriptionO0..1markdownElement id
Questionnaire.description
Short description

Natural language description of the questionnaire

Definition

A free text natural language description of the questionnaire from a consumer's perspective.

Comments

This description can be used to capture details such as why the questionnaire was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the questionnaire as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the questionnaire is presumed to be the predominant language in the place the questionnaire was created).

Data type

markdown

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.description
  • rim: .text
  • ontario-fhir-legacy: eform/description
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.description.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.description.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
short-stringC0..1Extension(string)Element id
Questionnaire.description.extension:short-string
Short description

Short-form of string

Alternate names

extensions, user content

Definition

A shorter version of a string, typically intended for use on mobile displays.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: eform/tagline
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.description.value
Short description

Primitive value for markdown

Definition

Primitive value for markdown

Data type

System.String

Maximum string length

1048576

useContextΣ0..*UsageContextElement id
Questionnaire.useContext
Short description

The context that the content is intended to support

Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.

Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

Data type

UsageContext

Slicing

Unordered, Closed, by code(Value)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
  • rim: N/A (to add?)
focusO Σ0..*UsageContextElement id
Questionnaire.useContext:focus
Short description

The context that the content is intended to support

Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.

Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

Data type

UsageContext

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
  • rim: N/A (to add?)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codeΣ1..1CodingBindingPatternElement id
Questionnaire.useContext:focus.code
Short description

Type of context being specified

Definition

A code that identifies the type of context being specified by this usage context.

Comments

Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.

Data type

Coding

Binding

A code that specifies a type of context being specified by a usage context.

UsageContextType (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
{
  "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
  "code": "focus"
}
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
value[x]O Σ1..1CodeableConceptBindingElement id
Questionnaire.useContext:focus.value[x]
Short description

Value that defines the context

Definition

A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

Data type

CodeableConcept

Binding

A code that defines the specific value for the context being specified.

ONQuestionnaireTopic (required)

Additional bindings
  • ONQuestionnaireTopic (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codingΣ0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding
Short description

Code defined by a terminology system

Definition

A reference to a code defined by a terminology system.

Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Data type

Coding

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
systemΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.system
Short description

Identity of the terminology system

Definition

The identification of the code system that defines the meaning of the symbol in the code.

Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
versionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.version
Short description

Version of the system - if relevant

Definition

The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.

Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
codeΣ0..1codeElement id
Questionnaire.useContext:focus.value[x].coding.code
Short description

Symbol in syntax defined by the system

Definition

A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

Requirements

Need to refer to a particular code in the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • ontario-fhir-legacy: eform/tags/tag
displayΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.display
Short description

Representation defined by the system

Definition

A representation of the meaning of the code in the system, following the rules of the system.

Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
userSelectedΣ0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.userSelected
Short description

If this coding was chosen directly by the user

Definition

Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).

Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
textO Σ0..1stringElement id
Questionnaire.useContext:focus.value[x].text
Short description

Plain text representation of the concept

Definition

A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • ontario-fhir-legacy: eform/keywords
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
topicO Σ0..*UsageContextElement id
Questionnaire.useContext:topic
Short description

The context that the content is intended to support

Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.

Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

Data type

UsageContext

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
  • rim: N/A (to add?)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codeΣ1..1CodingBindingPatternElement id
Questionnaire.useContext:topic.code
Short description

Type of context being specified

Definition

A code that identifies the type of context being specified by this usage context.

Comments

Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.

Data type

Coding

Binding

A code that specifies a type of context being specified by a usage context.

UsageContextType (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
{
  "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
  "code": "topic"
}
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
value[x]O Σ1..1CodeableConceptElement id
Questionnaire.useContext:topic.value[x]
Short description

Value that defines the context

Definition

A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

Data type

CodeableConcept

Binding

A code that defines the specific value for the context being specified.

Context of Use ValueSet (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codingΣ0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.value[x].coding
Short description

Code defined by a terminology system

Definition

A reference to a code defined by a terminology system.

Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Data type

Coding

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
textO Σ0..1stringElement id
Questionnaire.useContext:topic.value[x].text
Short description

Plain text representation of the concept

Definition

A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
jurisdictionΣ0..*CodeableConceptBinding
There are no (further) constraints on this element
Element id
Questionnaire.jurisdiction
Short description

Intended jurisdiction for questionnaire (if applicable)

Definition

A legal or geographic region in which the questionnaire is intended to be used.

Comments

It may be possible for the questionnaire to be used in jurisdictions other than those for which it was originally designed or intended.

Data type

CodeableConcept

Binding

Countries and regions within which this artifact is targeted for use.

Jurisdiction ValueSet (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Definition.jurisdiction
  • rim: N/A (to add?)
purpose0..1markdown
There are no (further) constraints on this element
Element id
Questionnaire.purpose
Short description

Why this questionnaire is defined

Definition

Explanation of why this questionnaire is needed and why it has been designed as it has.

Comments

This element does not describe the usage of the questionnaire. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this questionnaire.

Data type

markdown

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.purpose
  • w5: FiveWs.why[x]
  • rim: .reasonCode.text
  • objimpl: no-gen-base
copyrightO0..1markdownElement id
Questionnaire.copyright
Short description

Use and/or publishing restrictions

Alternate names

License, Restrictions

Definition

A copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire.

Requirements

Consumers must be able to determine any legal restrictions on the use of the questionnaire and/or its content.

Comments

Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/

Data type

markdown

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.copyright
  • rim: N/A (to add?)
  • objimpl: no-gen-base
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:display
approvalDateO0..1dateElement id
Questionnaire.approvalDate
Short description

When the questionnaire was approved by publisher

Definition

The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.

Comments

The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.

Data type

date

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.approvalDate
  • rim: .outboundRelationship[typeCode="SUBJ"].act[classCode=CACT;moodCode=EVN;code="approval"].effectiveTime
  • objimpl: no-gen-base
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
lastReviewDate0..1date
There are no (further) constraints on this element
Element id
Questionnaire.lastReviewDate
Short description

When the questionnaire was last reviewed

Definition

The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.

Requirements

Gives a sense of how "current" the content is. Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant.

Comments

If specified, this date follows the original approval date.

Data type

date

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.lastReviewDate
  • rim: .outboundRelationship[typeCode="SUBJ"; subsetCode="RECENT"].act[classCode=CACT;moodCode=EVN;code="review"].effectiveTime
  • objimpl: no-gen-base
effectivePeriodO Σ C0..1PeriodElement id
Questionnaire.effectivePeriod
Short description

When the questionnaire is expected to be used

Definition

The period during which the questionnaire content was or is planned to be in active use.

Requirements

Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the questionnaire are or are expected to be used instead.

Comments

The effective period for a questionnaire determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.

Data type

Period

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • per-1: If present, start SHALL have a lower value than end
    start.hasValue().not() or end.hasValue().not() or (start <= end)
Mappings
  • rim: n/a
  • v2: DR
  • rim: IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]
  • workflow: Definition.effectivePeriod
  • rim: N/A (to add?)
  • objimpl: no-gen-base
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.effectivePeriod.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.effectivePeriod.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
startO Σ C0..1dateTimeElement id
Questionnaire.effectivePeriod.start
Short description

When to start using form

Definition

The start of the period. The boundary is inclusive.

Comments

If the low element is missing, the meaning is that the low boundary is not known.

Data type

dateTime

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, per-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: DR.1
  • rim: ./low
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
endO Σ C0..1dateTimeElement id
Questionnaire.effectivePeriod.end
Short description

When to stop using form

Definition

The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.

Comments

The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.

Meaning when missing

If the end of the period is missing, it means that the period is ongoing

Data type

dateTime

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, per-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: DR.2
  • rim: ./high
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
codeO Σ0..*CodingElement id
Questionnaire.code
Short description

Concept that represents the overall questionnaire

Definition

An identifier for this question or group of questions in a particular terminology such as LOINC.

Requirements

Allows linking of the complete Questionnaire resources to formal terminologies. It's common for "panels" of questions to be identified by a code.

Comments

Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
itemO C0..*BackboneElementElement id
Questionnaire.item
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Slicing

Unordered, Closed, by type(Value)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
  • onq-9: All display items must have text or note details
    type='display' implies text.exists() or extension('http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info').exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
  • ontario-fhir-legacy: eform/mainSection, section, item
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
(All Slices)
The requirements in this element apply to all slices

id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
renderStyleO C0..1Extension(string)Element id
Questionnaire.item.extension:renderStyle
Short description

Html style value

Alternate names

extensions, user content

Definition

Identifies how the specified element should be rendered when displayed.

Comments

This extension would be equivalent to setting the HTML "style" attribute on the root element for the element containing the extension.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-style

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hints
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:renderStyle.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:renderStyle.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:renderStyle.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/rendering-style
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item.extension:renderStyle.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ONItemStyles (required)

Additional bindings
  • ONItemStyles (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hint
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

supportHyperlinkO C0..1Extension(Complex)Element id
Questionnaire.item.extension:supportHyperlink
Short description

A labeled hyperlink for user guidance

Alternate names

extensions, user content

Definition

A labeled hyperlink for display alongside a questionnaire item, providing supporting guidance to the user.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-supportHyperlink

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hyperlink
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
labelO C1..1ExtensionElement id
Questionnaire.item.extension:supportHyperlink.extension:label
Short description

The hyperlink display text

Alternate names

extensions, user content

Definition

The text to display for the user to click on to go to the link.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hyperlink/@text
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
label
Mappings
  • rim: N/A
value[x]0..1
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Slicing

Unordered, Open, by $this(Type)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

valueString1..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.value[x]:valueString
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
linkO C1..1ExtensionElement id
Questionnaire.item.extension:supportHyperlink.extension:link
Short description

The hyperlink URL

Alternate names

extensions, user content

Definition

The link to navigate to.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hyperlink/@url
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
link
Mappings
  • rim: N/A
value[x]0..1
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Slicing

Unordered, Open, by $this(Type)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

valueUri1..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.value[x]:valueUri
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-supportHyperlink
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
enableWhenExpressionO C0..1Extension(Expression)Element id
Questionnaire.item.extension:enableWhenExpression
Short description

Expression for when to enable the item

Alternate names

extensions, user content

Definition

An expression that returns a boolean value for whether to enable the item.

Comments

This is only permitted when the containing item does NOT have any enableWhen elements.

If the expression involves comparisons between elements that have different precisions but are otherwise equal, FHIRPath will resolve the expression to an empty set, which will in turn evaluate to false (meaning the item won't be enabled). If this is not the desired behavior, the author should add a .allTrue() to the end of the expression, which will result in an indeterminate outcome because of precision differences being handled as 'true' and the item being enabled. Questionnaires SHOULD be designed to take into account challenges around varying precision to minimize non-deterministic situations by setting constraints around expected precision, etc.

If the expression evaluates to something other than a boolean true or false, the Form Filler SHOULD still display the form, and if it does so, SHOULD treat the element as 'enabled' and display a warning to the user that the questionnaire logic was faulty and it's possible that the item shouldn't be enabled.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:enableWhenExpression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:enableWhenExpression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:enableWhenExpression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
Mappings
  • rim: N/A
value[x]O C1..1Element id
Questionnaire.item.extension:enableWhenExpression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • sdc-inv1: FHIR query language not allowed.
    language!='application/x-fhir-query'
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

hiddenO C0..1Extension(boolean)Element id
Questionnaire.item.extension:hidden
Short description

Don't display to user

Alternate names

extensions, user content

Definition

If true, indicates that the extended item should not be displayed to the user.

Comments

If an item is hidden, all descendant items are hidden as well.

Data type

Extension(boolean)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-hidden

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:hidden.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:hidden.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:hidden.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.extension:hidden.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @showIf, @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

variableO C0..*Extension(Expression)Element id
Questionnaire.item.extension:variable
Short description

Variable for processing

Alternate names

extensions, user content

Definition

Variable specifying a logic to generate a variable for use in subsequent logic. The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.

Requirements

Allows capturing answers or totals for use in other logic

Comments

Ordering of variable extension declarations is significant as variables declared in one repetition of this extension might be used in subsequent extension repetitions.

Data type

Extension(Expression)

Extension URL

http://hl7.org/fhir/StructureDefinition/variable

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:variable.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:variable.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:variable.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/variable
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.extension:variable.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item.text.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
renderStyleO C0..1Extension(string)Element id
Questionnaire.item.text.extension:renderStyle
Short description

Html style value

Alternate names

extensions, user content

Definition

Identifies how the specified element should be rendered when displayed.

Comments

This extension would be equivalent to setting the HTML "style" attribute on the root element for the element containing the extension.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-style

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:renderStyle.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:renderStyle.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:renderStyle.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/rendering-style
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.text.extension:renderStyle.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: eFormSection/@headerStyle
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

translationO C0..*Extension(Complex)Element id
Questionnaire.item.text.extension:translation
Short description

Language Translation (Localization)

Alternate names

extensions, user content

Definition

Language translation from base language of resource to another language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/translation

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ST.translation
  • ontario-fhir-legacy: /eform/stringTranslations/str[current().contains(@ref)]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
langO C1..1ExtensionElement id
Questionnaire.item.text.extension:translation.extension:lang
Short description

Code for Language

Alternate names

extensions, user content

Definition

Code for Language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:lang.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:lang.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:lang.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
lang
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item.text.extension:translation.extension:lang.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @locale
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
valueCodecode
There are no (further) constraints on this element
Data type

code

contentO C1..1ExtensionElement id
Questionnaire.item.text.extension:translation.extension:content
Short description

Content in other Language

Alternate names

extensions, user content

Definition

Content in other Language.

Comments

The type (string or markdown) must match the context in which it is used.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:content.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:content.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:content.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
content
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.text.extension:translation.extension:content.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: text()
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
valueStringstringData type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/translation
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
xhtmlO C0..1Extension(string)Element id
Questionnaire.item.text.extension:xhtml
Short description

String equivalent with html markup

Alternate names

extensions, user content

Definition

This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing restrictions on XHTML content apply. Note that using markdown allows for greater flexibility of display.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-xhtml

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ED can be XHTML content
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/rendering-xhtml
Mappings
  • rim: N/A
value[x]O1..1stringElement id
Questionnaire.item.text.extension:xhtml.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: items/picture, refs/ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
translationO C0..*Extension(Complex)Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation
Short description

Language Translation (Localization)

Alternate names

extensions, user content

Definition

Language translation from base language of resource to another language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/translation

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ST.translation
  • ontario-fhir-legacy: /eform/stringTranslations/str[current().contains(@ref)]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
langO C1..1ExtensionElement id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang
Short description

Code for Language

Alternate names

extensions, user content

Definition

Code for Language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
lang
Mappings
  • rim: N/A
value[x]1..1BindingElement id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueCodecode
There are no (further) constraints on this element
Data type

code

contentO C1..1ExtensionElement id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content
Short description

Content in other Language

Alternate names

extensions, user content

Definition

Content in other Language.

Comments

The type (string or markdown) must match the context in which it is used.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
content
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/translation
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item.text.value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

type1..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

QuestionnaireItemType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
repeatsC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
readOnlyC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
maxLengthC0..1integer
There are no (further) constraints on this element
Element id
Questionnaire.item.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
answerValueSetC0..1canonical(ValueSet)
There are no (further) constraints on this element
Element id
Questionnaire.item.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
answerOptionC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueUriuri
There are no (further) constraints on this element
Data type

uri

itemC0..*see (item)
There are no (further) constraints on this element
Element id
Questionnaire.item.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target
groupO C0..*BackboneElementElement id
Questionnaire.item:group
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:group.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
preferredTerminologyServerO C0..*Extension(url)Element id
Questionnaire.item:group.extension:preferredTerminologyServer
Short description

Preferred terminology server

Alternate names

extensions, user content

Definition

Indicates the terminology server(s) that are known to be capable of returning and potentially expanding the value set(s) associated with the resource or a particular portion of the resource (depending on where the extension appears). If a full URL is not provided AND the requested query is a terminology operation (e.g. $lookup or $expand) the client SHOULD execute the operation against (one of) the preferredTerminologyServer(s) rather than the local repository. Systems SHOULD evaluate value sets using terminology servers as follows: First, try any terminology servers declared on the element in question. If there are more then one, try them in the order they appear. Then try any servers that appear on ancestor elements in order of closest ancestor up to any on the resource root If there are no declared servers or none of the ones listed provide a useful response, the form filler may then try any of the typical servers it would normally use. A 'useful response' means a response that provides a valid (though potentially empty) expansion. Clients MAY wish to log/report errors returned by terminology servers.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(url)

Extension URL

http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
collapsibleO C0..1Extension(code)Element id
Questionnaire.item:group.extension:collapsible
Short description

Indicates whether the child items of a group or question item is displayed in collapsible form.

Alternate names

extensions, user content

Definition

Indicates whether the child items of a group or question item is displayed in collapsible form.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(code)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:collapsible.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:collapsible.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:collapsible.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item:group.extension:collapsible.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Defines mechanism of displaying child items.

QuestionnaireItemCollapsible (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

itemControlO C0..1Extension(CodeableConcept)Element id
Questionnaire.item:group.extension:itemControl
Short description

E.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.

Alternate names

extensions, user content

Definition

The type of data entry control or structure that should be used to render the item.

Comments

Different controls may be appropriate for different item types. It is up to the system rendering a questionnaire as to what controls it will support and for which data types.

Data type

Extension(CodeableConcept)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemControl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemControl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemControl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item:group.extension:itemControl.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

User interface controls or widgets used for questionnaire items.

ONGroupItemControls (required)

Additional bindings
  • ONGroupItemControls (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

targetConstraintO C0..*Extension(Complex)Element id
Questionnaire.item:group.extension:targetConstraint
Short description

A constraint on the target resource

Alternate names

extensions, user content

Definition

Specifies a constraint that is enforced on instantiated (or target) resources. This extension can be applied to definitional resources (such as ActivityDefinition or Measure) and indicates that the constraint should be enforced on resources that are instantiated from the definition.

Comments

Can be used on any definitional artifact to define a constraint that is enforced in the context of an instantiated resource. The constraint expression will have access to %target and %definition variables, where target is the instantiated resource, and definition is the definition used to instantiate.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/targetConstraint

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: validator
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
keyO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:key
Short description

Unique identifier

Alternate names

extensions, user content

Definition

A unique identifier for the invariant (unique in the context of the resource).

Comments

Any error or outcome messages or warnings should include this id to allow the source of the message to be determined.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
key
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueIdid
There are no (further) constraints on this element
Data type

id

requirementsC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements
Short description

Why the constraint is defined

Alternate names

extensions, user content

Definition

A brief description of why the constraint is necessary or appropriate.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
requirements
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

severityO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:severity
Short description

error | warning

Alternate names

extensions, user content

Definition

Whether the constraint indicates an error condition or a warning.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:severity.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:severity.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:severity.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
severity
Mappings
  • rim: N/A
value[x]O1..1BindingPatternElement id
Questionnaire.item:group.extension:targetConstraint.extension:severity.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ConstraintSeverity (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
error
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

expressionO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:expression
Short description

The invariant expression

Alternate names

extensions, user content

Definition

An expression providing a formal representation of the invariant condition.

Comments

The expression will have access to %target (the resource that was instantiated) and %definition (the definition for the instantiated resource).

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @validIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

humanO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:human
Short description

Human-readable rule

Alternate names

extensions, user content

Definition

A free text expression of the rule to display to the user if the rule is violated.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @message
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
human
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

locationC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location
Short description

Relative path to elements

Alternate names

extensions, user content

Definition

Relative paths to the elements this rule is enforced against.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
location
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/targetConstraint
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractO C0..*Extension(Complex)Element id
Questionnaire.item:group.extension:definitionExtract
Short description

Details for a definition based resource extraction

Alternate names

extensions, user content

Definition

Specifies the resource type/profile for the definition based extraction of a resource and optionally the fullUrl and other Bundle.entry.request properties as needed.

Requirements

Enables definition-based extraction of captured data from the Questionnaire

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process (when extraction performed and required extraction metadata malformed)
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtract.extension:definition
Short description

Canonical URL of Resource type or profile to extract

Alternate names

extensions, user content

Definition

The resource type/profile canonical Url defining the resource type to be extracted.

Comments

The canonical URL for a base resource can be used if a specific profile is not required, e.g. http://hl7.org/fhir/StructureDefinition/Patient.

The value used here will be the prefix value (before the #) in any child items definition value.

Where a specific profile is used (not the base resource), then this canonical value will be set in the created resource's meta.profile collection.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.value[x]
Short description

Resource Profile canonical URL

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

fullUrlO C0..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl
Short description

A fhirpath expression to evaluate to populate the fullUrl property in the `Bundle.entry` (uri/string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the fullUrl property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fullUrl
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch
Short description

A fhirpath expression to evaluate to populate the ifNoneMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifModifiedSinceC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince
Short description

A fhirpath expression to evaluate to populate the ifModifiedSince property (instant result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifModifiedSince property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifModifiedSince
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch
Short description

A fhirpath expression to evaluate to populate the ifMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneExistC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist
Short description

A fhirpath expression to evaluate to populate the ifNoneExist property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneExist property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneExist
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractValueO C0..*Extension(Complex)Element id
Questionnaire.item:group.extension:definitionExtractValue
Short description

Fixed or calculated value to extract

Alternate names

extensions, user content

Definition

Provide either a fixed value, or an expression to evaluate, to be used as the value for the extracted resource's property based on the definition value.

Requirements

Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • dev-1: Either `expression` or a `fixed-value` must be provided.
    extension('expression').value.exists() xor extension('fixed-value').value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition
Short description

ElementDefintion to extract value into

Alternate names

extensions, user content

Definition

This is the profile canonical Url, followed by # and the element id, that the value should be extracted into.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.value[x]
Short description

Profile canonical URL and element id

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueUriuri
There are no (further) constraints on this element
Data type

uri

expressionO C0..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression
Short description

An expression to evaluate

Alternate names

extensions, user content

Definition

An expression to evaluate to extract the value into the specified element definition. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

fixed-valueO C0..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value
Short description

A fixed value to extract

Alternate names

extensions, user content

Definition

A fixed value to extract into the specified element definition.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fixed-value
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.value[x]
Short description

Fixed value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
extractAllocateIdO C0..*Extension(string)Element id
Questionnaire.item:group.extension:extractAllocateId
Short description

Variable name for the new uuid.

Alternate names

extensions, user content

Definition

Allocate a new uuid in a named variable for use in extraction. This is usually used to set the fullUrl for a resource in the output extraction bundle, and then referenced in other resources in that bundle (via fhirpath expressions). The format of the uuid will be urn:uuid:(uuid). e.g. urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031

Requirements

Generates a random UUID that can be used for cross-linking extracted resources

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:extractAllocateId.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:extractAllocateId.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:extractAllocateId.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:extractAllocateId.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

itemPopulationContextO C0..1Extension(Expression)Element id
Questionnaire.item:group.extension:itemPopulationContext
Short description

Establishes mapping context for a Questionnaire item

Alternate names

extensions, user content

Definition

Specifies a query or other expression that identifies the resource (or set of resources for a repeating item) that should be used to support the population of this Questionnaire or Questionnaire.item on initial population. When populating the questionnaire, it will set the specified variable name to that resource repetition for use in processing items within the group.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemPopulationContext.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemPopulationContext.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemPopulationContext.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:group.extension:itemPopulationContext.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:group.extension:noteInfo
Short description

Group Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes generated for this group element from this QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item:group.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item:group.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item:group.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item:group.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
typeO1..1codeBindingPatternElement id
Questionnaire.item:group.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

QuestionnaireItemType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
group
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item:group.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item:group.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item:group.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item:group.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

answerReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredO C0..1booleanElement id
Questionnaire.item:group.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: validator/@allowEmpty=false, or validator/@type='MANDATORY'
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
repeatsO C0..1booleanElement id
Questionnaire.item:group.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
readOnlyC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:group.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
maxLengthC0..1integer
There are no (further) constraints on this element
Element id
Questionnaire.item:group.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
answerValueSetC0..1canonical(ValueSet)
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
answerOptionC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueUriuri
There are no (further) constraints on this element
Data type

uri

itemO C0..*see (item)Element id
Questionnaire.item:group.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target
  • ontario-fhir-legacy: items/*
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
displayO C0..*BackboneElementElement id
Questionnaire.item:display
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:display.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:display.extension:noteInfo
Short description

Question Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes produced from this display item in the QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item:display.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item:display.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item:display.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item:display.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:display.text.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
expressionO C0..1Extension(Expression)Element id
Questionnaire.item:display.text.extension:expression
Short description

An dynamic expression

Alternate names

extensions, user content

Definition

An expression that, when evaluated, provides the value for the element on which it appears.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Expression)

Extension URL

http://hl7.org/fhir/StructureDefinition/cqf-expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/cqf-expression
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.item:display.text.extension:expression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.item:display.text.extension:expression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.item:display.text.extension:expression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • ontario-fhir-legacy: hints
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

typeO1..1codeBindingPatternElement id
Questionnaire.item:display.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

QuestionnaireItemType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
display
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item:display.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item:display.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item:display.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item:display.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

answerReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
repeatsC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
readOnlyC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
maxLengthC0..1integer
There are no (further) constraints on this element
Element id
Questionnaire.item:display.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
answerValueSetC0..1canonical(ValueSet)
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
answerOptionC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueUriuri
There are no (further) constraints on this element
Data type

uri

itemC0..*see (item)
There are no (further) constraints on this element
Element id
Questionnaire.item:display.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target
questionO C0..*BackboneElementElement id
Questionnaire.item:question
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
  • onq-1: minLength and maxLength are only allowed when type is string or text
    extension('http://hl7.org/fhir/StructureDefinition/minLength').exists() or maxLength.exists() implies type='string' or type='text'
  • onq-2: maxSize and mimeType are only permitted when type is 'attachment'
    extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() or extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() implies type='attachment'
  • onq-3: maxSize and mimeType SHOULD both be declared when type is 'attachment'
    type='attachment' implies extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() and extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists()
  • onq-4: minValue and maxValue are only permitted when type is date, dateTime, decimal, integer, or time
    extension('http://hl7.org/fhir/StructureDefinition/minValue').exists() or extension('http://hl7.org/fhir/StructureDefinition/maxValue').exists() implies type='date' or type='dateTime' or type='decimal' or type='integer' or type='time'
  • onq-5: minValue and maxValue SHOULD be specified when type is date, dateTime, decimal, or integer
    type='date' or type='dateTime' or type='decimal' or type='integer' or type='time' implies extension('http://hl7.org/fhir/StructureDefinition/minValue').exists() and extension('http://hl7.org/fhir/StructureDefinition/maxValue').exists()
  • onq-6: choice orientation and item control are only permitted when there are options or a value set
    (extension('http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation').exists() or extension('http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl').exists()) implies (answerOption.exists() or answerValueSet.exists())
  • onq-7: minOccurs and maxOccurs are only permitted when repeats=true
    (extension('http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs').exists() or extension('http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs').exists()) implies repeats
  • onq-8: negativeStyle and negativeText question note extensions are only permitted for boolean questions
    type!='boolean' implies extension('http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info').exists(extension('negativeStyle') or extension('negativeText')).not()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:question.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
answerOptionsToggleO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:answerOptionsToggle
Short description

Expression constraining allowed answers

Alternate names

extensions, user content

Definition

A complex expression that provides a list of the allowed options that should be enabled or disabled based on the evaluation of a provided expression. It allows toggling of allowed answers based on context, including the answers provided to other expressions.

Comments

For example, this allows a list of conditions to be modified based on the gender of the patient

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC2..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
optionO C1..*ExtensionElement id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option
Short description

Option(s) to toggle

Alternate names

extensions, user content

Definition

Each repetition is an option to toggle based on the expression

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
option
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.value[x]
Short description

The option value to control

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

expressionO C1..1ExtensionElement id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression
Short description

The expression to toggle on

Alternate names

extensions, user content

Definition

If this expression evaluate's to 'true', then the specified options should be enabled, otherwise they should be disabled.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
preferredTerminologyServerO C0..*Extension(url)Element id
Questionnaire.item:question.extension:preferredTerminologyServer
Short description

Preferred terminology server

Alternate names

extensions, user content

Definition

Indicates the terminology server(s) that are known to be capable of returning and potentially expanding the value set(s) associated with the resource or a particular portion of the resource (depending on where the extension appears). If a full URL is not provided AND the requested query is a terminology operation (e.g. $lookup or $expand) the client SHOULD execute the operation against (one of) the preferredTerminologyServer(s) rather than the local repository. Systems SHOULD evaluate value sets using terminology servers as follows: First, try any terminology servers declared on the element in question. If there are more then one, try them in the order they appear. Then try any servers that appear on ancestor elements in order of closest ancestor up to any on the resource root If there are no declared servers or none of the ones listed provide a useful response, the form filler may then try any of the typical servers it would normally use. A 'useful response' means a response that provides a valid (though potentially empty) expansion. Clients MAY wish to log/report errors returned by terminology servers.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(url)

Extension URL

http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:preferredTerminologyServer.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:preferredTerminologyServer.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:preferredTerminologyServer.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:question.extension:preferredTerminologyServer.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueUrlurl
There are no (further) constraints on this element
Data type

url

minLengthO C0..1Extension(integer)Element id
Questionnaire.item:question.extension:minLength
Short description

At least this many characters

Alternate names

extensions, user content

Definition

The minimum number of characters that must be present in the simple data type to be considered a "valid" instance.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data.

Data type

Extension(integer)

Extension URL

http://hl7.org/fhir/StructureDefinition/minLength

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
maxSizeO C0..1Extension(decimal)Element id
Questionnaire.item:question.extension:maxSize
Short description

Max size in MB

Alternate names

extensions, user content

Definition

For attachment answers, indicates the maximum size an attachment can be.

Comments

This extension only has meaning if the element has a type of Attachment.

Data type

Extension(decimal)

Extension URL

http://hl7.org/fhir/StructureDefinition/maxSize

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-2, onq-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
mimeTypeO C0..*Extension(code)Element id
Questionnaire.item:question.extension:mimeType
Short description

Type of attachment

Alternate names

extensions, user content

Definition

Identifies the kind(s) of attachment allowed to be sent for an element.

Comments

This extension only has meaning if the element has a type of Attachment.

Data type

Extension(code)

Extension URL

http://hl7.org/fhir/StructureDefinition/mimeType

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-2, onq-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:mimeType.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:mimeType.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:mimeType.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/mimeType
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item:question.extension:mimeType.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

The mime type of an attachment. Any valid mime type is allowed.

ONQuestionnaireMimeTypes (required)

Additional bindings
  • ONQuestionnaireMimeTypes (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

minValueO C0..1Extension(datedateTimedecimalintegertime)Element id
Questionnaire.item:question.extension:minValue
Short description

Must be >= this value

Alternate names

extensions, user content

Definition

The inclusive lower bound on the range of allowed values for the data element.

Comments

Data type specified must be the same as the data type for the data element.

Data type

Extension(datedateTimedecimalintegertime)

Extension URL

http://hl7.org/fhir/StructureDefinition/minValue

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-4, onq-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
maxValueO C0..1Extension(datedateTimedecimalinstantintegertime)Element id
Questionnaire.item:question.extension:maxValue
Short description

Must be <= this value

Alternate names

extensions, user content

Definition

The inclusive upper bound on the range of allowed values for the data element.

Comments

Data type specified must be the same as the data type for the data element.

Data type

Extension(datedateTimedecimalinstantintegertime)

Extension URL

http://hl7.org/fhir/StructureDefinition/maxValue

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-4, onq-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/maxValue
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:maxValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueDatedateData type

date

valueDateTimedateTimeData type

dateTime

valueDecimaldecimalData type

decimal

valueIntegerintegerData type

integer

valueTimetimeData type

time

choiceOrientationO C0..1Extension(code)Element id
Questionnaire.item:question.extension:choiceOrientation
Short description

horizontal | vertical

Alternate names

extensions, user content

Definition

Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).

Comments

Systems may choose to wrap answers rather than attempting to display them all in one row or column. Language conventions may determine the order in which the choices are listed (left-to-right or right-to-left, etc.).

Data type

Extension(code)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceOrientation.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceOrientation.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceOrientation.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
Mappings
  • rim: N/A
value[x]O C1..1BindingElement id
Questionnaire.item:question.extension:choiceOrientation.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Direction in which lists of possible answers should be displayed.

ChoiceListOrientation (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hints/hint[.='VERTICAL_STACKING']
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

itemControlO C0..1Extension(CodeableConcept)Element id
Questionnaire.item:question.extension:itemControl
Short description

E.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.

Alternate names

extensions, user content

Definition

The type of data entry control or structure that should be used to render the item.

Comments

Different controls may be appropriate for different item types. It is up to the system rendering a questionnaire as to what controls it will support and for which data types.

Data type

Extension(CodeableConcept)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemControl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemControl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemControl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Mappings
  • rim: N/A
value[x]O C1..1BindingElement id
Questionnaire.item:question.extension:itemControl.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

User interface controls or widgets used for questionnaire items.

ONQuestionItemControls (required)

Additional bindings
  • ONQuestionItemControls (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hints/hint[.='USE_BUTTONS_FOR_MENU']
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

choiceDiagramO C0..1Extension(url)Element id
Questionnaire.item:question.extension:choiceDiagram
Short description

Image for Choice Diagram?

Alternate names

extensions, user content

Definition

A link to the SVG diagram that is used to render the choice options.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(url)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceDiagram.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceDiagram.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceDiagram.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:question.extension:choiceDiagram.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
valueUrlurl
There are no (further) constraints on this element
Data type

url

minOccursO C0..1Extension(integer)Element id
Questionnaire.item:question.extension:minOccurs
Short description

Minimum repetitions

Alternate names

extensions, user content

Definition

The minimum number of times the group must appear, or the minimum number of answers for a question - when greater than 1.

Comments

Default assumption for "required" elements is minOccurs=1.

Data type

Extension(integer)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:minOccurs.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:minOccurs.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:minOccurs.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:minOccurs.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

maxOccursO C0..1Extension(integer)Element id
Questionnaire.item:question.extension:maxOccurs
Short description

Maximum repetitions

Alternate names

extensions, user content

Definition

The maximum number of times the group must appear, or the maximum number of answers for a question - when greater than 1 and not unlimited.

Comments

Only relevant if the element has repeats=true and there's a need to constrain the number of allowed repetitions.

Data type

Extension(integer)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxOccurs.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxOccurs.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxOccurs.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:maxOccurs.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

targetConstraintO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:targetConstraint
Short description

A constraint on the target resource

Alternate names

extensions, user content

Definition

Specifies a constraint that is enforced on instantiated (or target) resources. This extension can be applied to definitional resources (such as ActivityDefinition or Measure) and indicates that the constraint should be enforced on resources that are instantiated from the definition.

Comments

Can be used on any definitional artifact to define a constraint that is enforced in the context of an instantiated resource. The constraint expression will have access to %target and %definition variables, where target is the instantiated resource, and definition is the definition used to instantiate.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/targetConstraint

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: validator
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
keyO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:key
Short description

Unique identifier

Alternate names

extensions, user content

Definition

A unique identifier for the invariant (unique in the context of the resource).

Comments

Any error or outcome messages or warnings should include this id to allow the source of the message to be determined.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
key
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueIdid
There are no (further) constraints on this element
Data type

id

requirementsC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements
Short description

Why the constraint is defined

Alternate names

extensions, user content

Definition

A brief description of why the constraint is necessary or appropriate.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
requirements
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

severityO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:severity
Short description

error | warning

Alternate names

extensions, user content

Definition

Whether the constraint indicates an error condition or a warning.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:severity.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:severity.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:severity.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
severity
Mappings
  • rim: N/A
value[x]O1..1BindingPatternElement id
Questionnaire.item:question.extension:targetConstraint.extension:severity.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ConstraintSeverity (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
error
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

expressionO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:expression
Short description

The invariant expression

Alternate names

extensions, user content

Definition

An expression providing a formal representation of the invariant condition.

Comments

The expression will have access to %target (the resource that was instantiated) and %definition (the definition for the instantiated resource).

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @validIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

humanO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:human
Short description

Human-readable rule

Alternate names

extensions, user content

Definition

A free text expression of the rule to display to the user if the rule is violated.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @message
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
human
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

locationC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location
Short description

Relative path to elements

Alternate names

extensions, user content

Definition

Relative paths to the elements this rule is enforced against.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
location
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/targetConstraint
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
calculatedExpressionO C0..1Extension(Expression)Element id
Questionnaire.item:question.extension:calculatedExpression
Short description

Expression-determined initial value

Alternate names

extensions, user content

Definition

Calculated value for a question answer as determined by an evaluated expression.

Comments

Calculated value is updated as other answers in the QuestionnaireResponse are filled in.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.item:question.extension:calculatedExpression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.item:question.extension:calculatedExpression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.item:question.extension:calculatedExpression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • ontario-fhir-legacy: @formula
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
initialExpressionO C0..1Extension(Expression)Element id
Questionnaire.item:question.extension:initialExpression
Short description

Expression-determined initial value

Alternate names

extensions, user content

Definition

Initial value for a question answer as determined by an evaluated expression.

Comments

Initial value is only calculated at the time the QuestionnaireResponse is first generated. If the expression returns coded data, it *SHALL return the information as either code or Coding, not CodeableConcept. If the expression returns elements of type 'code', when the user selects one or more candidates, the code will be matched against the allowed Codings (from answerValueSet, answerOptions, or answerExpression). In this case, it is an error if there is more than one Coding with the same code.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
Mappings
  • rim: N/A
value[x]O0..1ExpressionElement id
Questionnaire.item:question.extension:initialExpression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.item:question.extension:initialExpression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.item:question.extension:initialExpression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • ontario-fhir-legacy: text
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
definitionExtractO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:definitionExtract
Short description

Details for a definition based resource extraction

Alternate names

extensions, user content

Definition

Specifies the resource type/profile for the definition based extraction of a resource and optionally the fullUrl and other Bundle.entry.request properties as needed.

Requirements

Enables definition-based extraction of captured data from the Questionnaire

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process (when extraction performed and required extraction metadata malformed)
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtract.extension:definition
Short description

Canonical URL of Resource type or profile to extract

Alternate names

extensions, user content

Definition

The resource type/profile canonical Url defining the resource type to be extracted.

Comments

The canonical URL for a base resource can be used if a specific profile is not required, e.g. http://hl7.org/fhir/StructureDefinition/Patient.

The value used here will be the prefix value (before the #) in any child items definition value.

Where a specific profile is used (not the base resource), then this canonical value will be set in the created resource's meta.profile collection.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.value[x]
Short description

Resource Profile canonical URL

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

fullUrlO C0..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl
Short description

A fhirpath expression to evaluate to populate the fullUrl property in the `Bundle.entry` (uri/string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the fullUrl property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fullUrl
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch
Short description

A fhirpath expression to evaluate to populate the ifNoneMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifModifiedSinceC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince
Short description

A fhirpath expression to evaluate to populate the ifModifiedSince property (instant result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifModifiedSince property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifModifiedSince
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch
Short description

A fhirpath expression to evaluate to populate the ifMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneExistC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist
Short description

A fhirpath expression to evaluate to populate the ifNoneExist property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneExist property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneExist
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractValueO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:definitionExtractValue
Short description

Fixed or calculated value to extract

Alternate names

extensions, user content

Definition

Provide either a fixed value, or an expression to evaluate, to be used as the value for the extracted resource's property based on the definition value.

Requirements

Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • dev-1: Either `expression` or a `fixed-value` must be provided.
    extension('expression').value.exists() xor extension('fixed-value').value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition
Short description

ElementDefintion to extract value into

Alternate names

extensions, user content

Definition

This is the profile canonical Url, followed by # and the element id, that the value should be extracted into.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.value[x]
Short description

Profile canonical URL and element id

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueUriuri
There are no (further) constraints on this element
Data type

uri

expressionO C0..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression
Short description

An expression to evaluate

Alternate names

extensions, user content

Definition

An expression to evaluate to extract the value into the specified element definition. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

fixed-valueO C0..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value
Short description

A fixed value to extract

Alternate names

extensions, user content

Definition

A fixed value to extract into the specified element definition.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fixed-value
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.value[x]
Short description

Fixed value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
extractAllocateIdO C0..*Extension(string)Element id
Questionnaire.item:question.extension:extractAllocateId
Short description

Variable name for the new uuid.

Alternate names

extensions, user content

Definition

Allocate a new uuid in a named variable for use in extraction. This is usually used to set the fullUrl for a resource in the output extraction bundle, and then referenced in other resources in that bundle (via fhirpath expressions). The format of the uuid will be urn:uuid:(uuid). e.g. urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031

Requirements

Generates a random UUID that can be used for cross-linking extracted resources

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:extractAllocateId.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:extractAllocateId.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:extractAllocateId.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:extractAllocateId.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

itemPopulationContextO C0..1Extension(Expression)Element id
Questionnaire.item:question.extension:itemPopulationContext
Short description

Establishes mapping context for a Questionnaire item

Alternate names

extensions, user content

Definition

Specifies a query or other expression that identifies the resource (or set of resources for a repeating item) that should be used to support the population of this Questionnaire or Questionnaire.item on initial population. When populating the questionnaire, it will set the specified variable name to that resource repetition for use in processing items within the group.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemPopulationContext.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemPopulationContext.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemPopulationContext.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:question.extension:itemPopulationContext.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:question.extension:noteInfo
Short description

Question Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes produced from this question in the QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item:question.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item:question.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
  • ontario-fhir-legacy: @emrField
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item:question.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item:question.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
typeO1..1codeBindingElement id
Questionnaire.item:question.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

ONGroupQuestionType (required)

Additional bindings
  • ONGroupQuestionType (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @type
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item:question.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item:question.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item:question.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item:question.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

answerReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredO C0..1booleanElement id
Questionnaire.item:question.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: validator/@allowEmpty=false, or validator/@type='MANDATORY'
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
repeatsO C0..1booleanElement id
Questionnaire.item:question.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @type
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
readOnlyO C0..1booleanElement id
Questionnaire.item:question.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @type
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
maxLengthO C0..1integerElement id
Questionnaire.item:question.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: validatior/@validIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerValueSetO C0..1canonical(ValueSet)Element id
Questionnaire.item:question.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerOptionO C0..*BackboneElementElement id
Questionnaire.item:question.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: choices/choice
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionO C0..*ExtensionElement id
Questionnaire.item:question.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:question.answerOption.extension:noteInfo
Short description

Option Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes generated from this QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
textS C0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text
Short description

Note option text

Alternate names

extensions, user content

Definition

The text to display as the label for the option (if it's selected as an answer) in the 'note' produced from the completed QuestionnaireResponse

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
text
Mappings
  • rim: N/A
value[x]1..1stringElement id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: note
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
xhtmlC0..1Extension(string)
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].extension:xhtml
Short description

String equivalent with html markup

Alternate names

extensions, user content

Definition

This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing restrictions on XHTML content apply. Note that using markdown allows for greater flexibility of display.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-xhtml

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ED can be XHTML content
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

styleS C0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style
Short description

Note option style/color

Alternate names

extensions, user content

Definition

Style (color) for this answer option when rendered in the 'note' produced from the completed QuestionnaireResponse

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
style
Mappings
  • rim: N/A
value[x]1..1Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @flag
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Slicing

Unordered, Open, by $this(Type)

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueDatedateData type

date

valueIntegerintegerData type

integer

valueStringstringData type

string

valueTimetimeData type

time

valueCodingO0..1CodingElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Data type

Coding

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
weightO C0..1Extension(decimal)Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight
Short description

Assigned Ordinal Value

Alternate names

extensions, user content

Definition

A numeric value that allows the comparison (less than, greater than) or other numerical manipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores. In the CodeSystem and ValueSet resources, the item weight is represented using the itemWeight property. In questionnaires, this extension goes on answerOption where possible.

Comments

Scores are commonly encountered in various clinical assessment scales. Assigning a value to a concept should generally be done in a formal code system that defines the value, or in an applicable value set for the concept, but some concepts do not have a formal definition (or are not even represented as a concept formally, especially in Questionnaires, so this extension is allowed to appear ouside those preferred contexts. Scores may even be assigned arbitrarily during use (hence, on Coding). The value may be constrained to an integer in some contexts of use. Todo: Scoring algorithms may also be defined directly, but how this is done is not yet defined

For questionnaires, see additional guidance and examples in the SDC implementation guide.

Data type

Extension(decimal)

Extension URL

http://hl7.org/fhir/StructureDefinition/itemWeight

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/itemWeight
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @points
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

systemO Σ1..1uriElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding.system
Short description

Identity of the terminology system

Definition

The identification of the code system that defines the meaning of the symbol in the code.

Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
versionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.version
Short description

Version of the system - if relevant

Definition

The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.

Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
codeO Σ1..1codeElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding.code
Short description

Symbol in syntax defined by the system

Definition

A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

Requirements

Need to refer to a particular code in the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • ontario-fhir-legacy: @val
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
displayO Σ1..1stringElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding.display
Short description

Representation defined by the system

Definition

A representation of the meaning of the code in the system, following the rules of the system.

Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
  • ontario-fhir-legacy: display
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
userSelectedΣ0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.userSelected
Short description

If this coding was chosen directly by the user

Definition

Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).

Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialO C0..*BackboneElementElement id
Questionnaire.item:question.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13, onq-1, onq-2, onq-3, onq-4, onq-5, onq-6, onq-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: text
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueBooleanbooleanData type

boolean

valueCodingCodingData type

Coding

valueDatedateData type

date

valueDateTimedateTimeData type

dateTime

valueDecimaldecimalData type

decimal

valueIntegerintegerData type

integer

valueStringstringData type

string

valueTimetimeData type

time

valueUriuriData type

uri

itemC0..*see (item)
There are no (further) constraints on this element
Element id
Questionnaire.item:question.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target

Snapshot View

OntarioSDCQuestionnaire (Questionnaire)CQuestionnaireElement id
Questionnaire
Short description

Ontario SDC Questionnaire profile

Alternate names

Form, CRF, Survey

Definition

Defines additional the Questionnaire requirements to align with used capabilities of the legacy Ontario form tool.

Data type

Questionnaire

Constraints
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • dom-4: If 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-3: If 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-6: A resource should have narrative for robust management
    text.`div`.exists()
  • dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
  • que-2: The link ids for groups and questions must be unique within the questionnaire
    descendants().linkId.isDistinct()
  • que-0: Name 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}')
Mappings
  • rim: Entity. Role, or Act
  • workflow: Definition
  • rim: Observation[moodCode=DEF]
  • ontario-fhir-legacy: eform
idΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.id
Short description

Logical id of this artifact

Definition

The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

Data type

string

metaΣ0..1Meta
There are no (further) constraints on this element
Element id
Questionnaire.meta
Short description

Metadata about the resource

Definition

The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

Data type

Meta

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
implicitRulesΣ ?!0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.implicitRules
Short description

A set of rules under which this content was created

Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
language0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.language
Short description

Language of the resource content

Definition

The base language in which the resource is written.

Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Data type

code

Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
text0..1Narrative
There are no (further) constraints on this element
Element id
Questionnaire.text
Short description

Text summary of the resource, for human interpretation

Alternate names

narrative, html, xhtml, display

Definition

A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

Comments

Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

Data type

Narrative

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • rim: Act.text?
containedO0..*ResourceElement id
Questionnaire.contained
Short description

Contained, inline Resources

Alternate names

inline resources, anonymous resources, contained resources

Definition

These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

Requirements

Used for contained Binary instances for images and Library instances for Liquid rendering templates

Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.

Data type

Resource

Mappings
  • rim: Entity. Role, or Act
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
extensionC2..*ExtensionElement id
Questionnaire.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
versionAlgorithmC1..1Extension(Codingstring)Element id
Questionnaire.extension:versionAlgorithm
Short description

How to compare versions

Alternate names

extensions, user content

Definition

Indicates the mechanism used to compare versions to determine which is more current.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Codingstring)

Extension URL

http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:versionAlgorithm.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:versionAlgorithm.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:versionAlgorithm.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm
Mappings
  • rim: N/A
value[x]0..1BindingElement id
Questionnaire.extension:versionAlgorithm.value[x]
Short description

How to compare versions

Definition

Indicates the mechanism used to compare versions to determine which is more current.

Slicing

Unordered, Open, by $this(Type)

Binding

R5_version_algorithm_for_R4 (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

valueCoding0..1CodingBindingPatternElement id
Questionnaire.extension:versionAlgorithm.value[x]:valueCoding
Short description

How to compare versions

Definition

Indicates the mechanism used to compare versions to determine which is more current.

Data type

Coding

Binding

R5_version_algorithm_for_R4 (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
{
  "system": "http://hl7.org/fhir/version-algorithm",
  "code": "semver"
}
Mappings
  • rim: n/a
  • rim: N/A
entryModeC1..1Extension(code)Element id
Questionnaire.extension:entryMode
Short description

sequential | prior-edit | random

Alternate names

extensions, user content

Definition

Indicates how questions within the questionnaire should be presented to the end-user. Specifically, differentiates whether the questions should be displayed one-at-a-time with no ability to adjust prior entries; one-at-a-time or continuously expanding where all questions up to the current question can be looked at and edited, or random, where all questions can be seen and the questions can be filled out in any order desired.

Comments

The prior-edit functionality can be accomplished by adding questions to the screen as each subsequent question is answered (resulting in all questions being displayed in a single screen) or with a view that shows only one question at a time but allows backward navigation to view and/or edit prior answers.

Data type

Extension(code)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:entryMode.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:entryMode.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:entryMode.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
Mappings
  • rim: N/A
value[x]0..1BindingPatternElement id
Questionnaire.extension:entryMode.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Entry modes when completing a questionnaire

QuestionnaireEntryMode (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
random
Mappings
  • rim: n/a
  • rim: N/A
valueCodecode
There are no (further) constraints on this element
Data type

code

assembledFromC0..1Extension(canonical)Element id
Questionnaire.extension:assembledFrom
Short description

Identifies subQuestionnaires used in the assembly process

Alternate names

extensions, user content

Definition

This extension will appear on the root of an assembled Questionnaire and identifies the subQuestionnaires (including version) that were used as part of the assembly process.

Requirements

Indicates what common sources the items in this were drawn from. Used for maintenance purposes, but not relevant in the rendering of the Questionnaire. NOTE: the max cardinality should be *. Will change once we can depend on the official SDC release rather than the ballot release.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(canonical)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
launchContextO C0..1Extension(Complex)Element id
Questionnaire.extension:launchContext
Short description

Context resources needed for Questionnaire

Alternate names

extensions, user content

Definition

Resources that provide context for form processing logic (pre-population, flow-control, drop-down selection, etc.) when creating/displaying/editing a QuestionnaireResponse.

Requirements

Needed to support population and logic based on patient age, gender, etc.

Comments

3 of these launch contexts are aligned with the existing SMART on FHIR "launch" contexts.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • sdc-lcext-1: Types must be from the specified value set of resource types based on name: patient: Patient; user: Patient, Practitioner, PractitionerRole, Organization, RelatedPerson, Device; encounter: Encounter; location: Location; study: ResearchStudy; clinical: Any allowed clinical resource
    (extension('name').value.where(code='patient' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'Patient')) and (extension('name').value.where(code='user' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value='Patient' or value='Practitioner' or value='PractitionerRole' or value='RelatedPerson' or value='Organization' or value='Device')) and (extension('name').value.where(code='encounter' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'Encounter')) and (extension('name').value.where(code='location' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'Location')) and (extension('name').value.where(code='study' and system='http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext').exists() implies extension('type').all(value = 'ResearchStudy'))
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC2..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
nameO C1..1ExtensionElement id
Questionnaire.extension:launchContext.extension:name
Short description

Variable name

Alternate names

extensions, user content

Definition

The variable name the passed resource will be referenced by within the Questionnaire logic.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:name.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:name.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:name.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
name
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.extension:launchContext.extension:name.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Launch context codes for use in defining questionnaires context at launch time (NOTE: the Coding.code will be used for the variable name and that (at present) there is no support for Questionnaires that use multiple launch contexts which share a common code but different code systems. Also, all launch context codes must meet the requirements to be a valid FHIRPath name.).

ONLaunchContexts (required)

Additional bindings
  • ONLaunchContexts (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

typeO C1..*ExtensionElement id
Questionnaire.extension:launchContext.extension:type
Short description

Resource type

Alternate names

extensions, user content

Definition

The kind of resource to be provided.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:type.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:type.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:type.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
type
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.extension:launchContext.extension:type.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ONLaunchContextResources (required)

Additional bindings
  • ONLaunchContextResources (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

descriptionC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description
Short description

Explanation of context element

Alternate names

extensions, user content

Definition

Guidance on the resource to be provided and what impact providing it will have on questionnaire behavior.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
description
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:description.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

multiplesAllowedC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed
Short description

Allow multiple resources

Alternate names

extensions, user content

Definition

Indicates whether multiple resources are permitted for this context element.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
multiplesAllowed
Mappings
  • rim: N/A
value[x]0..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.extension:multiplesAllowed.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.extension:launchContext.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
variableO C0..*Extension(Expression)Element id
Questionnaire.extension:variable
Short description

Variable for processing

Alternate names

extensions, user content

Definition

Variable specifying a logic to generate a variable for use in subsequent logic. The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.

Requirements

Allows capturing answers or totals for use in other logic

Comments

Ordering of variable extension declarations is significant as variables declared in one repetition of this extension might be used in subsequent extension repetitions.

Data type

Extension(Expression)

Extension URL

http://hl7.org/fhir/StructureDefinition/variable

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/variable
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.extension:variable.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingElement id
Questionnaire.extension:variable.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.extension:variable.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.extension:variable.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
definitionExtractO C0..*Extension(Complex)Element id
Questionnaire.extension:definitionExtract
Short description

Details for a definition based resource extraction

Alternate names

extensions, user content

Definition

Specifies the resource type/profile for the definition based extraction of a resource and optionally the fullUrl and other Bundle.entry.request properties as needed.

Requirements

Enables definition-based extraction of captured data from the Questionnaire

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.extension:definitionExtract.extension:definition
Short description

Canonical URL of Resource type or profile to extract

Alternate names

extensions, user content

Definition

The resource type/profile canonical Url defining the resource type to be extracted.

Comments

The canonical URL for a base resource can be used if a specific profile is not required, e.g. http://hl7.org/fhir/StructureDefinition/Patient.

The value used here will be the prefix value (before the #) in any child items definition value.

Where a specific profile is used (not the base resource), then this canonical value will be set in the created resource's meta.profile collection.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:definitionExtract.extension:definition.value[x]
Short description

Resource Profile canonical URL

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

fullUrlO C0..1ExtensionElement id
Questionnaire.extension:definitionExtract.extension:fullUrl
Short description

A fhirpath expression to evaluate to populate the fullUrl property in the `Bundle.entry` (uri/string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the fullUrl property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fullUrl
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:definitionExtract.extension:fullUrl.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch
Short description

A fhirpath expression to evaluate to populate the ifNoneMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifModifiedSinceC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince
Short description

A fhirpath expression to evaluate to populate the ifModifiedSince property (instant result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifModifiedSince property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifModifiedSince
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifModifiedSince.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch
Short description

A fhirpath expression to evaluate to populate the ifMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneExistC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist
Short description

A fhirpath expression to evaluate to populate the ifNoneExist property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneExist property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneExist
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.extension:ifNoneExist.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtract.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractValueO C0..*Extension(Complex)Element id
Questionnaire.extension:definitionExtractValue
Short description

Fixed or calculated value to extract

Alternate names

extensions, user content

Definition

Provide either a fixed value, or an expression to evaluate, to be used as the value for the extracted resource's property based on the definition value.

Requirements

Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • dev-1: Either `expression` or a `fixed-value` must be provided.
    extension('expression').value.exists() xor extension('fixed-value').value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.extension:definitionExtractValue.extension:definition
Short description

ElementDefintion to extract value into

Alternate names

extensions, user content

Definition

This is the profile canonical Url, followed by # and the element id, that the value should be extracted into.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:definitionExtractValue.extension:definition.value[x]
Short description

Profile canonical URL and element id

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueUriuri
There are no (further) constraints on this element
Data type

uri

expressionO C0..1ExtensionElement id
Questionnaire.extension:definitionExtractValue.extension:expression
Short description

An expression to evaluate

Alternate names

extensions, user content

Definition

An expression to evaluate to extract the value into the specified element definition. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
fixed-valueO C0..1ExtensionElement id
Questionnaire.extension:definitionExtractValue.extension:fixed-value
Short description

A fixed value to extract

Alternate names

extensions, user content

Definition

A fixed value to extract into the specified element definition.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fixed-value
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.extension:fixed-value.value[x]
Short description

Fixed value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.extension:definitionExtractValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
extractAllocateIdO C0..*Extension(string)Element id
Questionnaire.extension:extractAllocateId
Short description

Variable name for the new uuid.

Alternate names

extensions, user content

Definition

Allocate a new uuid in a named variable for use in extraction. This is usually used to set the fullUrl for a resource in the output extraction bundle, and then referenced in other resources in that bundle (via fhirpath expressions). The format of the uuid will be urn:uuid:(uuid). e.g. urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031

Requirements

Generates a random UUID that can be used for cross-linking extracted resources

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:extractAllocateId.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:extractAllocateId.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:extractAllocateId.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.extension:extractAllocateId.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

responseRenderingLiquidO C0..1Extension(Reference(OntarioEFormsLiquidLibrary))Element id
Questionnaire.extension:responseRenderingLiquid
Short description

Rendering library for responses

Alternate names

extensions, user content

Definition

Points to a Library containing FHIR Liquid template that defines how the narrative for QuestionnaireResponses created for this Questionnaire should be generated.

Comments

This may refer to a contained Library or a Library available from a FHIR server

Data type

Extension(Reference(OntarioEFormsLiquidLibrary))

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid
Mappings
  • rim: N/A
value[x]O1..1Reference(OntarioEFormsLiquidLibrary)Element id
Questionnaire.extension:responseRenderingLiquid.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Reference(OntarioEFormsLiquidLibrary)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
referenceO Σ C1..1stringElement id
Questionnaire.extension:responseRenderingLiquid.value[x].reference
Short description

Literal reference, Relative, internal or absolute URL

Definition

A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.

Comments

Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, ref-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generatorSHALL:process
typeΣ0..1uriBinding
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].type
Short description

Type the reference refers to (e.g. "Patient")

Definition

The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.

The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).

Comments

This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.

Data type

uri

Binding

Aa resource (or, for logical models, the URI of the logical model).

ResourceType (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
identifierΣ0..1Identifier
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].identifier
Short description

Logical reference, when literal reference is not known

Definition

An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.

Comments

When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

Data type

Identifier

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • rim: .identifier
displayΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.extension:responseRenderingLiquid.value[x].display
Short description

Text alternative for the resource

Definition

Plain text narrative that identifies the resource in addition to the resource reference.

Comments

This is generally not the same as the Resource.text of the referenced resource. The purpose is to identify what's being referenced, not to fully describe it.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
modifierExtension?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.modifierExtension
Short description

Extensions that cannot be ignored

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
urlO Σ1..1uriElement id
Questionnaire.url
Short description

Canonical identifier for this questionnaire, represented as a URI (globally unique)

Definition

An absolute URI that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this questionnaire is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the questionnaire is stored on different servers.

Requirements

… This is the id that will be used to link a QuestionnaireResponse to the Questionnaire the response is for.

Comments

The name of the referenced questionnaire can be conveyed using the http://hl7.org/fhir/StructureDefinition/display extension.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.url
  • w5: FiveWs.identifier
  • rim: .identifier[scope=BUSN;reliability=ISS]
  • ontario-fhir-legacy: eform/@ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
identifierΣ0..*Identifier
There are no (further) constraints on this element
Element id
Questionnaire.identifier
Short description

Additional identifier for the questionnaire

Definition

A formal identifier that is used to identify this questionnaire when it is represented in other formats, or referenced in a specification, model, design or an instance.

Requirements

Allows externally provided and/or usable business identifiers to be easily associated with the module.

Comments

Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this questionnaire outside of FHIR, where it is not possible to use the logical URI.

Data type

Identifier

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CX / EI (occasionally, more often EI maps to a resource id or a URL)
  • rim: II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]
  • servd: Identifier
  • workflow: Definition.identifier
  • w5: FiveWs.identifier
  • rim: .identifier
  • objimpl: no-gen-base
versionO Σ1..1stringElement id
Questionnaire.version
Short description

Business version of the questionnaire

Definition

The identifier that is used to identify this version of the questionnaire when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the questionnaire author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence.

Comments

There may be different questionnaire instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the questionnaire with the format [url]|[version].

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.version
  • w5: FiveWs.version
  • rim: N/A (to add?)
  • ontario-fhir-legacy: eform/@revision
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
nameΣ C0..1string
There are no (further) constraints on this element
Element id
Questionnaire.name
Short description

Name for this questionnaire (computer friendly)

Definition

A natural language name identifying the questionnaire. This name should be usable as an identifier for the module by machine processing applications such as code generation.

Requirements

Support human navigation and code generation.

Comments

The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, inv-0

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
titleO Σ0..1stringElement id
Questionnaire.title
Short description

Name for this questionnaire (human friendly)

Definition

A short, descriptive, user-friendly title for the questionnaire.

Comments

This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.title
  • rim: .title
  • ontario-fhir-legacy: eform/@title
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.title.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.title.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
short-stringO C0..1Extension(string)Element id
Questionnaire.title.extension:short-string
Short description

Short-form of string

Alternate names

extensions, user content

Definition

A shorter version of a string, typically intended for use on mobile displays.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: eform/@shortForm
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:display
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.title.value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

derivedFrom0..*canonical(Questionnaire)
There are no (further) constraints on this element
Element id
Questionnaire.derivedFrom
Short description

Instantiates protocol or definition

Definition

The URL of a Questionnaire that this Questionnaire is based on.

Requirements

Allows a Questionnaire to be created based on another Questionnaire.

Comments

see Canonical References

Data type

canonical(Questionnaire)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.derivedFrom
  • rim: .outboundRelationship[typeCode=DRIV].target[classCode=OBS, moodCode=DEFN]
statusΣ ?!1..1codeBindingPatternElement id
Questionnaire.status
Short description

draft | active | retired | unknown

Definition

The status of this questionnaire. Enables tracking the life-cycle of the content.

Comments

Allows filtering of questionnaires that are appropriate for use versus not.

Data type

code

Binding

The lifecycle status of an artifact.

PublicationStatus (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
active
Mappings
  • rim: n/a
  • workflow: Definition.status
  • w5: FiveWs.status
  • rim: .status
experimentalO Σ1..1booleanElement id
Questionnaire.experimental
Short description

For testing purposes, not real usage

Definition

A Boolean value to indicate that this questionnaire is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage.

Requirements

Used to differentiate Questionnaires defined for 'testing' purposes from those that are intended for actual use with patients

Comments

Allows filtering of questionnaires that are appropriate for use versus not.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.experimental
  • w5: FiveWs.class
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
subjectTypeO Σ1..1codeBindingPatternElement id
Questionnaire.subjectType
Short description

Resource that can be subject of QuestionnaireResponse

Definition

The types of subjects that can be the subject of responses created for the questionnaire.

Comments

If none are specified, then the subject is unlimited.

Data type

code

Binding

One of the resource types defined as part of this version of FHIR.

ResourceType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
Patient
Mappings
  • rim: n/a
  • workflow: Definition.subject[x]
  • rim: .outboundRelationship[typeCode=META].target[classCode=OBS, moodCode=DEFN, isCriterion=true].participation.role.classCode
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
dateO Σ0..1dateTimeElement id
Questionnaire.date
Short description

Date last changed

Alternate names

Revision Date

Definition

The date (and optionally time) when the questionnaire was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the questionnaire changes.

Comments

Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the questionnaire. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource.

Data type

dateTime

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.date
  • w5: FiveWs.recorded
  • rim: .participation[typeCode=AUT].time
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
publisherO Σ0..1stringElement id
Questionnaire.publisher
Short description

Name of the publisher (organization or individual)

Definition

The name of the organization or individual that published the questionnaire.

Requirements

Helps establish the "authority/credibility" of the questionnaire. May also allow for contact.

Comments

Usually an organization but may be an individual. The publisher (or steward) of the questionnaire is the organization or individual primarily responsible for the maintenance and upkeep of the questionnaire. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the questionnaire. This item SHOULD be populated unless the information is available from context.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.publisher
  • w5: FiveWs.witness
  • rim: .participation[typeCode=AUT].role
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
contactΣ0..*ContactDetail
There are no (further) constraints on this element
Element id
Questionnaire.contact
Short description

Contact details for the publisher

Definition

Contact details to assist a user in finding and communicating with the publisher.

Comments

May be a web site, an email address, a telephone number, etc.

Data type

ContactDetail

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.contact
  • rim: .participation[typeCode=CALLBCK].role
descriptionO0..1markdownElement id
Questionnaire.description
Short description

Natural language description of the questionnaire

Definition

A free text natural language description of the questionnaire from a consumer's perspective.

Comments

This description can be used to capture details such as why the questionnaire was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the questionnaire as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the questionnaire is presumed to be the predominant language in the place the questionnaire was created).

Data type

markdown

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.description
  • rim: .text
  • ontario-fhir-legacy: eform/description
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.description.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.description.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
short-stringC0..1Extension(string)Element id
Questionnaire.description.extension:short-string
Short description

Short-form of string

Alternate names

extensions, user content

Definition

A shorter version of a string, typically intended for use on mobile displays.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: eform/tagline
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.description.value
Short description

Primitive value for markdown

Definition

Primitive value for markdown

Data type

System.String

Maximum string length

1048576

useContextΣ0..*UsageContextElement id
Questionnaire.useContext
Short description

The context that the content is intended to support

Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.

Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

Data type

UsageContext

Slicing

Unordered, Closed, by code(Value)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
  • rim: N/A (to add?)
focusO Σ0..*UsageContextElement id
Questionnaire.useContext:focus
Short description

The context that the content is intended to support

Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.

Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

Data type

UsageContext

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
  • rim: N/A (to add?)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codeΣ1..1CodingBindingPatternElement id
Questionnaire.useContext:focus.code
Short description

Type of context being specified

Definition

A code that identifies the type of context being specified by this usage context.

Comments

Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.

Data type

Coding

Binding

A code that specifies a type of context being specified by a usage context.

UsageContextType (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
{
  "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
  "code": "focus"
}
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
value[x]O Σ1..1CodeableConceptBindingElement id
Questionnaire.useContext:focus.value[x]
Short description

Value that defines the context

Definition

A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

Data type

CodeableConcept

Binding

A code that defines the specific value for the context being specified.

ONQuestionnaireTopic (required)

Additional bindings
  • ONQuestionnaireTopic (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codingΣ0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding
Short description

Code defined by a terminology system

Definition

A reference to a code defined by a terminology system.

Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Data type

Coding

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
systemΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.system
Short description

Identity of the terminology system

Definition

The identification of the code system that defines the meaning of the symbol in the code.

Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
versionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.version
Short description

Version of the system - if relevant

Definition

The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.

Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
codeΣ0..1codeElement id
Questionnaire.useContext:focus.value[x].coding.code
Short description

Symbol in syntax defined by the system

Definition

A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

Requirements

Need to refer to a particular code in the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • ontario-fhir-legacy: eform/tags/tag
displayΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.display
Short description

Representation defined by the system

Definition

A representation of the meaning of the code in the system, following the rules of the system.

Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
userSelectedΣ0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.useContext:focus.value[x].coding.userSelected
Short description

If this coding was chosen directly by the user

Definition

Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).

Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
textO Σ0..1stringElement id
Questionnaire.useContext:focus.value[x].text
Short description

Plain text representation of the concept

Definition

A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • ontario-fhir-legacy: eform/keywords
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
topicO Σ0..*UsageContextElement id
Questionnaire.useContext:topic
Short description

The context that the content is intended to support

Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances.

Requirements

Assist in searching for appropriate content.

Comments

When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.

Data type

UsageContext

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.useContext
  • rim: N/A (to add?)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codeΣ1..1CodingBindingPatternElement id
Questionnaire.useContext:topic.code
Short description

Type of context being specified

Definition

A code that identifies the type of context being specified by this usage context.

Comments

Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.

Data type

Coding

Binding

A code that specifies a type of context being specified by a usage context.

UsageContextType (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
{
  "system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
  "code": "topic"
}
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
value[x]O Σ1..1CodeableConceptElement id
Questionnaire.useContext:topic.value[x]
Short description

Value that defines the context

Definition

A value that defines the context specified in this context of use. The interpretation of the value is defined by the code.

Data type

CodeableConcept

Binding

A code that defines the specific value for the context being specified.

Context of Use ValueSet (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
codingΣ0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.useContext:topic.value[x].coding
Short description

Code defined by a terminology system

Definition

A reference to a code defined by a terminology system.

Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Data type

Coding

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
textO Σ0..1stringElement id
Questionnaire.useContext:topic.value[x].text
Short description

Plain text representation of the concept

Definition

A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.

Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Very often the text is the same as a displayName of one of the codings.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
jurisdictionΣ0..*CodeableConceptBinding
There are no (further) constraints on this element
Element id
Questionnaire.jurisdiction
Short description

Intended jurisdiction for questionnaire (if applicable)

Definition

A legal or geographic region in which the questionnaire is intended to be used.

Comments

It may be possible for the questionnaire to be used in jurisdictions other than those for which it was originally designed or intended.

Data type

CodeableConcept

Binding

Countries and regions within which this artifact is targeted for use.

Jurisdiction ValueSet (extensible)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE
  • rim: CD
  • orim: fhir:CodeableConcept rdfs:subClassOf dt:CD
  • workflow: Definition.jurisdiction
  • rim: N/A (to add?)
purpose0..1markdown
There are no (further) constraints on this element
Element id
Questionnaire.purpose
Short description

Why this questionnaire is defined

Definition

Explanation of why this questionnaire is needed and why it has been designed as it has.

Comments

This element does not describe the usage of the questionnaire. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this questionnaire.

Data type

markdown

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.purpose
  • w5: FiveWs.why[x]
  • rim: .reasonCode.text
  • objimpl: no-gen-base
copyrightO0..1markdownElement id
Questionnaire.copyright
Short description

Use and/or publishing restrictions

Alternate names

License, Restrictions

Definition

A copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire.

Requirements

Consumers must be able to determine any legal restrictions on the use of the questionnaire and/or its content.

Comments

Systems are not required to have markdown support, so the text should be readable without markdown processing. The markdown syntax is GFM - see https://github.github.com/gfm/

Data type

markdown

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.copyright
  • rim: N/A (to add?)
  • objimpl: no-gen-base
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:display
approvalDateO0..1dateElement id
Questionnaire.approvalDate
Short description

When the questionnaire was approved by publisher

Definition

The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.

Comments

The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.

Data type

date

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.approvalDate
  • rim: .outboundRelationship[typeCode="SUBJ"].act[classCode=CACT;moodCode=EVN;code="approval"].effectiveTime
  • objimpl: no-gen-base
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
lastReviewDate0..1date
There are no (further) constraints on this element
Element id
Questionnaire.lastReviewDate
Short description

When the questionnaire was last reviewed

Definition

The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.

Requirements

Gives a sense of how "current" the content is. Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant.

Comments

If specified, this date follows the original approval date.

Data type

date

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • workflow: Definition.lastReviewDate
  • rim: .outboundRelationship[typeCode="SUBJ"; subsetCode="RECENT"].act[classCode=CACT;moodCode=EVN;code="review"].effectiveTime
  • objimpl: no-gen-base
effectivePeriodO Σ C0..1PeriodElement id
Questionnaire.effectivePeriod
Short description

When the questionnaire is expected to be used

Definition

The period during which the questionnaire content was or is planned to be in active use.

Requirements

Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the questionnaire are or are expected to be used instead.

Comments

The effective period for a questionnaire determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015.

Data type

Period

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • per-1: If present, start SHALL have a lower value than end
    start.hasValue().not() or end.hasValue().not() or (start <= end)
Mappings
  • rim: n/a
  • v2: DR
  • rim: IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]
  • workflow: Definition.effectivePeriod
  • rim: N/A (to add?)
  • objimpl: no-gen-base
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.effectivePeriod.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.effectivePeriod.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
startO Σ C0..1dateTimeElement id
Questionnaire.effectivePeriod.start
Short description

When to start using form

Definition

The start of the period. The boundary is inclusive.

Comments

If the low element is missing, the meaning is that the low boundary is not known.

Data type

dateTime

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, per-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: DR.1
  • rim: ./low
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
endO Σ C0..1dateTimeElement id
Questionnaire.effectivePeriod.end
Short description

When to stop using form

Definition

The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.

Comments

The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has an end value of 2012-02-03.

Meaning when missing

If the end of the period is missing, it means that the period is ongoing

Data type

dateTime

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, per-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: DR.2
  • rim: ./high
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
codeO Σ0..*CodingElement id
Questionnaire.code
Short description

Concept that represents the overall questionnaire

Definition

An identifier for this question or group of questions in a particular terminology such as LOINC.

Requirements

Allows linking of the complete Questionnaire resources to formal terminologies. It's common for "panels" of questions to be identified by a code.

Comments

Codes may be defined very casually in enumerations or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHOULD:process
itemO C0..*BackboneElementElement id
Questionnaire.item
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Slicing

Unordered, Closed, by type(Value)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
  • onq-9: All display items must have text or note details
    type='display' implies text.exists() or extension('http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info').exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
  • ontario-fhir-legacy: eform/mainSection, section, item
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
(All Slices)
The requirements in this element apply to all slices

id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
renderStyleO C0..1Extension(string)Element id
Questionnaire.item.extension:renderStyle
Short description

Html style value

Alternate names

extensions, user content

Definition

Identifies how the specified element should be rendered when displayed.

Comments

This extension would be equivalent to setting the HTML "style" attribute on the root element for the element containing the extension.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-style

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hints
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:renderStyle.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:renderStyle.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:renderStyle.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/rendering-style
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item.extension:renderStyle.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ONItemStyles (required)

Additional bindings
  • ONItemStyles (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hint
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

supportHyperlinkO C0..1Extension(Complex)Element id
Questionnaire.item.extension:supportHyperlink
Short description

A labeled hyperlink for user guidance

Alternate names

extensions, user content

Definition

A labeled hyperlink for display alongside a questionnaire item, providing supporting guidance to the user.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-supportHyperlink

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hyperlink
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
labelO C1..1ExtensionElement id
Questionnaire.item.extension:supportHyperlink.extension:label
Short description

The hyperlink display text

Alternate names

extensions, user content

Definition

The text to display for the user to click on to go to the link.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hyperlink/@text
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
label
Mappings
  • rim: N/A
value[x]0..1
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Slicing

Unordered, Open, by $this(Type)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

valueString1..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:label.value[x]:valueString
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
linkO C1..1ExtensionElement id
Questionnaire.item.extension:supportHyperlink.extension:link
Short description

The hyperlink URL

Alternate names

extensions, user content

Definition

The link to navigate to.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hyperlink/@url
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
link
Mappings
  • rim: N/A
value[x]0..1
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Slicing

Unordered, Open, by $this(Type)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

valueUri1..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.extension:link.value[x]:valueUri
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-supportHyperlink
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:supportHyperlink.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
enableWhenExpressionO C0..1Extension(Expression)Element id
Questionnaire.item.extension:enableWhenExpression
Short description

Expression for when to enable the item

Alternate names

extensions, user content

Definition

An expression that returns a boolean value for whether to enable the item.

Comments

This is only permitted when the containing item does NOT have any enableWhen elements.

If the expression involves comparisons between elements that have different precisions but are otherwise equal, FHIRPath will resolve the expression to an empty set, which will in turn evaluate to false (meaning the item won't be enabled). If this is not the desired behavior, the author should add a .allTrue() to the end of the expression, which will result in an indeterminate outcome because of precision differences being handled as 'true' and the item being enabled. Questionnaires SHOULD be designed to take into account challenges around varying precision to minimize non-deterministic situations by setting constraints around expected precision, etc.

If the expression evaluates to something other than a boolean true or false, the Form Filler SHOULD still display the form, and if it does so, SHOULD treat the element as 'enabled' and display a warning to the user that the questionnaire logic was faulty and it's possible that the item shouldn't be enabled.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:enableWhenExpression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:enableWhenExpression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:enableWhenExpression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression
Mappings
  • rim: N/A
value[x]O C1..1Element id
Questionnaire.item.extension:enableWhenExpression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • sdc-inv1: FHIR query language not allowed.
    language!='application/x-fhir-query'
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

hiddenO C0..1Extension(boolean)Element id
Questionnaire.item.extension:hidden
Short description

Don't display to user

Alternate names

extensions, user content

Definition

If true, indicates that the extended item should not be displayed to the user.

Comments

If an item is hidden, all descendant items are hidden as well.

Data type

Extension(boolean)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-hidden

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:hidden.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:hidden.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:hidden.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.extension:hidden.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @showIf, @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

variableO C0..*Extension(Expression)Element id
Questionnaire.item.extension:variable
Short description

Variable for processing

Alternate names

extensions, user content

Definition

Variable specifying a logic to generate a variable for use in subsequent logic. The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.

Requirements

Allows capturing answers or totals for use in other logic

Comments

Ordering of variable extension declarations is significant as variables declared in one repetition of this extension might be used in subsequent extension repetitions.

Data type

Extension(Expression)

Extension URL

http://hl7.org/fhir/StructureDefinition/variable

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:variable.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:variable.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.extension:variable.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/variable
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.extension:variable.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item.text.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
renderStyleO C0..1Extension(string)Element id
Questionnaire.item.text.extension:renderStyle
Short description

Html style value

Alternate names

extensions, user content

Definition

Identifies how the specified element should be rendered when displayed.

Comments

This extension would be equivalent to setting the HTML "style" attribute on the root element for the element containing the extension.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-style

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:renderStyle.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:renderStyle.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:renderStyle.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/rendering-style
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.text.extension:renderStyle.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: eFormSection/@headerStyle
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

translationO C0..*Extension(Complex)Element id
Questionnaire.item.text.extension:translation
Short description

Language Translation (Localization)

Alternate names

extensions, user content

Definition

Language translation from base language of resource to another language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/translation

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ST.translation
  • ontario-fhir-legacy: /eform/stringTranslations/str[current().contains(@ref)]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
langO C1..1ExtensionElement id
Questionnaire.item.text.extension:translation.extension:lang
Short description

Code for Language

Alternate names

extensions, user content

Definition

Code for Language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:lang.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:lang.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:lang.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
lang
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item.text.extension:translation.extension:lang.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @locale
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
valueCodecode
There are no (further) constraints on this element
Data type

code

contentO C1..1ExtensionElement id
Questionnaire.item.text.extension:translation.extension:content
Short description

Content in other Language

Alternate names

extensions, user content

Definition

Content in other Language.

Comments

The type (string or markdown) must match the context in which it is used.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:content.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:content.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.extension:content.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
content
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item.text.extension:translation.extension:content.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: text()
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
valueStringstringData type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/translation
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:translation.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
xhtmlO C0..1Extension(string)Element id
Questionnaire.item.text.extension:xhtml
Short description

String equivalent with html markup

Alternate names

extensions, user content

Definition

This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing restrictions on XHTML content apply. Note that using markdown allows for greater flexibility of display.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-xhtml

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ED can be XHTML content
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/rendering-xhtml
Mappings
  • rim: N/A
value[x]O1..1stringElement id
Questionnaire.item.text.extension:xhtml.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: items/picture, refs/ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
translationO C0..*Extension(Complex)Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation
Short description

Language Translation (Localization)

Alternate names

extensions, user content

Definition

Language translation from base language of resource to another language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/translation

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ST.translation
  • ontario-fhir-legacy: /eform/stringTranslations/str[current().contains(@ref)]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
langO C1..1ExtensionElement id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang
Short description

Code for Language

Alternate names

extensions, user content

Definition

Code for Language.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
lang
Mappings
  • rim: N/A
value[x]1..1BindingElement id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

A human language.

CommonLanguages (preferred)

Binding extensions
maxValueSetAllLanguages
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueCodecode
There are no (further) constraints on this element
Data type

code

contentO C1..1ExtensionElement id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content
Short description

Content in other Language

Alternate names

extensions, user content

Definition

Content in other Language.

Comments

The type (string or markdown) must match the context in which it is used.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
content
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/translation
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item.text.extension:xhtml.value[x].value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item.text.value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

type1..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

QuestionnaireItemType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
repeatsC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
readOnlyC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
maxLengthC0..1integer
There are no (further) constraints on this element
Element id
Questionnaire.item.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
answerValueSetC0..1canonical(ValueSet)
There are no (further) constraints on this element
Element id
Questionnaire.item.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
answerOptionC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueUriuri
There are no (further) constraints on this element
Data type

uri

itemC0..*see (item)
There are no (further) constraints on this element
Element id
Questionnaire.item.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target
groupO C0..*BackboneElementElement id
Questionnaire.item:group
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:group.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
preferredTerminologyServerO C0..*Extension(url)Element id
Questionnaire.item:group.extension:preferredTerminologyServer
Short description

Preferred terminology server

Alternate names

extensions, user content

Definition

Indicates the terminology server(s) that are known to be capable of returning and potentially expanding the value set(s) associated with the resource or a particular portion of the resource (depending on where the extension appears). If a full URL is not provided AND the requested query is a terminology operation (e.g. $lookup or $expand) the client SHOULD execute the operation against (one of) the preferredTerminologyServer(s) rather than the local repository. Systems SHOULD evaluate value sets using terminology servers as follows: First, try any terminology servers declared on the element in question. If there are more then one, try them in the order they appear. Then try any servers that appear on ancestor elements in order of closest ancestor up to any on the resource root If there are no declared servers or none of the ones listed provide a useful response, the form filler may then try any of the typical servers it would normally use. A 'useful response' means a response that provides a valid (though potentially empty) expansion. Clients MAY wish to log/report errors returned by terminology servers.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(url)

Extension URL

http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
collapsibleO C0..1Extension(code)Element id
Questionnaire.item:group.extension:collapsible
Short description

Indicates whether the child items of a group or question item is displayed in collapsible form.

Alternate names

extensions, user content

Definition

Indicates whether the child items of a group or question item is displayed in collapsible form.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(code)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:collapsible.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:collapsible.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:collapsible.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item:group.extension:collapsible.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Defines mechanism of displaying child items.

QuestionnaireItemCollapsible (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

itemControlO C0..1Extension(CodeableConcept)Element id
Questionnaire.item:group.extension:itemControl
Short description

E.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.

Alternate names

extensions, user content

Definition

The type of data entry control or structure that should be used to render the item.

Comments

Different controls may be appropriate for different item types. It is up to the system rendering a questionnaire as to what controls it will support and for which data types.

Data type

Extension(CodeableConcept)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemControl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemControl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemControl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item:group.extension:itemControl.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

User interface controls or widgets used for questionnaire items.

ONGroupItemControls (required)

Additional bindings
  • ONGroupItemControls (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

targetConstraintO C0..*Extension(Complex)Element id
Questionnaire.item:group.extension:targetConstraint
Short description

A constraint on the target resource

Alternate names

extensions, user content

Definition

Specifies a constraint that is enforced on instantiated (or target) resources. This extension can be applied to definitional resources (such as ActivityDefinition or Measure) and indicates that the constraint should be enforced on resources that are instantiated from the definition.

Comments

Can be used on any definitional artifact to define a constraint that is enforced in the context of an instantiated resource. The constraint expression will have access to %target and %definition variables, where target is the instantiated resource, and definition is the definition used to instantiate.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/targetConstraint

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: validator
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
keyO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:key
Short description

Unique identifier

Alternate names

extensions, user content

Definition

A unique identifier for the invariant (unique in the context of the resource).

Comments

Any error or outcome messages or warnings should include this id to allow the source of the message to be determined.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
key
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:key.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueIdid
There are no (further) constraints on this element
Data type

id

requirementsC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements
Short description

Why the constraint is defined

Alternate names

extensions, user content

Definition

A brief description of why the constraint is necessary or appropriate.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
requirements
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:requirements.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

severityO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:severity
Short description

error | warning

Alternate names

extensions, user content

Definition

Whether the constraint indicates an error condition or a warning.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:severity.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:severity.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:severity.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
severity
Mappings
  • rim: N/A
value[x]O1..1BindingPatternElement id
Questionnaire.item:group.extension:targetConstraint.extension:severity.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ConstraintSeverity (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
error
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

expressionO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:expression
Short description

The invariant expression

Alternate names

extensions, user content

Definition

An expression providing a formal representation of the invariant condition.

Comments

The expression will have access to %target (the resource that was instantiated) and %definition (the definition for the instantiated resource).

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @validIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:expression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

humanO C1..1ExtensionElement id
Questionnaire.item:group.extension:targetConstraint.extension:human
Short description

Human-readable rule

Alternate names

extensions, user content

Definition

A free text expression of the rule to display to the user if the rule is violated.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @message
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
human
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:human.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

locationC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location
Short description

Relative path to elements

Alternate names

extensions, user content

Definition

Relative paths to the elements this rule is enforced against.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
location
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.extension:location.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/targetConstraint
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:targetConstraint.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractO C0..*Extension(Complex)Element id
Questionnaire.item:group.extension:definitionExtract
Short description

Details for a definition based resource extraction

Alternate names

extensions, user content

Definition

Specifies the resource type/profile for the definition based extraction of a resource and optionally the fullUrl and other Bundle.entry.request properties as needed.

Requirements

Enables definition-based extraction of captured data from the Questionnaire

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process (when extraction performed and required extraction metadata malformed)
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtract.extension:definition
Short description

Canonical URL of Resource type or profile to extract

Alternate names

extensions, user content

Definition

The resource type/profile canonical Url defining the resource type to be extracted.

Comments

The canonical URL for a base resource can be used if a specific profile is not required, e.g. http://hl7.org/fhir/StructureDefinition/Patient.

The value used here will be the prefix value (before the #) in any child items definition value.

Where a specific profile is used (not the base resource), then this canonical value will be set in the created resource's meta.profile collection.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtract.extension:definition.value[x]
Short description

Resource Profile canonical URL

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

fullUrlO C0..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl
Short description

A fhirpath expression to evaluate to populate the fullUrl property in the `Bundle.entry` (uri/string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the fullUrl property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fullUrl
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtract.extension:fullUrl.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch
Short description

A fhirpath expression to evaluate to populate the ifNoneMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifModifiedSinceC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince
Short description

A fhirpath expression to evaluate to populate the ifModifiedSince property (instant result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifModifiedSince property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifModifiedSince
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifModifiedSince.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch
Short description

A fhirpath expression to evaluate to populate the ifMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneExistC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist
Short description

A fhirpath expression to evaluate to populate the ifNoneExist property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneExist property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneExist
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.extension:ifNoneExist.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtract.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractValueO C0..*Extension(Complex)Element id
Questionnaire.item:group.extension:definitionExtractValue
Short description

Fixed or calculated value to extract

Alternate names

extensions, user content

Definition

Provide either a fixed value, or an expression to evaluate, to be used as the value for the extracted resource's property based on the definition value.

Requirements

Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • dev-1: Either `expression` or a `fixed-value` must be provided.
    extension('expression').value.exists() xor extension('fixed-value').value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition
Short description

ElementDefintion to extract value into

Alternate names

extensions, user content

Definition

This is the profile canonical Url, followed by # and the element id, that the value should be extracted into.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:definition.value[x]
Short description

Profile canonical URL and element id

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueUriuri
There are no (further) constraints on this element
Data type

uri

expressionO C0..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression
Short description

An expression to evaluate

Alternate names

extensions, user content

Definition

An expression to evaluate to extract the value into the specified element definition. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

fixed-valueO C0..1ExtensionElement id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value
Short description

A fixed value to extract

Alternate names

extensions, user content

Definition

A fixed value to extract into the specified element definition.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fixed-value
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.extension:fixed-value.value[x]
Short description

Fixed value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:definitionExtractValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
extractAllocateIdO C0..*Extension(string)Element id
Questionnaire.item:group.extension:extractAllocateId
Short description

Variable name for the new uuid.

Alternate names

extensions, user content

Definition

Allocate a new uuid in a named variable for use in extraction. This is usually used to set the fullUrl for a resource in the output extraction bundle, and then referenced in other resources in that bundle (via fhirpath expressions). The format of the uuid will be urn:uuid:(uuid). e.g. urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031

Requirements

Generates a random UUID that can be used for cross-linking extracted resources

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:extractAllocateId.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:extractAllocateId.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:extractAllocateId.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:group.extension:extractAllocateId.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

itemPopulationContextO C0..1Extension(Expression)Element id
Questionnaire.item:group.extension:itemPopulationContext
Short description

Establishes mapping context for a Questionnaire item

Alternate names

extensions, user content

Definition

Specifies a query or other expression that identifies the resource (or set of resources for a repeating item) that should be used to support the population of this Questionnaire or Questionnaire.item on initial population. When populating the questionnaire, it will set the specified variable name to that resource repetition for use in processing items within the group.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemPopulationContext.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemPopulationContext.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:group.extension:itemPopulationContext.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:group.extension:itemPopulationContext.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:group.extension:noteInfo
Short description

Group Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes generated for this group element from this QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item:group.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item:group.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item:group.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item:group.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
typeO1..1codeBindingPatternElement id
Questionnaire.item:group.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

QuestionnaireItemType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
group
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item:group.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item:group.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item:group.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item:group.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

answerReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item:group.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredO C0..1booleanElement id
Questionnaire.item:group.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: validator/@allowEmpty=false, or validator/@type='MANDATORY'
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
repeatsO C0..1booleanElement id
Questionnaire.item:group.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
readOnlyC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:group.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
maxLengthC0..1integer
There are no (further) constraints on this element
Element id
Questionnaire.item:group.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
answerValueSetC0..1canonical(ValueSet)
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
answerOptionC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:group.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:group.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueUriuri
There are no (further) constraints on this element
Data type

uri

itemO C0..*see (item)Element id
Questionnaire.item:group.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target
  • ontario-fhir-legacy: items/*
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
displayO C0..*BackboneElementElement id
Questionnaire.item:display
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:display.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:display.extension:noteInfo
Short description

Question Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes produced from this display item in the QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item:display.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item:display.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item:display.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item:display.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:display.text.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
expressionO C0..1Extension(Expression)Element id
Questionnaire.item:display.text.extension:expression
Short description

An dynamic expression

Alternate names

extensions, user content

Definition

An expression that, when evaluated, provides the value for the element on which it appears.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Expression)

Extension URL

http://hl7.org/fhir/StructureDefinition/cqf-expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/cqf-expression
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.item:display.text.extension:expression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.item:display.text.extension:expression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.item:display.text.extension:expression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • ontario-fhir-legacy: hints
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.extension:expression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item:display.text.value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

typeO1..1codeBindingPatternElement id
Questionnaire.item:display.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

QuestionnaireItemType (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
display
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item:display.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item:display.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item:display.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item:display.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

answerReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item:display.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
repeatsC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
readOnlyC0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
maxLengthC0..1integer
There are no (further) constraints on this element
Element id
Questionnaire.item:display.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
answerValueSetC0..1canonical(ValueSet)
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
answerOptionC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:display.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialC0..*BackboneElement
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:display.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueUriuri
There are no (further) constraints on this element
Data type

uri

itemC0..*see (item)
There are no (further) constraints on this element
Element id
Questionnaire.item:display.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target
questionO C0..*BackboneElementElement id
Questionnaire.item:question
Short description

Questions and sections within the Questionnaire

Definition

A particular question, question grouping or display text that is part of the questionnaire.

Comments

The content of the questionnaire is constructed from an ordered, hierarchical collection of items.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-9: Read-only can't be specified for "display" items
    type!='display' or readOnly.empty()
  • que-8: Initial values can't be specified for groups or display items
    (type!='group' and type!='display') or initial.empty()
  • que-6: Required and repeat aren't permitted for display items
    type!='display' or (required.empty() and repeats.empty())
  • que-5: Only '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-4: A question cannot have both answerOption and answerValueSet
    answerOption.empty() or answerValueSet.empty()
  • que-3: Display items cannot have a "code" asserted
    type!='display' or code.empty()
  • que-10: Maximum length can only be declared for simple question types
    (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()
  • que-1: Group 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-13: Can only have multiple initial values for repeating items
    repeats=true or initial.count() <= 1
  • que-11: If one or more answerOption is present, initial[x] must be missing
    answerOption.empty() or initial.empty()
  • que-12: If there are more than one enableWhen, enableBehavior must be specified
    enableWhen.count() > 2 implies enableBehavior.exists()
  • onq-1: minLength and maxLength are only allowed when type is string or text
    extension('http://hl7.org/fhir/StructureDefinition/minLength').exists() or maxLength.exists() implies type='string' or type='text'
  • onq-2: maxSize and mimeType are only permitted when type is 'attachment'
    extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() or extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() implies type='attachment'
  • onq-3: maxSize and mimeType SHOULD both be declared when type is 'attachment'
    type='attachment' implies extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() and extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists()
  • onq-4: minValue and maxValue are only permitted when type is date, dateTime, decimal, integer, or time
    extension('http://hl7.org/fhir/StructureDefinition/minValue').exists() or extension('http://hl7.org/fhir/StructureDefinition/maxValue').exists() implies type='date' or type='dateTime' or type='decimal' or type='integer' or type='time'
  • onq-5: minValue and maxValue SHOULD be specified when type is date, dateTime, decimal, or integer
    type='date' or type='dateTime' or type='decimal' or type='integer' or type='time' implies extension('http://hl7.org/fhir/StructureDefinition/minValue').exists() and extension('http://hl7.org/fhir/StructureDefinition/maxValue').exists()
  • onq-6: choice orientation and item control are only permitted when there are options or a value set
    (extension('http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation').exists() or extension('http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl').exists()) implies (answerOption.exists() or answerValueSet.exists())
  • onq-7: minOccurs and maxOccurs are only permitted when repeats=true
    (extension('http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs').exists() or extension('http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs').exists()) implies repeats
  • onq-8: negativeStyle and negativeText question note extensions are only permitted for boolean questions
    type!='boolean' implies extension('http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info').exists(extension('negativeStyle') or extension('negativeText')).not()
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*ExtensionElement id
Questionnaire.item:question.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
answerOptionsToggleO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:answerOptionsToggle
Short description

Expression constraining allowed answers

Alternate names

extensions, user content

Definition

A complex expression that provides a list of the allowed options that should be enabled or disabled based on the evaluation of a provided expression. It allows toggling of allowed answers based on context, including the answers provided to other expressions.

Comments

For example, this allows a list of conditions to be modified based on the gender of the patient

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC2..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
optionO C1..*ExtensionElement id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option
Short description

Option(s) to toggle

Alternate names

extensions, user content

Definition

Each repetition is an option to toggle based on the expression

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
option
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.value[x]
Short description

The option value to control

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

expressionO C1..1ExtensionElement id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression
Short description

The expression to toggle on

Alternate names

extensions, user content

Definition

If this expression evaluate's to 'true', then the specified options should be enabled, otherwise they should be disabled.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:answerOptionsToggle.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
preferredTerminologyServerO C0..*Extension(url)Element id
Questionnaire.item:question.extension:preferredTerminologyServer
Short description

Preferred terminology server

Alternate names

extensions, user content

Definition

Indicates the terminology server(s) that are known to be capable of returning and potentially expanding the value set(s) associated with the resource or a particular portion of the resource (depending on where the extension appears). If a full URL is not provided AND the requested query is a terminology operation (e.g. $lookup or $expand) the client SHOULD execute the operation against (one of) the preferredTerminologyServer(s) rather than the local repository. Systems SHOULD evaluate value sets using terminology servers as follows: First, try any terminology servers declared on the element in question. If there are more then one, try them in the order they appear. Then try any servers that appear on ancestor elements in order of closest ancestor up to any on the resource root If there are no declared servers or none of the ones listed provide a useful response, the form filler may then try any of the typical servers it would normally use. A 'useful response' means a response that provides a valid (though potentially empty) expansion. Clients MAY wish to log/report errors returned by terminology servers.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(url)

Extension URL

http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:preferredTerminologyServer.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:preferredTerminologyServer.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:preferredTerminologyServer.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:question.extension:preferredTerminologyServer.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueUrlurl
There are no (further) constraints on this element
Data type

url

minLengthO C0..1Extension(integer)Element id
Questionnaire.item:question.extension:minLength
Short description

At least this many characters

Alternate names

extensions, user content

Definition

The minimum number of characters that must be present in the simple data type to be considered a "valid" instance.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data.

Data type

Extension(integer)

Extension URL

http://hl7.org/fhir/StructureDefinition/minLength

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
maxSizeO C0..1Extension(decimal)Element id
Questionnaire.item:question.extension:maxSize
Short description

Max size in MB

Alternate names

extensions, user content

Definition

For attachment answers, indicates the maximum size an attachment can be.

Comments

This extension only has meaning if the element has a type of Attachment.

Data type

Extension(decimal)

Extension URL

http://hl7.org/fhir/StructureDefinition/maxSize

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-2, onq-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
mimeTypeO C0..*Extension(code)Element id
Questionnaire.item:question.extension:mimeType
Short description

Type of attachment

Alternate names

extensions, user content

Definition

Identifies the kind(s) of attachment allowed to be sent for an element.

Comments

This extension only has meaning if the element has a type of Attachment.

Data type

Extension(code)

Extension URL

http://hl7.org/fhir/StructureDefinition/mimeType

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-2, onq-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:mimeType.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:mimeType.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:mimeType.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/mimeType
Mappings
  • rim: N/A
value[x]O1..1BindingElement id
Questionnaire.item:question.extension:mimeType.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

The mime type of an attachment. Any valid mime type is allowed.

ONQuestionnaireMimeTypes (required)

Additional bindings
  • ONQuestionnaireMimeTypes (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

minValueO C0..1Extension(datedateTimedecimalintegertime)Element id
Questionnaire.item:question.extension:minValue
Short description

Must be >= this value

Alternate names

extensions, user content

Definition

The inclusive lower bound on the range of allowed values for the data element.

Comments

Data type specified must be the same as the data type for the data element.

Data type

Extension(datedateTimedecimalintegertime)

Extension URL

http://hl7.org/fhir/StructureDefinition/minValue

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-4, onq-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
maxValueO C0..1Extension(datedateTimedecimalinstantintegertime)Element id
Questionnaire.item:question.extension:maxValue
Short description

Must be <= this value

Alternate names

extensions, user content

Definition

The inclusive upper bound on the range of allowed values for the data element.

Comments

Data type specified must be the same as the data type for the data element.

Data type

Extension(datedateTimedecimalinstantintegertime)

Extension URL

http://hl7.org/fhir/StructureDefinition/maxValue

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-4, onq-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • v2: N/A
  • rim: N/A (MIF-level)
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/maxValue
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:maxValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueDatedateData type

date

valueDateTimedateTimeData type

dateTime

valueDecimaldecimalData type

decimal

valueIntegerintegerData type

integer

valueTimetimeData type

time

choiceOrientationO C0..1Extension(code)Element id
Questionnaire.item:question.extension:choiceOrientation
Short description

horizontal | vertical

Alternate names

extensions, user content

Definition

Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).

Comments

Systems may choose to wrap answers rather than attempting to display them all in one row or column. Language conventions may determine the order in which the choices are listed (left-to-right or right-to-left, etc.).

Data type

Extension(code)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceOrientation.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceOrientation.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceOrientation.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
Mappings
  • rim: N/A
value[x]O C1..1BindingElement id
Questionnaire.item:question.extension:choiceOrientation.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

Direction in which lists of possible answers should be displayed.

ChoiceListOrientation (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hints/hint[.='VERTICAL_STACKING']
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

itemControlO C0..1Extension(CodeableConcept)Element id
Questionnaire.item:question.extension:itemControl
Short description

E.g. Fly-over, Table, Checkbox, Combo-box, Lookup, etc.

Alternate names

extensions, user content

Definition

The type of data entry control or structure that should be used to render the item.

Comments

Different controls may be appropriate for different item types. It is up to the system rendering a questionnaire as to what controls it will support and for which data types.

Data type

Extension(CodeableConcept)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemControl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemControl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemControl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
Mappings
  • rim: N/A
value[x]O C1..1BindingElement id
Questionnaire.item:question.extension:itemControl.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

User interface controls or widgets used for questionnaire items.

ONQuestionItemControls (required)

Additional bindings
  • ONQuestionItemControls (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: hints/hint[.='USE_BUTTONS_FOR_MENU']
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

choiceDiagramO C0..1Extension(url)Element id
Questionnaire.item:question.extension:choiceDiagram
Short description

Image for Choice Diagram?

Alternate names

extensions, user content

Definition

A link to the SVG diagram that is used to render the choice options.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(url)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceDiagram.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceDiagram.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:choiceDiagram.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:question.extension:choiceDiagram.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
valueUrlurl
There are no (further) constraints on this element
Data type

url

minOccursO C0..1Extension(integer)Element id
Questionnaire.item:question.extension:minOccurs
Short description

Minimum repetitions

Alternate names

extensions, user content

Definition

The minimum number of times the group must appear, or the minimum number of answers for a question - when greater than 1.

Comments

Default assumption for "required" elements is minOccurs=1.

Data type

Extension(integer)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:minOccurs.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:minOccurs.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:minOccurs.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:minOccurs.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

maxOccursO C0..1Extension(integer)Element id
Questionnaire.item:question.extension:maxOccurs
Short description

Maximum repetitions

Alternate names

extensions, user content

Definition

The maximum number of times the group must appear, or the maximum number of answers for a question - when greater than 1 and not unlimited.

Comments

Only relevant if the element has repeats=true and there's a need to constrain the number of allowed repetitions.

Data type

Extension(integer)

Extension URL

http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, onq-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxOccurs.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxOccurs.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:maxOccurs.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:maxOccurs.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

targetConstraintO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:targetConstraint
Short description

A constraint on the target resource

Alternate names

extensions, user content

Definition

Specifies a constraint that is enforced on instantiated (or target) resources. This extension can be applied to definitional resources (such as ActivityDefinition or Measure) and indicates that the constraint should be enforced on resources that are instantiated from the definition.

Comments

Can be used on any definitional artifact to define a constraint that is enforced in the context of an instantiated resource. The constraint expression will have access to %target and %definition variables, where target is the instantiated resource, and definition is the definition used to instantiate.

Data type

Extension(Complex)

Extension URL

http://hl7.org/fhir/StructureDefinition/targetConstraint

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: validator
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
keyO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:key
Short description

Unique identifier

Alternate names

extensions, user content

Definition

A unique identifier for the invariant (unique in the context of the resource).

Comments

Any error or outcome messages or warnings should include this id to allow the source of the message to be determined.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
key
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:key.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueIdid
There are no (further) constraints on this element
Data type

id

requirementsC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements
Short description

Why the constraint is defined

Alternate names

extensions, user content

Definition

A brief description of why the constraint is necessary or appropriate.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
requirements
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:requirements.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

severityO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:severity
Short description

error | warning

Alternate names

extensions, user content

Definition

Whether the constraint indicates an error condition or a warning.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:severity.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:severity.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:severity.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
severity
Mappings
  • rim: N/A
value[x]O1..1BindingPatternElement id
Questionnaire.item:question.extension:targetConstraint.extension:severity.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Binding

ConstraintSeverity (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
error
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueCodecode
There are no (further) constraints on this element
Data type

code

expressionO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:expression
Short description

The invariant expression

Alternate names

extensions, user content

Definition

An expression providing a formal representation of the invariant condition.

Comments

The expression will have access to %target (the resource that was instantiated) and %definition (the definition for the instantiated resource).

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @validIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:expression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

humanO C1..1ExtensionElement id
Questionnaire.item:question.extension:targetConstraint.extension:human
Short description

Human-readable rule

Alternate names

extensions, user content

Definition

A free text expression of the rule to display to the user if the rule is violated.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @message
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
human
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:human.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

locationC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location
Short description

Relative path to elements

Alternate names

extensions, user content

Definition

Relative paths to the elements this rule is enforced against.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
location
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.extension:location.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/targetConstraint
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:targetConstraint.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
calculatedExpressionO C0..1Extension(Expression)Element id
Questionnaire.item:question.extension:calculatedExpression
Short description

Expression-determined initial value

Alternate names

extensions, user content

Definition

Calculated value for a question answer as determined by an evaluated expression.

Comments

Calculated value is updated as other answers in the QuestionnaireResponse are filled in.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
Mappings
  • rim: N/A
value[x]O1..1ExpressionElement id
Questionnaire.item:question.extension:calculatedExpression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.item:question.extension:calculatedExpression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.item:question.extension:calculatedExpression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • ontario-fhir-legacy: @formula
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:calculatedExpression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
initialExpressionO C0..1Extension(Expression)Element id
Questionnaire.item:question.extension:initialExpression
Short description

Expression-determined initial value

Alternate names

extensions, user content

Definition

Initial value for a question answer as determined by an evaluated expression.

Comments

Initial value is only calculated at the time the QuestionnaireResponse is first generated. If the expression returns coded data, it *SHALL return the information as either code or Coding, not CodeableConcept. If the expression returns elements of type 'code', when the user selects one or more candidates, the code will be matched against the allowed Codings (from answerValueSet, answerOptions, or answerExpression). In this case, it is an error if there is more than one Coding with the same code.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression
Mappings
  • rim: N/A
value[x]O0..1ExpressionElement id
Questionnaire.item:question.extension:initialExpression.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

Expression

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
descriptionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].description
Short description

Natural language description of the condition

Definition

A brief, natural language description of the condition that effectively communicates the intended semantics.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
nameΣ0..1id
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].name
Short description

Short name assigned to expression for reuse

Definition

A short name assigned to the expression to allow for multiple reuse of the expression in the context where it is defined.

Comments

RFC 4122

Data type

id

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
languageO Σ1..1codeBindingPatternElement id
Questionnaire.item:question.extension:initialExpression.value[x].language
Short description

text/cql | text/fhirpath | application/x-fhir-query | etc.

Definition

The media type of the language for the expression.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The media type of the expression language.

ExpressionLanguage (extensible)

Binding extensions
maxValueSethttp://www.rfc-editor.org/bcp/bcp13.txt
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Pattern
text/fhirpath
Mappings
  • rim: n/a
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
expressionO Σ1..1stringElement id
Questionnaire.item:question.extension:initialExpression.value[x].expression
Short description

Expression in specified language

Definition

An expression in the specified language that returns a value.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • ontario-fhir-legacy: text
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
referenceΣ0..1uri
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:initialExpression.value[x].reference
Short description

Where the expression is found

Definition

A URI that defines where the expression is found.

Comments

If both a reference and an expression is found, the reference SHALL point to the same expression.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
definitionExtractO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:definitionExtract
Short description

Details for a definition based resource extraction

Alternate names

extensions, user content

Definition

Specifies the resource type/profile for the definition based extraction of a resource and optionally the fullUrl and other Bundle.entry.request properties as needed.

Requirements

Enables definition-based extraction of captured data from the Questionnaire

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process (when extraction performed and required extraction metadata malformed)
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtract.extension:definition
Short description

Canonical URL of Resource type or profile to extract

Alternate names

extensions, user content

Definition

The resource type/profile canonical Url defining the resource type to be extracted.

Comments

The canonical URL for a base resource can be used if a specific profile is not required, e.g. http://hl7.org/fhir/StructureDefinition/Patient.

The value used here will be the prefix value (before the #) in any child items definition value.

Where a specific profile is used (not the base resource), then this canonical value will be set in the created resource's meta.profile collection.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtract.extension:definition.value[x]
Short description

Resource Profile canonical URL

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

fullUrlO C0..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl
Short description

A fhirpath expression to evaluate to populate the fullUrl property in the `Bundle.entry` (uri/string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the fullUrl property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fullUrl
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch
Short description

A fhirpath expression to evaluate to populate the ifNoneMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifModifiedSinceC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince
Short description

A fhirpath expression to evaluate to populate the ifModifiedSince property (instant result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifModifiedSince property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifModifiedSince
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifModifiedSince.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifMatchC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch
Short description

A fhirpath expression to evaluate to populate the ifMatch property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifMatch property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifMatch
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifMatch.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

ifNoneExistC0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist
Short description

A fhirpath expression to evaluate to populate the ifNoneExist property (string result)

Alternate names

extensions, user content

Definition

A fhirpath expression to evaluate to extract the value into the ifNoneExist property. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
ifNoneExist
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.extension:ifNoneExist.value[x]
Short description

Fhirpath Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtract.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
definitionExtractValueO C0..*Extension(Complex)Element id
Questionnaire.item:question.extension:definitionExtractValue
Short description

Fixed or calculated value to extract

Alternate names

extensions, user content

Definition

Provide either a fixed value, or an expression to evaluate, to be used as the value for the extracted resource's property based on the definition value.

Requirements

Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Complex)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
  • dev-1: Either `expression` or a `fixed-value` must be provided.
    extension('expression').value.exists() xor extension('fixed-value').value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC1..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
definitionO C1..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition
Short description

ElementDefintion to extract value into

Alternate names

extensions, user content

Definition

This is the profile canonical Url, followed by # and the element id, that the value should be extracted into.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
definition
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.value[x]
Short description

Profile canonical URL and element id

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueUriuri
There are no (further) constraints on this element
Data type

uri

expressionO C0..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression
Short description

An expression to evaluate

Alternate names

extensions, user content

Definition

An expression to evaluate to extract the value into the specified element definition. If no value is evaluated, then the element is not extracted.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
expression
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.value[x]
Short description

Expression value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

fixed-valueO C0..1ExtensionElement id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value
Short description

A fixed value to extract

Alternate names

extensions, user content

Definition

A fixed value to extract into the specified element definition.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
fixed-value
Mappings
  • rim: N/A
value[x]1..1
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value.value[x]
Short description

Fixed value

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
valueAddressAddress
There are no (further) constraints on this element
Data type

Address

valueAgeAge
There are no (further) constraints on this element
Data type

Age

valueAnnotationAnnotation
There are no (further) constraints on this element
Data type

Annotation

valueAttachmentAttachment
There are no (further) constraints on this element
Data type

Attachment

valueBase64Binarybase64Binary
There are no (further) constraints on this element
Data type

base64Binary

valueBooleanboolean
There are no (further) constraints on this element
Data type

boolean

valueCanonicalcanonical
There are no (further) constraints on this element
Data type

canonical

valueCodecode
There are no (further) constraints on this element
Data type

code

valueCodeableConceptCodeableConcept
There are no (further) constraints on this element
Data type

CodeableConcept

valueCodingCoding
There are no (further) constraints on this element
Data type

Coding

valueContactDetailContactDetail
There are no (further) constraints on this element
Data type

ContactDetail

valueContactPointContactPoint
There are no (further) constraints on this element
Data type

ContactPoint

valueContributorContributor
There are no (further) constraints on this element
Data type

Contributor

valueCountCount
There are no (further) constraints on this element
Data type

Count

valueDataRequirementDataRequirement
There are no (further) constraints on this element
Data type

DataRequirement

valueDatedate
There are no (further) constraints on this element
Data type

date

valueDateTimedateTime
There are no (further) constraints on this element
Data type

dateTime

valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

valueDistanceDistance
There are no (further) constraints on this element
Data type

Distance

valueDosageDosage
There are no (further) constraints on this element
Data type

Dosage

valueDurationDuration
There are no (further) constraints on this element
Data type

Duration

valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

valueHumanNameHumanName
There are no (further) constraints on this element
Data type

HumanName

valueIdid
There are no (further) constraints on this element
Data type

id

valueIdentifierIdentifier
There are no (further) constraints on this element
Data type

Identifier

valueInstantinstant
There are no (further) constraints on this element
Data type

instant

valueIntegerinteger
There are no (further) constraints on this element
Data type

integer

valueMarkdownmarkdown
There are no (further) constraints on this element
Data type

markdown

valueMetaMeta
There are no (further) constraints on this element
Data type

Meta

valueMoneyMoney
There are no (further) constraints on this element
Data type

Money

valueOidoid
There are no (further) constraints on this element
Data type

oid

valueParameterDefinitionParameterDefinition
There are no (further) constraints on this element
Data type

ParameterDefinition

valuePeriodPeriod
There are no (further) constraints on this element
Data type

Period

valuePositiveIntpositiveInt
There are no (further) constraints on this element
Data type

positiveInt

valueQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

valueRangeRange
There are no (further) constraints on this element
Data type

Range

valueRatioRatio
There are no (further) constraints on this element
Data type

Ratio

valueReferenceReference
There are no (further) constraints on this element
Data type

Reference

valueRelatedArtifactRelatedArtifact
There are no (further) constraints on this element
Data type

RelatedArtifact

valueSampledDataSampledData
There are no (further) constraints on this element
Data type

SampledData

valueSignatureSignature
There are no (further) constraints on this element
Data type

Signature

valueStringstring
There are no (further) constraints on this element
Data type

string

valueTimetime
There are no (further) constraints on this element
Data type

time

valueTimingTiming
There are no (further) constraints on this element
Data type

Timing

valueTriggerDefinitionTriggerDefinition
There are no (further) constraints on this element
Data type

TriggerDefinition

valueUnsignedIntunsignedInt
There are no (further) constraints on this element
Data type

unsignedInt

valueUriuri
There are no (further) constraints on this element
Data type

uri

valueUrlurl
There are no (further) constraints on this element
Data type

url

valueUsageContextUsageContext
There are no (further) constraints on this element
Data type

UsageContext

valueUuiduuid
There are no (further) constraints on this element
Data type

uuid

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:definitionExtractValue.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
extractAllocateIdO C0..*Extension(string)Element id
Questionnaire.item:question.extension:extractAllocateId
Short description

Variable name for the new uuid.

Alternate names

extensions, user content

Definition

Allocate a new uuid in a named variable for use in extraction. This is usually used to set the fullUrl for a resource in the output extraction bundle, and then referenced in other resources in that bundle (via fhirpath expressions). The format of the uuid will be urn:uuid:(uuid). e.g. urn:uuid:6f6177d2-13ee-4d27-b0e8-3eaf663dd031

Requirements

Generates a random UUID that can be used for cross-linking extracted resources

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:extractAllocateId.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:extractAllocateId.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:extractAllocateId.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.extension:extractAllocateId.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
valueStringstring
There are no (further) constraints on this element
Data type

string

itemPopulationContextO C0..1Extension(Expression)Element id
Questionnaire.item:question.extension:itemPopulationContext
Short description

Establishes mapping context for a Questionnaire item

Alternate names

extensions, user content

Definition

Specifies a query or other expression that identifies the resource (or set of resources for a repeating item) that should be used to support the population of this Questionnaire or Questionnaire.item on initial population. When populating the questionnaire, it will set the specified variable name to that resource repetition for use in processing items within the group.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(Expression)

Extension URL

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

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemPopulationContext.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemPopulationContext.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.extension:itemPopulationContext.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext
Mappings
  • rim: N/A
value[x]O0..1Element id
Questionnaire.item:question.extension:itemPopulationContext.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
valueExpressionExpression
There are no (further) constraints on this element
Data type

Expression

noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:question.extension:noteInfo
Short description

Question Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes produced from this question in the QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
linkIdO1..1stringElement id
Questionnaire.item:question.linkId
Short description

Unique id for item in questionnaire

Definition

An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.

Requirements

QuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.

Comments

This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .id
  • ontario-fhir-legacy: @ref
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
definitionO0..1uriElement id
Questionnaire.item:question.definition
Short description

ElementDefinition - details for the item

Definition

This element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:

  • code (ElementDefinition.code)
  • type (ElementDefinition.type)
  • required (ElementDefinition.min)
  • repeats (ElementDefinition.max)
  • maxLength (ElementDefinition.maxLength)
  • answerValueSet (ElementDefinition.binding)
  • options (ElementDefinition.binding).
Requirements

Used to support definition-based extraction

Comments

The uri refers to an ElementDefinition in a StructureDefinition and always starts with the canonical URL for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id Element.id. E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
  • ontario-fhir-legacy: @emrField
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engineSHALL:process
codeC0..*Coding
There are no (further) constraints on this element
Element id
Questionnaire.item:question.code
Short description

Corresponding concept for this item in a terminology

Definition

A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).

Requirements

Allows linking of groups of questions to formal terminologies.

Comments

The value may come from the ElementDefinition referred to by .definition.

Data type

Coding

Binding

Codes for questionnaires, groups and individual questions.

QuestionnaireQuestionCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-3

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: CE/CNE/CWE subset one of the sets of component 1-3 or 4-6
  • rim: CV
  • orim: fhir:Coding rdfs:subClassOf dt:CDCoding
  • rim: .code
prefix0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.prefix
Short description

E.g. "1(a)", "2.5.3"

Alternate names

label

Definition

A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.

Requirements

Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used.

Comments

These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for "display" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: Not supported
textO0..1stringElement id
Questionnaire.item:question.text
Short description

Primary text for the item

Definition

The name of a section, the text of a question or text content for a display item.

Comments

When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: .text
  • ontario-fhir-legacy: c
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
typeO1..1codeBindingElement id
Questionnaire.item:question.type
Short description

group | display | boolean | decimal | integer | date | dateTime +

Definition

The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.).

Requirements

Defines the format in which the user is to be prompted for the answer.

Comments

Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.

Data type

code

Binding

Distinguishes groups from questions and display text and indicates data type for questions.

ONGroupQuestionType (required)

Additional bindings
  • ONGroupQuestionType (minimum)
Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @type
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engineSHALL:process
enableWhenO ?! C0..*BackboneElementElement id
Questionnaire.item:question.enableWhen
Short description

Only allow data when

Definition

A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.

Requirements

Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions.

Comments

If multiple repetitions of this extension are present, the item should be enabled when the condition for any of the repetitions is true. I.e. treat "enableWhen"s as being joined by an "or" clause. This element is a modifier because if enableWhen is present for an item, "required" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • que-7: If the operator is 'exists', the value must be a boolean
    operator = 'exists' implies (answer is Boolean)
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @showIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableWhen.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableWhen.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableWhen.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
questionO1..1stringElement id
Questionnaire.item:question.enableWhen.question
Short description

Question that determines whether item is enabled

Definition

The linkId for the question whose answer (or lack of answer) governs whether this item is enabled.

Comments

If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the "ancestor" axis and then the "preceding" axis and then the "following" axis.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
operatorO1..1codeBindingElement id
Questionnaire.item:question.enableWhen.operator
Short description

exists | = | != | > | < | >= | <=

Definition

Specifies the criteria by which the question is enabled.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Binding

The criteria by which a question is enabled.

QuestionnaireItemOperator (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answer[x]O C1..1Element id
Questionnaire.item:question.enableWhen.answer[x]
Short description

Value for question comparison based on operator

Definition

A value that the referenced question is tested using the specified operator in order for the item to be enabled.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerBooleanbooleanData type

boolean

answerCodingCodingData type

Coding

answerDatedateData type

date

answerDateTimedateTimeData type

dateTime

answerDecimaldecimalData type

decimal

answerIntegerintegerData type

integer

answerQuantityQuantity
There are no (further) constraints on this element
Data type

Quantity

answerReferenceReference(Resource)
There are no (further) constraints on this element
Data type

Reference(Resource)

answerStringstringData type

string

answerTimetimeData type

time

enableBehaviorC0..1codeBinding
There are no (further) constraints on this element
Element id
Questionnaire.item:question.enableBehavior
Short description

all | any

Definition

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

Comments

This element must be specified if more than one enableWhen value is provided.

Data type

code

Binding

Controls how multiple enableWhen values are interpreted - whether all or any must be true.

EnableWhenBehavior (required)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-12

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
requiredO C0..1booleanElement id
Questionnaire.item:question.required
Short description

Whether the item must be included in data results

Definition

An indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire.

Comments

Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: validator/@allowEmpty=false, or validator/@type='MANDATORY'
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
repeatsO C0..1booleanElement id
Questionnaire.item:question.repeats
Short description

Whether the item may repeat

Definition

An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups.

Requirements

Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.

Comments

If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. "repeat the question") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.

The resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.

The value may come from the ElementDefinition referred to by .definition.

Meaning when missing

Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-6

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @type
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
readOnlyO C0..1booleanElement id
Questionnaire.item:question.readOnly
Short description

Don't allow human editing

Definition

An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.

Requirements

Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc.

Comments

The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-9

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: @type
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
maxLengthO C0..1integerElement id
Questionnaire.item:question.maxLength
Short description

No more than this many characters

Definition

The maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.

Comments

For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition.

Data type

integer

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-10

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: N/A
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: validatior/@validIf
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerValueSetO C0..1canonical(ValueSet)Element id
Questionnaire.item:question.answerValueSet
Short description

Valueset containing permitted answers

Definition

A reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.

Comments

LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.

Data type

canonical(ValueSet)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
answerOptionO C0..*BackboneElementElement id
Questionnaire.item:question.answerOption
Short description

Permitted answer

Definition

One of the permitted answers for a "choice" or "open-choice" question.

Comments

This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-4, que-5

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: choices/choice
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionO C0..*ExtensionElement id
Questionnaire.item:question.answerOption.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
noteInfoC0..1Extension(Complex)Element id
Questionnaire.item:question.answerOption.extension:noteInfo
Short description

Option Note Info

Alternate names

extensions, user content

Definition

Parameters that will determine how notes generated from this QuestionnaireResponse will be generated

Comments

This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.

Data type

Extension(Complex)

Extension URL

http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
textS C0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text
Short description

Note option text

Alternate names

extensions, user content

Definition

The text to display as the label for the option (if it's selected as an answer) in the 'note' produced from the completed QuestionnaireResponse

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
text
Mappings
  • rim: N/A
value[x]1..1stringElement id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: note
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
xhtmlC0..1Extension(string)
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].extension:xhtml
Short description

String equivalent with html markup

Alternate names

extensions, user content

Definition

This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing restrictions on XHTML content apply. Note that using markdown allows for greater flexibility of display.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension(string)

Extension URL

http://hl7.org/fhir/StructureDefinition/rendering-xhtml

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • rim: ED can be XHTML content
value0..1System.String
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x].value
Short description

Primitive value for string

Definition

Primitive value for string

Data type

System.String

Maximum string length

1048576

styleS C0..1Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style
Short description

Note option style/color

Alternate names

extensions, user content

Definition

Style (color) for this answer option when rendered in the 'note' produced from the completed QuestionnaireResponse

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
style
Mappings
  • rim: N/A
value[x]1..1Element id
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @flag
valueStringstring
There are no (further) constraints on this element
Data type

string

url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info
Mappings
  • rim: N/A
value[x]0..0
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.extension:noteInfo.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.answerOption.value[x]
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Slicing

Unordered, Open, by $this(Type)

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueDatedateData type

date

valueIntegerintegerData type

integer

valueStringstringData type

string

valueTimetimeData type

time

valueCodingO0..1CodingElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding
Short description

Answer value

Definition

A potential answer that's allowed as the answer to this question.

Comments

The data type of the value must agree with the item.type.

Data type

Coding

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
weightO C0..1Extension(decimal)Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight
Short description

Assigned Ordinal Value

Alternate names

extensions, user content

Definition

A numeric value that allows the comparison (less than, greater than) or other numerical manipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores. In the CodeSystem and ValueSet resources, the item weight is represented using the itemWeight property. In questionnaires, this extension goes on answerOption where possible.

Comments

Scores are commonly encountered in various clinical assessment scales. Assigning a value to a concept should generally be done in a formal code system that defines the value, or in an applicable value set for the concept, but some concepts do not have a formal definition (or are not even represented as a concept formally, especially in Questionnaires, so this extension is allowed to appear ouside those preferred contexts. Scores may even be assigned arbitrarily during use (hence, on Coding). The value may be constrained to an integer in some contexts of use. Todo: Scoring algorithms may also be defined directly, but how this is done is not yet defined

For questionnaires, see additional guidance and examples in the SDC implementation guide.

Data type

Extension(decimal)

Extension URL

http://hl7.org/fhir/StructureDefinition/itemWeight

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..0Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
url1..1uriFixed Value
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.url
Short description

identifies the meaning of the extension

Definition

Source of the definition for the extension code - a logical name or a URL.

Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Data type

uri

Fixed value
http://hl7.org/fhir/StructureDefinition/itemWeight
Mappings
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.value[x]
Short description

Value of extension

Definition

Value of extension - must be one of a constrained set of the data types (see Extensibility for a list).

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A
  • ontario-fhir-legacy: @points
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueDecimaldecimal
There are no (further) constraints on this element
Data type

decimal

systemO Σ1..1uriElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding.system
Short description

Identity of the terminology system

Definition

The identification of the code system that defines the meaning of the symbol in the code.

Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Data type

uri

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
versionΣ0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.version
Short description

Version of the system - if relevant

Definition

The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.

Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
codeO Σ1..1codeElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding.code
Short description

Symbol in syntax defined by the system

Definition

A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).

Requirements

Need to refer to a particular code in the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

code

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • ontario-fhir-legacy: @val
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
displayO Σ1..1stringElement id
Questionnaire.item:question.answerOption.value[x]:valueCoding.display
Short description

Representation defined by the system

Definition

A representation of the meaning of the code in the system, following the rules of the system.

Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Comments

Note that FHIR strings SHALL NOT exceed 1MB in size

Data type

string

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
  • ontario-fhir-legacy: display
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:display
userSelectedΣ0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.value[x]:valueCoding.userSelected
Short description

If this coding was chosen directly by the user

Definition

Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).

Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
initialSelected0..1boolean
There are no (further) constraints on this element
Element id
Questionnaire.item:question.answerOption.initialSelected
Short description

Whether option is selected by default

Definition

Indicates whether the answer value is selected when the list of possible answers is initially shown.

Comments

Use this instead of initial[v] if answerValueSet is present.

Meaning when missing

Only selected items explicitly marked to be selected

Data type

boolean

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
initialO C0..*BackboneElementElement id
Questionnaire.item:question.initial
Short description

Initial value(s) when item is first rendered

Definition

One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.

Requirements

In some workflows, having defaults saves time.

Comments

The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value.

Data type

BackboneElement

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1, que-8, que-13, onq-1, onq-2, onq-3, onq-4, onq-5, onq-6, onq-7

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
id0..1string
There are no (further) constraints on this element
Element id
Questionnaire.item:question.initial.id
Short description

Unique id for inter-element referencing

Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

Data type

string

Mappings
  • rim: n/a
extensionC0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.initial.extension
Short description

Additional content defined by implementations

Alternate names

extensions, user content

Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Slicing

Unordered, Open, by url(Value)

Extensions are always sliced by (at least) url

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
modifierExtensionΣ ?! C0..*Extension
There are no (further) constraints on this element
Element id
Questionnaire.item:question.initial.modifierExtension
Short description

Extensions that cannot be ignored even if unrecognized

Alternate names

extensions, user content, modifiers

Definition

May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Data type

Extension

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
value[x]O1..1Element id
Questionnaire.item:question.initial.value[x]
Short description

Actual value for initializing the question

Definition

The actual value to for an initial answer.

Comments

The type of the initial value must be consistent with the type of the item.

Binding

Allowed values to answer questions.

QuestionnaireAnswerCodes (example)

Conditions

The cardinality or value of this element may be affected by these constraints: ele-1

Constraints
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: n/a
  • rim: N/A - MIF rather than RIM level
  • ontario-fhir-legacy: text
Obligations
ActorCode
http://ontariohealth.ca/fhir/eforms/ActorDefinition/rendererSHALL:process
valueBooleanbooleanData type

boolean

valueCodingCodingData type

Coding

valueDatedateData type

date

valueDateTimedateTimeData type

dateTime

valueDecimaldecimalData type

decimal

valueIntegerintegerData type

integer

valueStringstringData type

string

valueTimetimeData type

time

valueUriuriData type

uri

itemC0..*see (item)
There are no (further) constraints on this element
Element id
Questionnaire.item:question.item
Short description

Nested questionnaire items

Definition

Text, questions and other groups to be nested beneath a question or group.

Requirements

Reports can consist of complex nested groups.

Comments

There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting.

Conditions

The cardinality or value of this element may be affected by these constraints: que-1

Mappings
  • rim: .outboundRelationship[typeCode=COMP].target

Table View

Questionnaire..
Questionnaire.contained..
Questionnaire.extension2..
Questionnaire.extension:versionAlgorithmExtension1..1
Questionnaire.extension:versionAlgorithm.value[x]..
Questionnaire.extension:versionAlgorithm.value[x]:valueCodingCoding0..1
Questionnaire.extension:entryModeExtension1..1
Questionnaire.extension:entryMode.value[x]..
Questionnaire.extension:assembledFromExtension0..1
Questionnaire.extension:launchContextExtension0..1
Questionnaire.extension:launchContext.extension:name..
Questionnaire.extension:launchContext.extension:name.value[x]..
Questionnaire.extension:launchContext.extension:type..
Questionnaire.extension:launchContext.extension:type.value[x]..
Questionnaire.extension:variableExtension0..*
Questionnaire.extension:variable.value[x]..
Questionnaire.extension:variable.value[x].language..
Questionnaire.extension:variable.value[x].expression1..
Questionnaire.extension:definitionExtractExtension0..*
Questionnaire.extension:definitionExtract.extension:definition..
Questionnaire.extension:definitionExtract.extension:definition.value[x]..
Questionnaire.extension:definitionExtract.extension:fullUrl..
Questionnaire.extension:definitionExtract.extension:fullUrl.value[x]..
Questionnaire.extension:definitionExtractValueExtension0..*
Questionnaire.extension:definitionExtractValue.extension:definition..
Questionnaire.extension:definitionExtractValue.extension:definition.value[x]..
Questionnaire.extension:definitionExtractValue.extension:expression..
Questionnaire.extension:definitionExtractValue.extension:expression.value[x]..
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].language..
Questionnaire.extension:definitionExtractValue.extension:expression.value[x].expression1..
Questionnaire.extension:definitionExtractValue.extension:fixed-value..
Questionnaire.extension:extractAllocateIdExtension0..*
Questionnaire.extension:extractAllocateId.value[x]..
Questionnaire.extension:responseRenderingLiquidExtension0..1
Questionnaire.extension:responseRenderingLiquid.value[x]1..
Questionnaire.extension:responseRenderingLiquid.value[x].reference1..
Questionnaire.url1..
Questionnaire.version1..
Questionnaire.title..
Questionnaire.title.extension..
Questionnaire.title.extension:short-stringExtension0..1
Questionnaire.status..
Questionnaire.experimental1..
Questionnaire.subjectType1..1
Questionnaire.date..
Questionnaire.publisher..
Questionnaire.description..
Questionnaire.description.extension..
Questionnaire.description.extension:short-stringExtension0..1
Questionnaire.useContext..
Questionnaire.useContext:focus0..*
Questionnaire.useContext:focus.code..
Questionnaire.useContext:focus.value[x]CodeableConcept..
Questionnaire.useContext.value[x].coding..
Questionnaire.useContext:focus.value[x].coding.code..
Questionnaire.useContext:focus.value[x].text..
Questionnaire.useContext:topic0..*
Questionnaire.useContext:topic.code..
Questionnaire.useContext:topic.value[x]CodeableConcept..
Questionnaire.useContext:topic.value[x].text..
Questionnaire.copyright..
Questionnaire.approvalDate..
Questionnaire.effectivePeriod..
Questionnaire.effectivePeriod.start..
Questionnaire.effectivePeriod.end..
Questionnaire.code..
Questionnaire.item..
Questionnaire.item.extension..
Questionnaire.item.extension:renderStyleExtension0..1
Questionnaire.item.extension:renderStyle.value[x]..
Questionnaire.item.extension:supportHyperlinkExtension0..1
Questionnaire.item.extension:supportHyperLink.extension:label..
Questionnaire.item.extension:supportHyperLink.extension:link..
Questionnaire.item.extension:enableWhenExpressionExtension0..1
Questionnaire.item.extension:enableWhenExpression.value[x]1..
Questionnaire.item.extension:hiddenExtension0..1
Questionnaire.item.extension:hidden.value[x]..
Questionnaire.item.extension:variableExtension0..*
Questionnaire.item.extension:variable.value[x]..
Questionnaire.item.linkId..
Questionnaire.item.definition..
Questionnaire.item.text..
Questionnaire.item.text.extension..
Questionnaire.item.text.extension:renderStyleExtension0..1
Questionnaire.item.text.extension:renderStyle.value[x]..
Questionnaire.item.text.extension:translationExtension0..*
Questionnaire.item.text.extension:translation.extension:lang..
Questionnaire.item.text.extension:translation.extension:lang.value[x]..
Questionnaire.item.text.extension:translation.extension:content..
Questionnaire.item.text.extension:translation.extension:content.value[x]string..
Questionnaire.item.text.extension:xhtmlExtension0..1
Questionnaire.item.text.extension:xhtml.value[x]..
Questionnaire.item.text.extension:xhtml.value[x].extension:translationExtension0..*
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang..
Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content..
Questionnaire.item.enableWhen..
Questionnaire.item.enableWhen.question..
Questionnaire.item.enableWhen.operator..
Questionnaire.item.enableWhen.answer[x]boolean | Coding | date | dateTime | decimal | integer | string | time..
Questionnaire.item:group0..*
Questionnaire.item:group.extension:preferredTerminologyServerExtension0..*
Questionnaire.item:group.extension:collapsibleExtension0..1
Questionnaire.item:group.extension:collapsible.value[x]1..
Questionnaire.item:group.extension:itemControlExtension0..1
Questionnaire.item:group.extension:itemControl.value[x]..
Questionnaire.item:group.extension:targetConstraintExtension0..*
Questionnaire.item:group.extension:targetConstraint.extension:key..
Questionnaire.item:group.extension:targetConstraint.extension:severity..
Questionnaire.item:group.extension:targetConstraint.extension:severity.value[x]..
Questionnaire.item:group.extension:targetConstraint.extension:expression..
Questionnaire.item:group.extension:targetConstraint.extension:human..
Questionnaire.item.extension:definitionExtractExtension0..*
Questionnaire.item.extension:definitionExtract.extension:definition..
Questionnaire.item.extension:definitionExtract.extension:definition.value[x]..
Questionnaire.item.extension:definitionExtract.extension:fullUrl..
Questionnaire.item.extension:definitionExtract.extension:fullUrl.value[x]..
Questionnaire.item.extension:definitionExtractValueExtension0..*
Questionnaire.item.extension:definitionExtractValue.extension:definition..
Questionnaire.item.extension:definitionExtractValue.extension:definition.value[x]..
Questionnaire.item.extension:definitionExtractValue.extension:expression..
Questionnaire.item.extension:definitionExtractValue.extension:expression.value[x]..
Questionnaire.item.extension:definitionExtractValue.extension:fixed-value..
Questionnaire.item.extension:extractAllocateIdExtension0..*
Questionnaire.item.extension:extractAllocateId.value[x]..
Questionnaire.item.extension:itemPopulationContextExtension0..1
Questionnaire.item.extension:itemPopulationContext.value[x]..
Questionnaire.item:group.extension:noteInfoExtension0..1
Questionnaire.item:group.type..
Questionnaire.item:group.required..
Questionnaire.item:group.repeats..
Questionnaire.item:group.item..
Questionnaire.item:display0..*
Questionnaire.item:display.extension:noteInfoExtension0..1
Questionnaire.item:display.text..
Questionnaire.item:display.text.extension:expressionExtension0..1
Questionnaire.item:display.text.extension:expression.value[x]..
Questionnaire.item:display.text.extension:expression.value[x].language..
Questionnaire.item:display.text.extension:expression.value[x].expression1..
Questionnaire.item:display.type..
Questionnaire.item:question0..*
Questionnaire.item:question.extension:answerOptionsToggleExtension0..*
Questionnaire.item:question.extension:answerOptionsToggle.extension:option..
Questionnaire.item:question.extension:answerOptionsToggle.extension:option.value[x]..
Questionnaire.item:question.extension:answerOptionsToggle.extension:expression..
Questionnaire.item:question.extension:preferredTerminologyServerExtension0..*
Questionnaire.item.extension:preferredTerminologyServer.value[x]..
Questionnaire.item:question.extension:minLengthExtension0..1
Questionnaire.item:question.extension:maxSizeExtension0..1
Questionnaire.item:question.extension:mimeTypeExtension0..*
Questionnaire.item:question.extension:mimeType.value[x]..
Questionnaire.item:question.extension:minValueExtension0..1
Questionnaire.item:question.extension:maxValueExtension0..1
Questionnaire.item:question.extension:maxValue.value[x]date | dateTime | decimal | integer | time..
Questionnaire.item:question.extension:choiceOrientationExtension0..1
Questionnaire.item:question.extension:choiceOrientation.value[x]..
Questionnaire.item:question.extension:itemControlExtension0..1
Questionnaire.item:question.extension:itemControl.value[x]..
Questionnaire.item:question.extension:choiceDiagramExtension0..1
Questionnaire.item:question.extension:choiceDiagram.value[x]..
Questionnaire.item:question.extension:minOccursExtension0..1
Questionnaire.item:question.extension:minOccurs.value[x]..
Questionnaire.item:question.extension:maxOccursExtension0..1
Questionnaire.item:question.extension:maxOccurs.value[x]..
Questionnaire.item:question.extension:targetConstraintExtension0..*
Questionnaire.item:question.extension:targetConstraint.extension:key..
Questionnaire.item:question.extension:targetConstraint.extension:severity..
Questionnaire.item:question.extension:targetConstraint.extension:severity.value[x]..
Questionnaire.item:question.extension:targetConstraint.extension:expression..
Questionnaire.item:question.extension:targetConstraint.extension:human..
Questionnaire.item:question.extension:calculatedExpressionExtension0..1
Questionnaire.item:question.extension:calculatedExpression.value[x]..
Questionnaire.item:question.extension:calculatedExpression.value[x].language..
Questionnaire.item:question.extension:calculatedExpression.value[x].expression1..
Questionnaire.item:question.extension:initialExpressionExtension0..1
Questionnaire.item:question.extension:initialExpression.value[x]..
Questionnaire.item:question.extension:initialExpression.value[x].language..
Questionnaire.item:question.extension:initialExpression.value[x].expression1..
Questionnaire.item:question.extension:definitionExtractExtension0..*
Questionnaire.item:question.extension:definitionExtract.extension:definition..
Questionnaire.item:question.extension:definitionExtract.extension:definition.value[x]..
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl..
Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.value[x]..
Questionnaire.item:question.extension:definitionExtractValueExtension0..*
Questionnaire.item:question.extension:definitionExtractValue.extension:definition..
Questionnaire.item:question.extension:definitionExtractValue.extension:definition.value[x]..
Questionnaire.item:question.extension:definitionExtractValue.extension:expression..
Questionnaire.item:question.extension:definitionExtractValue.extension:expression.value[x]..
Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value..
Questionnaire.item:question.extension:extractAllocateIdExtension0..*
Questionnaire.item:question.extension:extractAllocateId.value[x]..
Questionnaire.item:question.extension:itemPopulationContextExtension0..1
Questionnaire.item:question:question.extension:itemPopulationContext.value[x]..
Questionnaire.item:question.extension:noteInfoExtension0..1
Questionnaire.item:question.definition..
Questionnaire.item:question.type..
Questionnaire.item:question.required..
Questionnaire.item:question.repeats..
Questionnaire.item:question.readOnly..
Questionnaire.item:question.maxLength..
Questionnaire.item:question.answerValueSet..
Questionnaire.item:question.answerOption..
Questionnaire.item:question.answerOption.extension..
Questionnaire.item:question.answerOption.extension:noteInfoExtension0..1
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text..
Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x]..
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style..
Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.value[x]..
Questionnaire.item:question.answerOption.value[x]Coding | date | integer | string | time..
Questionnaire.item:question.answerOption.value[x]:valueCodingCoding0..1
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weightExtension0..1
Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.value[x]..
Questionnaire.item:question.answerOption.value[x]:valueCoding.system1..
Questionnaire.item:question.answerOption.value[x]:valueCoding.code1..
Questionnaire.item:question.answerOption.value[x]:valueCoding.display1..
Questionnaire.item:question.initial..
Questionnaire.item:question.initial.value[x]boolean | Coding | date | dateTime | decimal | integer | string | time | uri..

JSON View

{
"resourceType": "StructureDefinition",
"id": "sdc-questionnaire",
"url": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire",
"name": "OntarioSDCQuestionnaire",
"title": "Ontario SDC Questionnaire profile",
"status": "active",
"description": "Defines additional the Questionnaire requirements to align with used capabilities of the legacy Ontario form tool.",
"fhirVersion": "4.0.1",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"uri": "https:ontariohealth.ca/legacy-forms-library",
"name": "Ontario Legacy Forms"
}
],
"kind": "resource",
"abstract": false,
"type": "Questionnaire",
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Questionnaire",
"derivation": "constraint",
"differential": {
"element": [
{
"id": "Questionnaire",
"path": "Questionnaire",
"short": "Ontario SDC Questionnaire profile",
"definition": "Defines additional the Questionnaire requirements to align with used capabilities of the legacy Ontario form tool.",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform"
}
]
},
{
"id": "Questionnaire.contained",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generator"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.contained",
"requirements": "Used for contained Binary instances for images and Library instances for Liquid rendering templates"
},
{
"id": "Questionnaire.extension",
"path": "Questionnaire.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
},
"min": 2
},
{
"id": "Questionnaire.extension:versionAlgorithm",
"path": "Questionnaire.extension",
"sliceName": "versionAlgorithm",
"min": 1,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/5.0/StructureDefinition/extension-Questionnaire.versionAlgorithm"
]
}
]
},
{
"id": "Questionnaire.extension:versionAlgorithm.value[x]",
"path": "Questionnaire.extension.value[x]",
"slicing": {
"discriminator": [
{
"type": "type",
"path": "$this"
}
],
"ordered": false,
"rules": "open"
}
},
{
"id": "Questionnaire.extension:versionAlgorithm.value[x]:valueCoding",
"path": "Questionnaire.extension.value[x]",
"sliceName": "valueCoding",
"min": 0,
"max": "1",
"type": [
{
"code": "Coding"
}
],
"patternCoding": {
"system": "http://hl7.org/fhir/version-algorithm",
"code": "semver"
}
},
{
"id": "Questionnaire.extension:entryMode",
"path": "Questionnaire.extension",
"sliceName": "entryMode",
"min": 1,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode"
]
}
]
},
{
"id": "Questionnaire.extension:entryMode.value[x]",
"path": "Questionnaire.extension.value[x]",
"patternCode": "random"
},
{
"id": "Questionnaire.extension:assembledFrom",
"path": "Questionnaire.extension",
"sliceName": "assembledFrom",
"requirements": "Indicates what common sources the items in this were drawn from. Used for maintenance purposes, but not relevant in the rendering of the Questionnaire.\nNOTE: the max cardinality should be *. Will change once we can depend on the official SDC release rather than the ballot release.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-assembledFrom"
]
}
]
},
{
"id": "Questionnaire.extension:launchContext",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension",
"sliceName": "launchContext",
"requirements": "Needed to support population and logic based on patient age, gender, etc.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
]
}
]
},
{
"id": "Questionnaire.extension:launchContext.extension:name",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension",
"sliceName": "name"
},
{
"id": "Questionnaire.extension:launchContext.extension:name.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension.value[x]",
"binding": {
"extension": [
{
"extension": [
{
"url": "key",
"valueId": "min"
},
{
"url": "purpose",
"valueCode": "minimum"
},
{
"url": "valueSet",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ValueSet/launch-contexts"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
}
],
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/launch-contexts"
}
},
{
"id": "Questionnaire.extension:launchContext.extension:type",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension",
"sliceName": "type"
},
{
"id": "Questionnaire.extension:launchContext.extension:type.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension.value[x]",
"binding": {
"extension": [
{
"extension": [
{
"url": "key",
"valueId": "min"
},
{
"url": "purpose",
"valueCode": "minimum"
},
{
"url": "valueSet",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ValueSet/launch-context-resources"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
}
],
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/launch-context-resources"
}
},
{
"id": "Questionnaire.extension:variable",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension",
"sliceName": "variable",
"requirements": "Allows capturing answers or totals for use in other logic",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/variable"
]
}
]
},
{
"id": "Questionnaire.extension:variable.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.value[x]"
},
{
"id": "Questionnaire.extension:variable.value[x].language",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.value[x].language"
},
{
"id": "Questionnaire.extension:variable.value[x].expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.value[x].expression",
"min": 1
},
{
"id": "Questionnaire.extension:definitionExtract",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension",
"sliceName": "definitionExtract",
"requirements": "Enables definition-based extraction of captured data from the Questionnaire",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract"
]
}
]
},
{
"id": "Questionnaire.extension:definitionExtract.extension:definition",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension",
"sliceName": "definition"
},
{
"id": "Questionnaire.extension:definitionExtract.extension:definition.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension.value[x]"
},
{
"id": "Questionnaire.extension:definitionExtract.extension:fullUrl",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension",
"sliceName": "fullUrl"
},
{
"id": "Questionnaire.extension:definitionExtract.extension:fullUrl.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension.value[x]"
},
{
"id": "Questionnaire.extension:definitionExtractValue",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension",
"sliceName": "definitionExtractValue",
"requirements": "Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"
]
}
]
},
{
"id": "Questionnaire.extension:definitionExtractValue.extension:definition",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension",
"sliceName": "definition"
},
{
"id": "Questionnaire.extension:definitionExtractValue.extension:definition.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension.value[x]"
},
{
"id": "Questionnaire.extension:definitionExtractValue.extension:expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension",
"sliceName": "expression"
},
{
"id": "Questionnaire.extension:definitionExtractValue.extension:expression.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension.value[x]"
},
{
"id": "Questionnaire.extension:definitionExtractValue.extension:expression.value[x].language",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension.value[x].language",
"patternCode": "text/fhirpath"
},
{
"id": "Questionnaire.extension:definitionExtractValue.extension:expression.value[x].expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension.value[x].expression",
"min": 1
},
{
"id": "Questionnaire.extension:definitionExtractValue.extension:fixed-value",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.extension",
"sliceName": "fixed-value"
},
{
"id": "Questionnaire.extension:extractAllocateId",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension",
"sliceName": "extractAllocateId",
"requirements": "Generates a random UUID that can be used for cross-linking extracted resources",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId"
]
}
]
},
{
"id": "Questionnaire.extension:extractAllocateId.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.value[x]"
},
{
"id": "Questionnaire.extension:responseRenderingLiquid",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generator"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension",
"sliceName": "responseRenderingLiquid",
"comment": "This may refer to a contained Library or a Library available from a FHIR server",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-responseRenderingLiquid"
]
}
]
},
{
"id": "Questionnaire.extension:responseRenderingLiquid.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generator"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.value[x]",
"min": 1
},
{
"id": "Questionnaire.extension:responseRenderingLiquid.value[x].reference",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/qr-narrative-generator"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.extension.value[x].reference",
"min": 1
},
{
"id": "Questionnaire.url",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.url",
"min": 1,
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform/@ref",
"comment": "Will need to place a URI root on the front of the ref to make it a proper URI"
}
]
},
{
"id": "Questionnaire.version",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.version",
"min": 1,
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform/@revision"
}
]
},
{
"id": "Questionnaire.title",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.title",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform/@title"
}
]
},
{
"id": "Questionnaire.title.extension",
"path": "Questionnaire.title.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
}
},
{
"id": "Questionnaire.title.extension:short-string",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.title.extension",
"sliceName": "short-string",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform/@shortForm"
}
]
},
{
"id": "Questionnaire.status",
"path": "Questionnaire.status",
"patternCode": "active"
},
{
"id": "Questionnaire.experimental",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.experimental",
"requirements": "Used to differentiate Questionnaires defined for 'testing' purposes from those that are intended for actual use with patients",
"min": 1
},
{
"id": "Questionnaire.subjectType",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.subjectType",
"min": 1,
"max": "1",
"patternCode": "Patient"
},
{
"id": "Questionnaire.date",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.date"
},
{
"id": "Questionnaire.publisher",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.publisher"
},
{
"id": "Questionnaire.description",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.description",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform/description"
}
]
},
{
"id": "Questionnaire.description.extension",
"path": "Questionnaire.description.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
}
},
{
"id": "Questionnaire.description.extension:short-string",
"path": "Questionnaire.description.extension",
"sliceName": "short-string",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/core-short-string"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform/tagline"
}
]
},
{
"id": "Questionnaire.useContext",
"path": "Questionnaire.useContext",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "code"
}
],
"rules": "closed"
}
},
{
"id": "Questionnaire.useContext:focus",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.useContext",
"sliceName": "focus",
"min": 0,
"max": "*"
},
{
"id": "Questionnaire.useContext:focus.code",
"path": "Questionnaire.useContext.code",
"patternCoding": {
"system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
"code": "focus"
}
},
{
"id": "Questionnaire.useContext:focus.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.useContext.value[x]",
"type": [
{
"code": "CodeableConcept"
}
],
"binding": {
"extension": [
{
"extension": [
{
"url": "key",
"valueId": "min"
},
{
"url": "purpose",
"valueCode": "minimum"
},
{
"url": "valueSet",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ValueSet/topic-codes"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
}
],
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/topic-codes"
}
},
{
"id": "Questionnaire.useContext:focus.value[x].coding.code",
"path": "Questionnaire.useContext.value[x].coding.code",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform/tags/tag"
}
]
},
{
"id": "Questionnaire.useContext:focus.value[x].text",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.useContext.value[x].text",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform/keywords",
"comment": "Each keyword will be a separate useContext repetition"
}
]
},
{
"id": "Questionnaire.useContext:topic",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.useContext",
"sliceName": "topic",
"min": 0,
"max": "*"
},
{
"id": "Questionnaire.useContext:topic.code",
"path": "Questionnaire.useContext.code",
"patternCoding": {
"system": "http://terminology.hl7.org/CodeSystem/usage-context-type",
"code": "topic"
}
},
{
"id": "Questionnaire.useContext:topic.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.useContext.value[x]",
"type": [
{
"code": "CodeableConcept"
}
]
},
{
"id": "Questionnaire.useContext:topic.value[x].text",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.useContext.value[x].text"
},
{
"id": "Questionnaire.copyright",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.copyright"
},
{
"id": "Questionnaire.approvalDate",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.approvalDate"
},
{
"id": "Questionnaire.effectivePeriod",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.effectivePeriod"
},
{
"id": "Questionnaire.effectivePeriod.start",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.effectivePeriod.start",
"short": "When to start using form"
},
{
"id": "Questionnaire.effectivePeriod.end",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.effectivePeriod.end",
"short": "When to stop using form"
},
{
"id": "Questionnaire.code",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHOULD:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.code"
},
{
"id": "Questionnaire.item",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "type"
}
],
"rules": "closed"
},
"constraint": [
{
"key": "onq-9",
"severity": "error",
"human": "All display items must have text or note details",
"expression": "type='display' implies text.exists() or extension('http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info').exists()",
"xpath": "f:type/@value!='display' or exists(f:text) or exists(f:extension[@url='http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info'])",
"source": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eform/mainSection, section, item",
"comment": "Will often not be mapped. Only needed if root section has a title or rendering expectations"
}
]
},
{
"id": "Questionnaire.item.extension",
"path": "Questionnaire.item.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
}
},
{
"id": "Questionnaire.item.extension:renderStyle",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "renderStyle",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/rendering-style"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "hints",
"comment": "for color and border-based hints ('GREY_BG', 'WHITE_BG', 'BORDER')"
}
]
},
{
"id": "Questionnaire.item.extension:renderStyle.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]",
"binding": {
"extension": [
{
"extension": [
{
"url": "key",
"valueId": "min"
},
{
"url": "purpose",
"valueCode": "minimum"
},
{
"url": "valueSet",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ValueSet/item-styles"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
}
],
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/item-styles"
},
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "hint",
"comment": "Converted to styles and concatenated together"
}
]
},
{
"id": "Questionnaire.item.extension:supportHyperlink",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "supportHyperlink",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/questionnaire-supportHyperlink"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "hyperlink"
}
]
},
{
"id": "Questionnaire.item.extension:supportHyperLink.extension:label",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "label",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "hyperlink/@text"
}
]
},
{
"id": "Questionnaire.item.extension:supportHyperLink.extension:link",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "link",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "hyperlink/@url"
}
]
},
{
"id": "Questionnaire.item.extension:enableWhenExpression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "enableWhenExpression",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-enableWhenExpression"
]
}
]
},
{
"id": "Questionnaire.item.extension:enableWhenExpression.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]",
"min": 1,
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@showIf",
"comment": "For complex expressions that can't be expressed with enableWhen repetitions or hidden"
}
]
},
{
"id": "Questionnaire.item.extension:hidden",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "hidden",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/questionnaire-hidden"
]
}
]
},
{
"id": "Questionnaire.item.extension:hidden.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@showIf, @showIf",
"comment": "If fixed to 'false'"
}
]
},
{
"id": "Questionnaire.item.extension:variable",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "variable",
"requirements": "Allows capturing answers or totals for use in other logic",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/variable"
]
}
]
},
{
"id": "Questionnaire.item.extension:variable.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item.linkId",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.linkId",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@ref"
}
]
},
{
"id": "Questionnaire.item.definition",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.definition",
"requirements": "Used to support definition-based extraction"
},
{
"id": "Questionnaire.item.text",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "c"
}
]
},
{
"id": "Questionnaire.item.text.extension",
"path": "Questionnaire.item.text.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
}
},
{
"id": "Questionnaire.item.text.extension:renderStyle",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension",
"sliceName": "renderStyle",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/rendering-style"
]
}
]
},
{
"id": "Questionnaire.item.text.extension:renderStyle.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.value[x]",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "eFormSection/@headerStyle"
}
]
},
{
"id": "Questionnaire.item.text.extension:translation",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension",
"sliceName": "translation",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/translation"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "/eform/stringTranslations/str[current().contains(@ref)]"
}
]
},
{
"id": "Questionnaire.item.text.extension:translation.extension:lang",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.extension",
"sliceName": "lang"
},
{
"id": "Questionnaire.item.text.extension:translation.extension:lang.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.extension.value[x]",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@locale"
}
]
},
{
"id": "Questionnaire.item.text.extension:translation.extension:content",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.extension",
"sliceName": "content"
},
{
"id": "Questionnaire.item.text.extension:translation.extension:content.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.extension.value[x]",
"type": [
{
"code": "string"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "text()"
}
]
},
{
"id": "Questionnaire.item.text.extension:xhtml",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension",
"sliceName": "xhtml",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/rendering-xhtml"
]
}
]
},
{
"id": "Questionnaire.item.text.extension:xhtml.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.value[x]",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "items/picture, refs/ref",
"comment": "For picture: <img src='@fileRef' height='@height' width='@width'/>. For ref: text followed by <a href=''></a> for ref (must be in 'footer' group)"
}
]
},
{
"id": "Questionnaire.item.text.extension:xhtml.value[x].extension:translation",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.value[x].extension",
"sliceName": "translation",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/translation"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "/eform/stringTranslations/str[current().contains(@ref)]"
}
]
},
{
"id": "Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:lang",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.value[x].extension.extension",
"sliceName": "lang"
},
{
"id": "Questionnaire.item.text.extension:xhtml.value[x].extension:translation.extension:content",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.value[x].extension.extension",
"sliceName": "content"
},
{
"id": "Questionnaire.item.enableWhen",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.enableWhen",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@showIf",
"comment": "For simple expressions (comparisons with answer values or answer exists, separated by all && or all ||)"
}
]
},
{
"id": "Questionnaire.item.enableWhen.question",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.enableWhen.question"
},
{
"id": "Questionnaire.item.enableWhen.operator",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.enableWhen.operator"
},
{
"id": "Questionnaire.item.enableWhen.answer[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.enableWhen.answer[x]",
"type": [
{
"code": "boolean"
},
{
"code": "decimal"
},
{
"code": "integer"
},
{
"code": "date"
},
{
"code": "dateTime"
},
{
"code": "time"
},
{
"code": "string"
},
{
"code": "Coding"
}
]
},
{
"id": "Questionnaire.item:group",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item",
"sliceName": "group",
"min": 0,
"max": "*"
},
{
"id": "Questionnaire.item:group.extension:preferredTerminologyServer",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "preferredTerminologyServer",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer"
]
}
]
},
{
"id": "Questionnaire.item:group.extension:collapsible",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "collapsible",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-collapsible"
]
}
]
},
{
"id": "Questionnaire.item:group.extension:collapsible.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]",
"min": 1
},
{
"id": "Questionnaire.item:group.extension:itemControl",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "itemControl",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"
]
}
]
},
{
"id": "Questionnaire.item:group.extension:itemControl.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]",
"binding": {
"extension": [
{
"extension": [
{
"url": "key",
"valueId": "min"
},
{
"url": "purpose",
"valueCode": "minimum"
},
{
"url": "valueSet",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ValueSet/group-item-control"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
}
],
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/group-item-control"
}
},
{
"id": "Questionnaire.item:group.extension:targetConstraint",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "targetConstraint",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/targetConstraint"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "validator",
"comment": "If not handled with required or other element/extension"
}
]
},
{
"id": "Questionnaire.item:group.extension:targetConstraint.extension:key",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "key"
},
{
"id": "Questionnaire.item:group.extension:targetConstraint.extension:severity",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "severity"
},
{
"id": "Questionnaire.item:group.extension:targetConstraint.extension:severity.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]",
"patternCode": "error"
},
{
"id": "Questionnaire.item:group.extension:targetConstraint.extension:expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "expression",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@validIf",
"comment": "Convert to FHIRPath"
}
]
},
{
"id": "Questionnaire.item:group.extension:targetConstraint.extension:human",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "human",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@message"
}
]
},
{
"id": "Questionnaire.item.extension:definitionExtract",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process (when extraction performed and required extraction metadata malformed)"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "definitionExtract",
"requirements": "Enables definition-based extraction of captured data from the Questionnaire",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract"
]
}
]
},
{
"id": "Questionnaire.item.extension:definitionExtract.extension:definition",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "definition"
},
{
"id": "Questionnaire.item.extension:definitionExtract.extension:definition.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]"
},
{
"id": "Questionnaire.item.extension:definitionExtract.extension:fullUrl",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "fullUrl"
},
{
"id": "Questionnaire.item.extension:definitionExtract.extension:fullUrl.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]"
},
{
"id": "Questionnaire.item.extension:definitionExtractValue",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "definitionExtractValue",
"requirements": "Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"
]
}
]
},
{
"id": "Questionnaire.item.extension:definitionExtractValue.extension:definition",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "definition"
},
{
"id": "Questionnaire.item.extension:definitionExtractValue.extension:definition.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]"
},
{
"id": "Questionnaire.item.extension:definitionExtractValue.extension:expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "expression"
},
{
"id": "Questionnaire.item.extension:definitionExtractValue.extension:expression.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]"
},
{
"id": "Questionnaire.item.extension:definitionExtractValue.extension:fixed-value",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "fixed-value"
},
{
"id": "Questionnaire.item.extension:extractAllocateId",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "extractAllocateId",
"requirements": "Generates a random UUID that can be used for cross-linking extracted resources",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId"
]
}
]
},
{
"id": "Questionnaire.item.extension:extractAllocateId.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item.extension:itemPopulationContext",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "itemPopulationContext",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext"
]
}
]
},
{
"id": "Questionnaire.item.extension:itemPopulationContext.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item:group.extension:noteInfo",
"path": "Questionnaire.item.extension",
"sliceName": "noteInfo",
"comment": "This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/group-note-info"
]
}
]
},
{
"id": "Questionnaire.item:group.type",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.type",
"patternCode": "group"
},
{
"id": "Questionnaire.item:group.required",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.required",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "validator/@allowEmpty=false, or validator/@type='MANDATORY'"
}
]
},
{
"id": "Questionnaire.item:group.repeats",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.repeats"
},
{
"id": "Questionnaire.item:group.item",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.item",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "items/*"
}
]
},
{
"id": "Questionnaire.item:display",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item",
"sliceName": "display",
"min": 0,
"max": "*"
},
{
"id": "Questionnaire.item:display.extension:noteInfo",
"path": "Questionnaire.item.extension",
"sliceName": "noteInfo",
"comment": "This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/display-note-info"
]
}
]
},
{
"id": "Questionnaire.item:display.text",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text"
},
{
"id": "Questionnaire.item:display.text.extension:expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension",
"sliceName": "expression",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/cqf-expression"
]
}
]
},
{
"id": "Questionnaire.item:display.text.extension:expression.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.value[x]"
},
{
"id": "Questionnaire.item:display.text.extension:expression.value[x].language",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.value[x].language",
"patternCode": "text/fhirpath"
},
{
"id": "Questionnaire.item:display.text.extension:expression.value[x].expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.text.extension.value[x].expression",
"min": 1,
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "hints",
"comment": "@formula"
}
]
},
{
"id": "Questionnaire.item:display.type",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.type",
"patternCode": "display"
},
{
"id": "Questionnaire.item:question",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item",
"sliceName": "question",
"min": 0,
"max": "*",
"constraint": [
{
"key": "onq-1",
"severity": "error",
"human": "minLength and maxLength are only allowed when type is string or text",
"expression": "extension('http://hl7.org/fhir/StructureDefinition/minLength').exists() or maxLength.exists() implies type='string' or type='text'",
"source": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire"
},
{
"key": "onq-2",
"severity": "error",
"human": "maxSize and mimeType are only permitted when type is 'attachment'",
"expression": "extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() or extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() implies type='attachment'",
"source": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire"
},
{
"key": "onq-3",
"severity": "warning",
"human": "maxSize and mimeType SHOULD both be declared when type is 'attachment'",
"expression": "type='attachment' implies extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists() and extension('http://hl7.org/fhir/StructureDefinition/maxSize').exists()",
"source": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire"
},
{
"key": "onq-4",
"severity": "error",
"human": "minValue and maxValue are only permitted when type is date, dateTime, decimal, integer, or time",
"expression": "extension('http://hl7.org/fhir/StructureDefinition/minValue').exists() or extension('http://hl7.org/fhir/StructureDefinition/maxValue').exists() implies type='date' or type='dateTime' or type='decimal' or type='integer' or type='time'",
"source": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire"
},
{
"key": "onq-5",
"severity": "warning",
"human": "minValue and maxValue SHOULD be specified when type is date, dateTime, decimal, or integer",
"expression": "type='date' or type='dateTime' or type='decimal' or type='integer' or type='time' implies extension('http://hl7.org/fhir/StructureDefinition/minValue').exists() and extension('http://hl7.org/fhir/StructureDefinition/maxValue').exists()",
"source": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire"
},
{
"key": "onq-6",
"severity": "error",
"human": "choice orientation and item control are only permitted when there are options or a value set",
"expression": "(extension('http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation').exists() or extension('http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl').exists()) implies (answerOption.exists() or answerValueSet.exists())",
"source": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire"
},
{
"key": "onq-7",
"severity": "error",
"human": "minOccurs and maxOccurs are only permitted when repeats=true",
"expression": "(extension('http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs').exists() or extension('http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs').exists()) implies repeats",
"source": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire"
},
{
"key": "onq-8",
"severity": "error",
"human": "negativeStyle and negativeText question note extensions are only permitted for boolean questions",
"expression": "type!='boolean' implies extension('http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info').exists(extension('negativeStyle') or extension('negativeText')).not()",
"xpath": "f:type/@value='boolean' or not(f:extension[@url='http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info']/f:extension[@url='negativeStyle' or @url='negativeText'])]",
"source": "http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-questionnaire"
}
]
},
{
"id": "Questionnaire.item:question.extension:answerOptionsToggle",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "answerOptionsToggle",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerOptionsToggleExpression"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:answerOptionsToggle.extension:option",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "option"
},
{
"id": "Questionnaire.item:question.extension:answerOptionsToggle.extension:option.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:answerOptionsToggle.extension:expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "expression"
},
{
"id": "Questionnaire.item:question.extension:preferredTerminologyServer",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "preferredTerminologyServer",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/preferredTerminologyServer"
]
}
]
},
{
"id": "Questionnaire.item.extension:preferredTerminologyServer.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:minLength",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "minLength",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/minLength"
]
}
],
"condition": [
"onq-1"
]
},
{
"id": "Questionnaire.item:question.extension:maxSize",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "maxSize",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/maxSize"
]
}
],
"condition": [
"onq-2",
"onq-3"
]
},
{
"id": "Questionnaire.item:question.extension:mimeType",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "mimeType",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/mimeType"
]
}
],
"condition": [
"onq-2",
"onq-3"
]
},
{
"id": "Questionnaire.item:question.extension:mimeType.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]",
"binding": {
"extension": [
{
"extension": [
{
"url": "key",
"valueId": "min"
},
{
"url": "purpose",
"valueCode": "minimum"
},
{
"url": "valueSet",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ValueSet/mime-types"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
}
],
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/mime-types"
}
},
{
"id": "Questionnaire.item:question.extension:minValue",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "minValue",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/minValue"
]
}
],
"condition": [
"onq-4",
"onq-5"
]
},
{
"id": "Questionnaire.item:question.extension:maxValue",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "maxValue",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/maxValue"
]
}
],
"condition": [
"onq-4",
"onq-5"
]
},
{
"id": "Questionnaire.item:question.extension:maxValue.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]",
"type": [
{
"code": "date"
},
{
"code": "dateTime"
},
{
"code": "time"
},
{
"code": "decimal"
},
{
"code": "integer"
}
]
},
{
"id": "Questionnaire.item:question.extension:choiceOrientation",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "choiceOrientation",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:choiceOrientation.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]",
"condition": [
"onq-6"
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "hints/hint[.='VERTICAL_STACKING']",
"comment": "When code is 'vertical'"
}
]
},
{
"id": "Questionnaire.item:question.extension:itemControl",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "itemControl",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:itemControl.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]",
"condition": [
"onq-6"
],
"binding": {
"extension": [
{
"extension": [
{
"url": "key",
"valueId": "min"
},
{
"url": "purpose",
"valueCode": "minimum"
},
{
"url": "valueSet",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ValueSet/question-item-control"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
}
],
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/question-item-control"
},
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "hints/hint[.='USE_BUTTONS_FOR_MENU']",
"comment": "Maps to radio-button"
}
]
},
{
"id": "Questionnaire.item:question.extension:choiceDiagram",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "choiceDiagram",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/sdc-choice-diagram"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:choiceDiagram.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:minOccurs",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "minOccurs",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:minOccurs.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:maxOccurs",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "maxOccurs",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"
]
}
],
"condition": [
"onq-7"
]
},
{
"id": "Questionnaire.item:question.extension:maxOccurs.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:targetConstraint",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "targetConstraint",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/targetConstraint"
]
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "validator",
"comment": "If not handled with required or other element/extension"
}
]
},
{
"id": "Questionnaire.item:question.extension:targetConstraint.extension:key",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "key"
},
{
"id": "Questionnaire.item:question.extension:targetConstraint.extension:severity",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "severity"
},
{
"id": "Questionnaire.item:question.extension:targetConstraint.extension:severity.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]",
"patternCode": "error"
},
{
"id": "Questionnaire.item:question.extension:targetConstraint.extension:expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "expression",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@validIf",
"comment": "Convert to FHIRPath"
}
]
},
{
"id": "Questionnaire.item:question.extension:targetConstraint.extension:human",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "human",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@message"
}
]
},
{
"id": "Questionnaire.item:question.extension:calculatedExpression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "calculatedExpression",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:calculatedExpression.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:calculatedExpression.value[x].language",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x].language",
"patternCode": "text/fhirpath"
},
{
"id": "Questionnaire.item:question.extension:calculatedExpression.value[x].expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x].expression",
"min": 1,
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@formula",
"comment": "Will need to convert to FHIRPath"
}
]
},
{
"id": "Questionnaire.item:question.extension:initialExpression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "initialExpression",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-initialExpression"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:initialExpression.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:initialExpression.value[x].language",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x].language",
"patternCode": "text/fhirpath"
},
{
"id": "Questionnaire.item:question.extension:initialExpression.value[x].expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x].expression",
"min": 1,
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "text",
"comment": "When an expression with @ or ="
}
]
},
{
"id": "Questionnaire.item:question.extension:definitionExtract",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process (when extraction performed and required extraction metadata malformed)"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "definitionExtract",
"requirements": "Enables definition-based extraction of captured data from the Questionnaire",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtract"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:definitionExtract.extension:definition",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "definition"
},
{
"id": "Questionnaire.item:question.extension:definitionExtract.extension:definition.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:definitionExtract.extension:fullUrl",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "fullUrl"
},
{
"id": "Questionnaire.item:question.extension:definitionExtract.extension:fullUrl.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:definitionExtractValue",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "definitionExtractValue",
"requirements": "Defines fixed values for use in the extraction process (e.g. LOINC codes and categories)",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-definitionExtractValue"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:definitionExtractValue.extension:definition",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "definition"
},
{
"id": "Questionnaire.item:question.extension:definitionExtractValue.extension:definition.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:definitionExtractValue.extension:expression",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "expression"
},
{
"id": "Questionnaire.item:question.extension:definitionExtractValue.extension:expression.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:definitionExtractValue.extension:fixed-value",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.extension",
"sliceName": "fixed-value"
},
{
"id": "Questionnaire.item:question.extension:extractAllocateId",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "extractAllocateId",
"requirements": "Generates a random UUID that can be used for cross-linking extracted resources",
"min": 0,
"max": "*",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId"
]
}
]
},
{
"id": "Questionnaire.item:question.extension:extractAllocateId.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:itemPopulationContext",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension",
"sliceName": "itemPopulationContext",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-itemPopulationContext"
]
}
]
},
{
"id": "Questionnaire.item:question:question.extension:itemPopulationContext.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.extension.value[x]"
},
{
"id": "Questionnaire.item:question.extension:noteInfo",
"path": "Questionnaire.item.extension",
"sliceName": "noteInfo",
"comment": "This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/question-note-info"
]
}
]
},
{
"id": "Questionnaire.item:question.definition",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/extraction-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.definition",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@emrField",
"comment": "These will need to be turned into data element URIs or mapped to standard FHIR element URIs"
}
]
},
{
"id": "Questionnaire.item:question.type",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
},
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/population-engine"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.type",
"binding": {
"extension": [
{
"extension": [
{
"url": "key",
"valueId": "min"
},
{
"url": "purpose",
"valueCode": "minimum"
},
{
"url": "valueSet",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ValueSet/question-item-type"
}
],
"url": "http://hl7.org/fhir/tools/StructureDefinition/additional-binding"
}
],
"strength": "required",
"valueSet": "http://ontariohealth.ca/fhir/eforms/ValueSet/question-item-type"
},
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@type",
"comment": "See mapping spreadsheet"
}
]
},
{
"id": "Questionnaire.item:question.required",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.required",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "validator/@allowEmpty=false, or validator/@type='MANDATORY'"
}
]
},
{
"id": "Questionnaire.item:question.repeats",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.repeats",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@type",
"comment": "True if CHECKBOX or MENU_MULTI_SELECT"
}
]
},
{
"id": "Questionnaire.item:question.readOnly",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.readOnly",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@type",
"comment": "True if LABEL or FORMULA"
}
]
},
{
"id": "Questionnaire.item:question.maxLength",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.maxLength",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "validatior/@validIf",
"comment": "For foo.r.length <= NUM patterns"
}
]
},
{
"id": "Questionnaire.item:question.answerValueSet",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerValueSet"
},
{
"id": "Questionnaire.item:question.answerOption",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerOption",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "choices/choice"
}
]
},
{
"id": "Questionnaire.item:question.answerOption.extension",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerOption.extension",
"slicing": {
"discriminator": [
{
"type": "value",
"path": "url"
}
],
"ordered": false,
"rules": "open"
}
},
{
"id": "Questionnaire.item:question.answerOption.extension:noteInfo",
"path": "Questionnaire.item.answerOption.extension",
"sliceName": "noteInfo",
"comment": "This information is used internally to generate the FHIR Liquid template. It can be ignored by Form Fillers.",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://ontariohealth.ca/fhir/eforms/StructureDefinition/option-note-info"
]
}
]
},
{
"id": "Questionnaire.item:question.answerOption.extension:noteInfo.extension:text",
"path": "Questionnaire.item.answerOption.extension.extension",
"sliceName": "text"
},
{
"id": "Questionnaire.item:question.answerOption.extension:noteInfo.extension:text.value[x]",
"path": "Questionnaire.item.answerOption.extension.extension.value[x]",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "note"
}
]
},
{
"id": "Questionnaire.item:question.answerOption.extension:noteInfo.extension:style",
"path": "Questionnaire.item.answerOption.extension.extension",
"sliceName": "style"
},
{
"id": "Questionnaire.item:question.answerOption.extension:noteInfo.extension:style.value[x]",
"path": "Questionnaire.item.answerOption.extension.extension.value[x]",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@flag"
}
]
},
{
"id": "Questionnaire.item:question.answerOption.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerOption.value[x]",
"slicing": {
"discriminator": [
{
"type": "type",
"path": "$this"
}
],
"ordered": false,
"rules": "open"
},
"type": [
{
"code": "integer"
},
{
"code": "date"
},
{
"code": "time"
},
{
"code": "string"
},
{
"code": "Coding"
}
]
},
{
"id": "Questionnaire.item:question.answerOption.value[x]:valueCoding",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerOption.value[x]",
"sliceName": "valueCoding",
"min": 0,
"max": "1",
"type": [
{
"code": "Coding"
}
]
},
{
"id": "Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerOption.value[x].extension",
"sliceName": "weight",
"min": 0,
"max": "1",
"type": [
{
"code": "Extension",
"profile": [
"http://hl7.org/fhir/StructureDefinition/itemWeight"
]
}
]
},
{
"id": "Questionnaire.item:question.answerOption.value[x]:valueCoding.extension:weight.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerOption.value[x].extension.value[x]",
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@points"
}
]
},
{
"id": "Questionnaire.item:question.answerOption.value[x]:valueCoding.system",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerOption.value[x].system",
"min": 1
},
{
"id": "Questionnaire.item:question.answerOption.value[x]:valueCoding.code",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerOption.value[x].code",
"min": 1,
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "@val"
}
]
},
{
"id": "Questionnaire.item:question.answerOption.value[x]:valueCoding.display",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:display"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.answerOption.value[x].display",
"min": 1,
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "display"
}
]
},
{
"id": "Questionnaire.item:question.initial",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.initial",
"condition": [
"onq-1",
"onq-2",
"onq-3",
"onq-4",
"onq-5",
"onq-6",
"onq-7"
]
},
{
"id": "Questionnaire.item:question.initial.value[x]",
"extension": [
{
"extension": [
{
"url": "actor",
"valueCanonical": "http://ontariohealth.ca/fhir/eforms/ActorDefinition/renderer"
},
{
"url": "code",
"valueCode": "SHALL:process"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/obligation"
}
],
"path": "Questionnaire.item.initial.value[x]",
"type": [
{
"code": "boolean"
},
{
"code": "decimal"
},
{
"code": "integer"
},
{
"code": "date"
},
{
"code": "dateTime"
},
{
"code": "time"
},
{
"code": "string"
},
{
"code": "uri"
},
{
"code": "Coding"
}
],
"mapping": [
{
"identity": "ontario-fhir-legacy",
"map": "text",
"comment": "When just a constant"
}
]
}
]
}
}


4.1.1.3. Notes

This section highlights key constraints and clarifications for implementers. The technical details of this profile (e.g., canonical URL, status, version, FHIR version, formal views, and terminology binding tables) are automatically generated by the IG template scripts. IG authors must not manually alter or remove these auto-generated components to prevent inconsistencies or script errors.

4.1.1.3.1. Questionnaire-level constraints and required extensions

  • Required Questionnaire metadata

    • Questionnaire.url is required to support stable identification and referencing.
    • Questionnaire.version is required to support versioned form management.
  • Fixed / constrained values

    • Questionnaire.status is constrained to active.
    • Questionnaire.subjectType is constrained to a single value of Patient.
  • Required extensions

    • Questionnaire.extension:versionAlgorithm is required and constrained to semver (http://hl7.org/fhir/version-algorithm).
    • Questionnaire.extension:entryMode is required and constrained to random.

4.1.1.3.2. Rendering and rich content

  • Questionnaires may include rich content for display, including:
    • rendering-style and related styling instructions (e.g., item and header styles),
    • rendering-xhtml for rich XHTML content embedded within item text (e.g., images and references), and
    • item controls and UI hints (e.g., itemControl, choiceOrientation, sameLine, supportLink, collapsible behavior).
  • Where Questionnaires use contained assets to support rendering or narrative generation, Questionnaire.contained may include Binary (e.g., images) and/or Library resources.

4.1.1.3.3. Conditionality, flow control, and validation

  • Conditional display/enablement and dynamic behaviors may be expressed using:
    • enableWhen and enableWhenExpression,
    • hidden,
    • answerOptionsToggle,
    • calculatedExpression for computed answers, and
    • rule-based validation via targetConstraint.
  • Input-time constraints feasible to evaluate during form filling may be declared using extensions such as:
    • minLength / maxLength,
    • minValue / maxValue,
    • minOccurs / maxOccurs,
    • maxSize / mimeType.

4.1.1.3.4. Pre-population

  • Questionnaires may declare population-driving content used by the Population Engine (native to the client), including:
    • launchContext (including name/type),
    • variable (including expression and language),
    • itemPopulationContext, and
    • initialExpression.

4.1.1.3.5. Extraction

  • Questionnaires may include extraction-driving metadata to support definition-based extraction into derived resources, including:
    • definitionExtract,
    • definitionExtractValue,
    • extractAllocateId, and
    • item-level mapping anchors such as Questionnaire.item.definition.

4.1.1.3.6. QuestionnaireResponse narrative generation (Liquid)

  • Questionnaires may specify a custom narrative rendering approach for QuestionnaireResponses using:
    • Questionnaire.extension:responseRenderingLiquid, referencing a Library (contained or resolvable from a FHIR server).
  • Where required by the template, the Questionnaire may carry supporting template dependencies in Questionnaire.contained (e.g., Library and Binary).

Note: The noteInfo extensions (including option-level noteInfo) are intended for internal Ontario Health authoring and template-generation workflows. These extensions may be removed prior to distribution of Questionnaires to implementers. This IG places no obligations on systems to process noteInfo, and narrative generation SHALL NOT depend on its presence.


Version: 1.0.0 FHIR Version: R4.0.1

Powered by SIMPLIFIER.NET

HL7® and FHIR® are the registered trademarks of Health Level Seven International