FHIR Artifacts > Structure Definition: Questionnaire Profile
Structure Definition: Questionnaire Profile
Canonical URL:http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Questionnaire
Simplifier project page: Questionnaire
Derived from: Questionnaire (R4)
Formal Views of Profile Content
Description of Profiles, Differentials, Snapshots and how the different presentations work
Differential View
Questionnaire | I | Questionnaire | There are no (further) constraints on this element Element IdQuestionnaire A structured set of questions Alternate namesForm, CRF, Survey DefinitionA structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.
| |
meta | S Σ | 1..1 | Meta | There are no (further) constraints on this element Element IdQuestionnaire.meta Metadata about the resource DefinitionThe 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.
|
versionId | Σ | 0..1 | id | There are no (further) constraints on this element Element IdQuestionnaire.meta.versionId Version specific identifier DefinitionThe version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted. The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.
|
lastUpdated | Σ | 0..1 | instant | There are no (further) constraints on this element Element IdQuestionnaire.meta.lastUpdated When the resource version last changed DefinitionWhen the resource last changed - e.g. when the version changed. This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a read interaction.
|
source | Σ | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.meta.source Identifies where the resource comes from DefinitionA uri that identifies the source system of the resource. This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc. In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.
|
profile | S Σ | 1..* | canonical(StructureDefinition) | Element IdQuestionnaire.meta.profile Profiles this resource claims to conform to DefinitionA list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url.
|
security | Σ | 0..* | CodingBinding | There are no (further) constraints on this element Element IdQuestionnaire.meta.security Security Labels applied to this resource DefinitionSecurity labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored. Security Labels from the Healthcare Privacy and Security Classification System. All Security Labels (extensible)Constraints
|
tag | Σ | 0..* | Coding | There are no (further) constraints on this element Element IdQuestionnaire.meta.tag Tags applied to this resource DefinitionTags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource. The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored. Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". CommonTags (example)Constraints
|
extension | I | 0..* | Extension | Element IdQuestionnaire.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay 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. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Constraints
|
ext-referral-form | I | 0..1 | Extension(Reference(Questionnaire)) | Element IdQuestionnaire.extension:ext-referral-form Optional Extensions Element Alternate namesextensions, user content DefinitionOptional Extension Element - found in all resources. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Extension(Reference(Questionnaire)) Extension URLhttp://ehealthontario.ca/fhir/StructureDefinition/ext-referral-form Constraints
|
url | 1..1 | System.StringFixed Value | There are no (further) constraints on this element Element IdQuestionnaire.extension:ext-referral-form.url identifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL. The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. System.String Fixed Valuehttp://ehealthontario.ca/fhir/StructureDefinition/ext-referral-form
| |
value[x] | 0..1 | There are no (further) constraints on this element Element IdQuestionnaire.extension:ext-referral-form.value[x] Value of extension DefinitionValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).
| ||
valueReference | Reference(Questionnaire) | There are no (further) constraints on this element Data Type | ||
url | Σ | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.url Canonical identifier for this questionnaire, represented as a URI (globally unique) DefinitionAn 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. … This is the id that will be used to link a QuestionnaireResponse to the Questionnaire the response is for. The name of the referenced questionnaire can be conveyed using the http://hl7.org/fhir/StructureDefinition/display extension.
|
identifier | S Σ | 0..* | Identifier | There are no (further) constraints on this element Element IdQuestionnaire.identifier Additional identifier for the questionnaire DefinitionA 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. Allows externally provided and/or usable business identifiers to be easily associated with the module. 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.
|
use | Σ ?! | 0..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.identifier.use usual | official | temp | secondary | old (If known) DefinitionThe purpose of this identifier. Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary. Identifies the purpose for this identifier, if known . IdentifierUse (required)Constraints
|
type | Σ | 0..1 | CodeableConceptBinding | There are no (further) constraints on this element Element IdQuestionnaire.identifier.type Description of identifier DefinitionA coded type for the identifier that can be used to determine which identifier to use for a specific purpose. Allows users to make use of identifiers when the identifier system is not known. This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type. A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Identifier Type Codes (extensible)Constraints
|
system | S Σ | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.identifier.system The namespace for the identifier value DefinitionEstablishes the namespace for the value - that is, a URL that describes a set values that are unique. There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers. Identifier.system is always case sensitive.
General http://www.acme.com/identifiers/patient Mappings
|
value | S Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.identifier.value The value that is unique DefinitionThe portion of the identifier typically relevant to the user and which is unique within the context of the system. If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension. Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.
General 123456 Mappings
|
period | Σ I | 0..1 | Period | There are no (further) constraints on this element Element IdQuestionnaire.identifier.period Time period when id is/was valid for use DefinitionTime period during which identifier is/was valid for use. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration.
|
assigner | Σ I | 0..1 | Reference(Organization) | There are no (further) constraints on this element Element IdQuestionnaire.identifier.assigner Organization that issued id (may be just text) DefinitionOrganization that issued/manages the identifier. The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.
|
version | Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.version Business version of the questionnaire DefinitionThe 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. 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].
|
name | Σ I | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.name Name for this questionnaire (computer friendly) DefinitionA 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. Support human navigation and code generation. 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.
|
title | Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.title Name for this questionnaire (human friendly) DefinitionA short, descriptive, user-friendly title for the questionnaire. This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
|
derivedFrom | 0..* | canonical(Questionnaire) | There are no (further) constraints on this element Element IdQuestionnaire.derivedFrom Instantiates protocol or definition DefinitionThe URL of a Questionnaire that this Questionnaire is based on. Allows a Questionnaire to be created based on another Questionnaire.
| |
status | Σ ?! | 1..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.status draft | active | retired | unknown DefinitionThe status of this questionnaire. Enables tracking the life-cycle of the content. Allows filtering of questionnaires that are appropriate for use versus not. The lifecycle status of an artifact. PublicationStatus (required)Constraints
|
experimental | Σ | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.experimental For testing purposes, not real usage DefinitionA 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. Enables experimental content to be developed following the same lifecycle that would be used for a production-level questionnaire. Allows filtering of questionnaires that are appropriate for use versus not.
|
subjectType | Σ | 0..* | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.subjectType Resource that can be subject of QuestionnaireResponse DefinitionThe types of subjects that can be the subject of responses created for the questionnaire. If none are specified, then the subject is unlimited. One of the resource types defined as part of this version of FHIR. ResourceType (required)Constraints
|
date | S Σ | 1..1 | dateTime | There are no (further) constraints on this element Element IdQuestionnaire.date Date last changed Alternate namesRevision Date DefinitionThe 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. 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.
|
publisher | Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.publisher Name of the publisher (organization or individual) DefinitionThe name of the organization or individual that published the questionnaire. Helps establish the "authority/credibility" of the questionnaire. May also allow for contact. 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.
|
contact | Σ | 0..* | ContactDetail | There are no (further) constraints on this element Element IdQuestionnaire.contact Contact details for the publisher DefinitionContact details to assist a user in finding and communicating with the publisher. May be a web site, an email address, a telephone number, etc.
|
description | 0..1 | markdown | There are no (further) constraints on this element Element IdQuestionnaire.description Natural language description of the questionnaire DefinitionA free text natural language description of the questionnaire from a consumer's perspective. 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).
| |
useContext | Σ | 0..* | UsageContext | There are no (further) constraints on this element Element IdQuestionnaire.useContext The context that the content is intended to support DefinitionThe 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. Assist in searching for appropriate content. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
|
jurisdiction | Σ | 0..* | CodeableConceptBinding | There are no (further) constraints on this element Element IdQuestionnaire.jurisdiction Intended jurisdiction for questionnaire (if applicable) DefinitionA legal or geographic region in which the questionnaire is intended to be used. It may be possible for the questionnaire to be used in jurisdictions other than those for which it was originally designed or intended. Countries and regions within which this artifact is targeted for use. Jurisdiction ValueSet (extensible)Constraints
|
purpose | 0..1 | markdown | There are no (further) constraints on this element Element IdQuestionnaire.purpose Why this questionnaire is defined DefinitionExplanation of why this questionnaire is needed and why it has been designed as it has. 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.
| |
copyright | 0..1 | markdown | There are no (further) constraints on this element Element IdQuestionnaire.copyright Use and/or publishing restrictions Alternate namesLicense, Restrictions DefinitionA copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire. Consumers must be able to determine any legal restrictions on the use of the questionnaire and/or its content. 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/
| |
approvalDate | 0..1 | date | There are no (further) constraints on this element Element IdQuestionnaire.approvalDate When the questionnaire was approved by publisher DefinitionThe date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.
| |
lastReviewDate | 0..1 | date | There are no (further) constraints on this element Element IdQuestionnaire.lastReviewDate When the questionnaire was last reviewed DefinitionThe date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. 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. If specified, this date follows the original approval date.
| |
effectivePeriod | Σ I | 0..1 | Period | There are no (further) constraints on this element Element IdQuestionnaire.effectivePeriod When the questionnaire is expected to be used DefinitionThe period during which the questionnaire content was or is planned to be in active use. 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. 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.
|
code | Σ | 0..* | Coding | There are no (further) constraints on this element Element IdQuestionnaire.code Concept that represents the overall questionnaire DefinitionAn identifier for this question or group of questions in a particular terminology such as LOINC. Allows linking of the complete Questionnaire resources to formal terminologies. It's common for "panels" of questions to be identified by a code. 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. Codes for questionnaires, groups and individual questions. QuestionnaireQuestionCodes (example)Constraints
|
item | S I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item Questions and sections within the Questionnaire DefinitionA particular question, question grouping or display text that is part of the questionnaire. The content of the questionnaire is constructed from an ordered, hierarchical collection of items.
|
linkId | S | 1..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.linkId Unique id for item in questionnaire DefinitionAn identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource. 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. 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.
|
definition | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.item.definition ElementDefinition - details for the item DefinitionThis 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:
A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition. 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.
| |
code | I | 0..* | Coding | There are no (further) constraints on this element Element IdQuestionnaire.item.code Corresponding concept for this item in a terminology DefinitionA terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers). Allows linking of groups of questions to formal terminologies. The value may come from the ElementDefinition referred to by .definition. Codes for questionnaires, groups and individual questions. QuestionnaireQuestionCodes (example)Constraints
|
prefix | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.prefix E.g. "1(a)", "2.5.3" Alternate nameslabel DefinitionA short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire. 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. 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.
| |
text | S | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.text Primary text for the item DefinitionThe name of a section, the text of a question or text content for a display item. 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.
|
type | S | 1..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.item.type group | display | boolean | decimal | integer | date | dateTime + DefinitionThe 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.). Defines the format in which the user is to be prompted for the answer. Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition. Distinguishes groups from questions and display text and indicates data type for questions. QuestionnaireItemType (required)Constraints
|
enableWhen | ?! I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen Only allow data when DefinitionA constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true. 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. 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.
|
question | 1..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen.question Question that determines whether item is enabled DefinitionThe linkId for the question whose answer (or lack of answer) governs whether this item is enabled. 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.
| |
operator | 1..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen.operator exists | = | != | > | < | >= | <= DefinitionSpecifies the criteria by which the question is enabled. Note that FHIR strings SHALL NOT exceed 1MB in size The criteria by which a question is enabled. QuestionnaireItemOperator (required)Constraints
| |
answer[x] | I | 1..1 | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen.answer[x] Value for question comparison based on operator DefinitionA value that the referenced question is tested using the specified operator in order for the item to be enabled. Allowed values to answer questions. QuestionnaireAnswerCodes (example)Constraints
| |
answerBoolean | boolean | There are no (further) constraints on this element Data Type | ||
answerDecimal | decimal | There are no (further) constraints on this element Data Type | ||
answerInteger | integer | There are no (further) constraints on this element Data Type | ||
answerDate | date | There are no (further) constraints on this element Data Type | ||
answerDateTime | dateTime | There are no (further) constraints on this element Data Type | ||
answerTime | time | There are no (further) constraints on this element Data Type | ||
answerString | string | There are no (further) constraints on this element Data Type | ||
answerCoding | Coding | There are no (further) constraints on this element Data Type | ||
answerQuantity | Quantity | There are no (further) constraints on this element Data Type | ||
answerReference | Reference(Resource) | There are no (further) constraints on this element Data Type | ||
enableBehavior | I | 0..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.item.enableBehavior all | any DefinitionControls how multiple enableWhen values are interpreted - whether all or any must be true. This element must be specified if more than one enableWhen value is provided. Controls how multiple enableWhen values are interpreted - whether all or any must be true. EnableWhenBehavior (required)Constraints
|
required | I | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.required Whether the item must be included in data results DefinitionAn indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire. 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. Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value
|
repeats | I | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.repeats Whether the item may repeat DefinitionAn 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. Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set. 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. Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value
|
readOnly | I | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.readOnly Don't allow human editing DefinitionAn indication, when true, that the value cannot be changed by a human respondent to the Questionnaire. 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. 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.
|
maxLength | I | 0..1 | integer | There are no (further) constraints on this element Element IdQuestionnaire.item.maxLength No more than this many characters DefinitionThe maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse. 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.
|
answerValueSet | I | 0..1 | canonical(ValueSet) | There are no (further) constraints on this element Element IdQuestionnaire.item.answerValueSet Valueset containing permitted answers DefinitionA reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question. LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.
|
answerOption | S I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item.answerOption Permitted answer DefinitionOne of the permitted answers for a "choice" or "open-choice" question. 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.
|
value[x] | 1..1 | There are no (further) constraints on this element Element IdQuestionnaire.item.answerOption.value[x] Answer value DefinitionA potential answer that's allowed as the answer to this question. The data type of the value must agree with the item.type. Allowed values to answer questions. QuestionnaireAnswerCodes (example)Constraints
| ||
valueInteger | integer | There are no (further) constraints on this element Data Type | ||
valueDate | date | There are no (further) constraints on this element Data Type | ||
valueTime | time | There are no (further) constraints on this element Data Type | ||
valueString | string | There are no (further) constraints on this element Data Type | ||
valueCoding | Coding | There are no (further) constraints on this element Data Type | ||
valueReference | Reference(Resource) | There are no (further) constraints on this element Data Type | ||
initialSelected | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.answerOption.initialSelected Whether option is selected by default DefinitionIndicates whether the answer value is selected when the list of possible answers is initially shown. Use this instead of initial[v] if answerValueSet is present. Only selected items explicitly marked to be selected
| |
initial | I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item.initial Initial value(s) when item is first rendered DefinitionOne or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input. In some workflows, having defaults saves time. 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.
|
value[x] | 1..1 | There are no (further) constraints on this element Element IdQuestionnaire.item.initial.value[x] Actual value for initializing the question DefinitionThe actual value to for an initial answer. The type of the initial value must be consistent with the type of the item. Allowed values to answer questions. QuestionnaireAnswerCodes (example)Constraints
| ||
valueBoolean | boolean | There are no (further) constraints on this element Data Type | ||
valueDecimal | decimal | There are no (further) constraints on this element Data Type | ||
valueInteger | integer | There are no (further) constraints on this element Data Type | ||
valueDate | date | There are no (further) constraints on this element Data Type | ||
valueDateTime | dateTime | There are no (further) constraints on this element Data Type | ||
valueTime | time | There are no (further) constraints on this element Data Type | ||
valueString | string | There are no (further) constraints on this element Data Type | ||
valueUri | uri | There are no (further) constraints on this element Data Type | ||
valueAttachment | Attachment | There are no (further) constraints on this element Data Type | ||
valueCoding | Coding | There are no (further) constraints on this element Data Type | ||
valueQuantity | Quantity | There are no (further) constraints on this element Data Type | ||
valueReference | Reference(Resource) | There are no (further) constraints on this element Data Type | ||
item | I | 0..* | see (item) | There are no (further) constraints on this element Element IdQuestionnaire.item.item Nested questionnaire items DefinitionText, questions and other groups to be nested beneath a question or group. Reports can consist of complex nested groups. 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.
|
Hybrid View
Questionnaire | I | Questionnaire | There are no (further) constraints on this element Element IdQuestionnaire A structured set of questions Alternate namesForm, CRF, Survey DefinitionA structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.
| |
meta | S Σ | 1..1 | Meta | There are no (further) constraints on this element Element IdQuestionnaire.meta Metadata about the resource DefinitionThe 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.
|
versionId | Σ | 0..1 | id | There are no (further) constraints on this element Element IdQuestionnaire.meta.versionId Version specific identifier DefinitionThe version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted. The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.
|
lastUpdated | Σ | 0..1 | instant | There are no (further) constraints on this element Element IdQuestionnaire.meta.lastUpdated When the resource version last changed DefinitionWhen the resource last changed - e.g. when the version changed. This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a read interaction.
|
source | Σ | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.meta.source Identifies where the resource comes from DefinitionA uri that identifies the source system of the resource. This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc. In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.
|
profile | S Σ | 1..* | canonical(StructureDefinition) | Element IdQuestionnaire.meta.profile Profiles this resource claims to conform to DefinitionA list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url.
|
security | Σ | 0..* | CodingBinding | There are no (further) constraints on this element Element IdQuestionnaire.meta.security Security Labels applied to this resource DefinitionSecurity labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored. Security Labels from the Healthcare Privacy and Security Classification System. All Security Labels (extensible)Constraints
|
tag | Σ | 0..* | Coding | There are no (further) constraints on this element Element IdQuestionnaire.meta.tag Tags applied to this resource DefinitionTags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource. The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored. Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". CommonTags (example)Constraints
|
extension | I | 0..* | Extension | Element IdQuestionnaire.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay 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. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Constraints
|
ext-referral-form | I | 0..1 | Extension(Reference(Questionnaire)) | Element IdQuestionnaire.extension:ext-referral-form Optional Extensions Element Alternate namesextensions, user content DefinitionOptional Extension Element - found in all resources. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Extension(Reference(Questionnaire)) Extension URLhttp://ehealthontario.ca/fhir/StructureDefinition/ext-referral-form Constraints
|
url | 1..1 | System.StringFixed Value | There are no (further) constraints on this element Element IdQuestionnaire.extension:ext-referral-form.url identifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL. The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. System.String Fixed Valuehttp://ehealthontario.ca/fhir/StructureDefinition/ext-referral-form
| |
value[x] | 0..1 | There are no (further) constraints on this element Element IdQuestionnaire.extension:ext-referral-form.value[x] Value of extension DefinitionValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).
| ||
valueReference | Reference(Questionnaire) | There are no (further) constraints on this element Data Type | ||
url | Σ | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.url Canonical identifier for this questionnaire, represented as a URI (globally unique) DefinitionAn 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. … This is the id that will be used to link a QuestionnaireResponse to the Questionnaire the response is for. The name of the referenced questionnaire can be conveyed using the http://hl7.org/fhir/StructureDefinition/display extension.
|
identifier | S Σ | 0..* | Identifier | There are no (further) constraints on this element Element IdQuestionnaire.identifier Additional identifier for the questionnaire DefinitionA 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. Allows externally provided and/or usable business identifiers to be easily associated with the module. 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.
|
use | Σ ?! | 0..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.identifier.use usual | official | temp | secondary | old (If known) DefinitionThe purpose of this identifier. Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary. Identifies the purpose for this identifier, if known . IdentifierUse (required)Constraints
|
type | Σ | 0..1 | CodeableConceptBinding | There are no (further) constraints on this element Element IdQuestionnaire.identifier.type Description of identifier DefinitionA coded type for the identifier that can be used to determine which identifier to use for a specific purpose. Allows users to make use of identifiers when the identifier system is not known. This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type. A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Identifier Type Codes (extensible)Constraints
|
system | S Σ | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.identifier.system The namespace for the identifier value DefinitionEstablishes the namespace for the value - that is, a URL that describes a set values that are unique. There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers. Identifier.system is always case sensitive.
General http://www.acme.com/identifiers/patient Mappings
|
value | S Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.identifier.value The value that is unique DefinitionThe portion of the identifier typically relevant to the user and which is unique within the context of the system. If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension. Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.
General 123456 Mappings
|
period | Σ I | 0..1 | Period | There are no (further) constraints on this element Element IdQuestionnaire.identifier.period Time period when id is/was valid for use DefinitionTime period during which identifier is/was valid for use. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration.
|
assigner | Σ I | 0..1 | Reference(Organization) | There are no (further) constraints on this element Element IdQuestionnaire.identifier.assigner Organization that issued id (may be just text) DefinitionOrganization that issued/manages the identifier. The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.
|
version | Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.version Business version of the questionnaire DefinitionThe 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. 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].
|
name | Σ I | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.name Name for this questionnaire (computer friendly) DefinitionA 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. Support human navigation and code generation. 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.
|
title | Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.title Name for this questionnaire (human friendly) DefinitionA short, descriptive, user-friendly title for the questionnaire. This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
|
derivedFrom | 0..* | canonical(Questionnaire) | There are no (further) constraints on this element Element IdQuestionnaire.derivedFrom Instantiates protocol or definition DefinitionThe URL of a Questionnaire that this Questionnaire is based on. Allows a Questionnaire to be created based on another Questionnaire.
| |
status | Σ ?! | 1..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.status draft | active | retired | unknown DefinitionThe status of this questionnaire. Enables tracking the life-cycle of the content. Allows filtering of questionnaires that are appropriate for use versus not. The lifecycle status of an artifact. PublicationStatus (required)Constraints
|
experimental | Σ | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.experimental For testing purposes, not real usage DefinitionA 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. Enables experimental content to be developed following the same lifecycle that would be used for a production-level questionnaire. Allows filtering of questionnaires that are appropriate for use versus not.
|
subjectType | Σ | 0..* | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.subjectType Resource that can be subject of QuestionnaireResponse DefinitionThe types of subjects that can be the subject of responses created for the questionnaire. If none are specified, then the subject is unlimited. One of the resource types defined as part of this version of FHIR. ResourceType (required)Constraints
|
date | S Σ | 1..1 | dateTime | There are no (further) constraints on this element Element IdQuestionnaire.date Date last changed Alternate namesRevision Date DefinitionThe 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. 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.
|
publisher | Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.publisher Name of the publisher (organization or individual) DefinitionThe name of the organization or individual that published the questionnaire. Helps establish the "authority/credibility" of the questionnaire. May also allow for contact. 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.
|
contact | Σ | 0..* | ContactDetail | There are no (further) constraints on this element Element IdQuestionnaire.contact Contact details for the publisher DefinitionContact details to assist a user in finding and communicating with the publisher. May be a web site, an email address, a telephone number, etc.
|
description | 0..1 | markdown | There are no (further) constraints on this element Element IdQuestionnaire.description Natural language description of the questionnaire DefinitionA free text natural language description of the questionnaire from a consumer's perspective. 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).
| |
useContext | Σ | 0..* | UsageContext | There are no (further) constraints on this element Element IdQuestionnaire.useContext The context that the content is intended to support DefinitionThe 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. Assist in searching for appropriate content. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
|
jurisdiction | Σ | 0..* | CodeableConceptBinding | There are no (further) constraints on this element Element IdQuestionnaire.jurisdiction Intended jurisdiction for questionnaire (if applicable) DefinitionA legal or geographic region in which the questionnaire is intended to be used. It may be possible for the questionnaire to be used in jurisdictions other than those for which it was originally designed or intended. Countries and regions within which this artifact is targeted for use. Jurisdiction ValueSet (extensible)Constraints
|
purpose | 0..1 | markdown | There are no (further) constraints on this element Element IdQuestionnaire.purpose Why this questionnaire is defined DefinitionExplanation of why this questionnaire is needed and why it has been designed as it has. 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.
| |
copyright | 0..1 | markdown | There are no (further) constraints on this element Element IdQuestionnaire.copyright Use and/or publishing restrictions Alternate namesLicense, Restrictions DefinitionA copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire. Consumers must be able to determine any legal restrictions on the use of the questionnaire and/or its content. 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/
| |
approvalDate | 0..1 | date | There are no (further) constraints on this element Element IdQuestionnaire.approvalDate When the questionnaire was approved by publisher DefinitionThe date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.
| |
lastReviewDate | 0..1 | date | There are no (further) constraints on this element Element IdQuestionnaire.lastReviewDate When the questionnaire was last reviewed DefinitionThe date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. 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. If specified, this date follows the original approval date.
| |
effectivePeriod | Σ I | 0..1 | Period | There are no (further) constraints on this element Element IdQuestionnaire.effectivePeriod When the questionnaire is expected to be used DefinitionThe period during which the questionnaire content was or is planned to be in active use. 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. 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.
|
code | Σ | 0..* | Coding | There are no (further) constraints on this element Element IdQuestionnaire.code Concept that represents the overall questionnaire DefinitionAn identifier for this question or group of questions in a particular terminology such as LOINC. Allows linking of the complete Questionnaire resources to formal terminologies. It's common for "panels" of questions to be identified by a code. 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. Codes for questionnaires, groups and individual questions. QuestionnaireQuestionCodes (example)Constraints
|
item | S I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item Questions and sections within the Questionnaire DefinitionA particular question, question grouping or display text that is part of the questionnaire. The content of the questionnaire is constructed from an ordered, hierarchical collection of items.
|
linkId | S | 1..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.linkId Unique id for item in questionnaire DefinitionAn identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource. 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. 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.
|
definition | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.item.definition ElementDefinition - details for the item DefinitionThis 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:
A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition. 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.
| |
code | I | 0..* | Coding | There are no (further) constraints on this element Element IdQuestionnaire.item.code Corresponding concept for this item in a terminology DefinitionA terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers). Allows linking of groups of questions to formal terminologies. The value may come from the ElementDefinition referred to by .definition. Codes for questionnaires, groups and individual questions. QuestionnaireQuestionCodes (example)Constraints
|
prefix | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.prefix E.g. "1(a)", "2.5.3" Alternate nameslabel DefinitionA short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire. 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. 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.
| |
text | S | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.text Primary text for the item DefinitionThe name of a section, the text of a question or text content for a display item. 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.
|
type | S | 1..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.item.type group | display | boolean | decimal | integer | date | dateTime + DefinitionThe 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.). Defines the format in which the user is to be prompted for the answer. Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition. Distinguishes groups from questions and display text and indicates data type for questions. QuestionnaireItemType (required)Constraints
|
enableWhen | ?! I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen Only allow data when DefinitionA constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true. 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. 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.
|
question | 1..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen.question Question that determines whether item is enabled DefinitionThe linkId for the question whose answer (or lack of answer) governs whether this item is enabled. 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.
| |
operator | 1..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen.operator exists | = | != | > | < | >= | <= DefinitionSpecifies the criteria by which the question is enabled. Note that FHIR strings SHALL NOT exceed 1MB in size The criteria by which a question is enabled. QuestionnaireItemOperator (required)Constraints
| |
answer[x] | I | 1..1 | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen.answer[x] Value for question comparison based on operator DefinitionA value that the referenced question is tested using the specified operator in order for the item to be enabled. Allowed values to answer questions. QuestionnaireAnswerCodes (example)Constraints
| |
answerBoolean | boolean | There are no (further) constraints on this element Data Type | ||
answerDecimal | decimal | There are no (further) constraints on this element Data Type | ||
answerInteger | integer | There are no (further) constraints on this element Data Type | ||
answerDate | date | There are no (further) constraints on this element Data Type | ||
answerDateTime | dateTime | There are no (further) constraints on this element Data Type | ||
answerTime | time | There are no (further) constraints on this element Data Type | ||
answerString | string | There are no (further) constraints on this element Data Type | ||
answerCoding | Coding | There are no (further) constraints on this element Data Type | ||
answerQuantity | Quantity | There are no (further) constraints on this element Data Type | ||
answerReference | Reference(Resource) | There are no (further) constraints on this element Data Type | ||
enableBehavior | I | 0..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.item.enableBehavior all | any DefinitionControls how multiple enableWhen values are interpreted - whether all or any must be true. This element must be specified if more than one enableWhen value is provided. Controls how multiple enableWhen values are interpreted - whether all or any must be true. EnableWhenBehavior (required)Constraints
|
required | I | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.required Whether the item must be included in data results DefinitionAn indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire. 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. Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value
|
repeats | I | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.repeats Whether the item may repeat DefinitionAn 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. Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set. 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. Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value
|
readOnly | I | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.readOnly Don't allow human editing DefinitionAn indication, when true, that the value cannot be changed by a human respondent to the Questionnaire. 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. 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.
|
maxLength | I | 0..1 | integer | There are no (further) constraints on this element Element IdQuestionnaire.item.maxLength No more than this many characters DefinitionThe maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse. 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.
|
answerValueSet | I | 0..1 | canonical(ValueSet) | There are no (further) constraints on this element Element IdQuestionnaire.item.answerValueSet Valueset containing permitted answers DefinitionA reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question. LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.
|
answerOption | S I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item.answerOption Permitted answer DefinitionOne of the permitted answers for a "choice" or "open-choice" question. 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.
|
value[x] | 1..1 | There are no (further) constraints on this element Element IdQuestionnaire.item.answerOption.value[x] Answer value DefinitionA potential answer that's allowed as the answer to this question. The data type of the value must agree with the item.type. Allowed values to answer questions. QuestionnaireAnswerCodes (example)Constraints
| ||
valueInteger | integer | There are no (further) constraints on this element Data Type | ||
valueDate | date | There are no (further) constraints on this element Data Type | ||
valueTime | time | There are no (further) constraints on this element Data Type | ||
valueString | string | There are no (further) constraints on this element Data Type | ||
valueCoding | Coding | There are no (further) constraints on this element Data Type | ||
valueReference | Reference(Resource) | There are no (further) constraints on this element Data Type | ||
initialSelected | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.answerOption.initialSelected Whether option is selected by default DefinitionIndicates whether the answer value is selected when the list of possible answers is initially shown. Use this instead of initial[v] if answerValueSet is present. Only selected items explicitly marked to be selected
| |
initial | I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item.initial Initial value(s) when item is first rendered DefinitionOne or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input. In some workflows, having defaults saves time. 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.
|
value[x] | 1..1 | There are no (further) constraints on this element Element IdQuestionnaire.item.initial.value[x] Actual value for initializing the question DefinitionThe actual value to for an initial answer. The type of the initial value must be consistent with the type of the item. Allowed values to answer questions. QuestionnaireAnswerCodes (example)Constraints
| ||
valueBoolean | boolean | There are no (further) constraints on this element Data Type | ||
valueDecimal | decimal | There are no (further) constraints on this element Data Type | ||
valueInteger | integer | There are no (further) constraints on this element Data Type | ||
valueDate | date | There are no (further) constraints on this element Data Type | ||
valueDateTime | dateTime | There are no (further) constraints on this element Data Type | ||
valueTime | time | There are no (further) constraints on this element Data Type | ||
valueString | string | There are no (further) constraints on this element Data Type | ||
valueUri | uri | There are no (further) constraints on this element Data Type | ||
valueAttachment | Attachment | There are no (further) constraints on this element Data Type | ||
valueCoding | Coding | There are no (further) constraints on this element Data Type | ||
valueQuantity | Quantity | There are no (further) constraints on this element Data Type | ||
valueReference | Reference(Resource) | There are no (further) constraints on this element Data Type | ||
item | I | 0..* | see (item) | There are no (further) constraints on this element Element IdQuestionnaire.item.item Nested questionnaire items DefinitionText, questions and other groups to be nested beneath a question or group. Reports can consist of complex nested groups. 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.
|
Snapshot View
Questionnaire | I | Questionnaire | There are no (further) constraints on this element Element IdQuestionnaire A structured set of questions Alternate namesForm, CRF, Survey DefinitionA structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.
| |
meta | S Σ | 1..1 | Meta | There are no (further) constraints on this element Element IdQuestionnaire.meta Metadata about the resource DefinitionThe 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.
|
versionId | Σ | 0..1 | id | There are no (further) constraints on this element Element IdQuestionnaire.meta.versionId Version specific identifier DefinitionThe version specific identifier, as it appears in the version portion of the URL. This value changes when the resource is created, updated, or deleted. The server assigns this value, and ignores what the client specifies, except in the case that the server is imposing version integrity on updates/deletes.
|
lastUpdated | Σ | 0..1 | instant | There are no (further) constraints on this element Element IdQuestionnaire.meta.lastUpdated When the resource version last changed DefinitionWhen the resource last changed - e.g. when the version changed. This value is always populated except when the resource is first being created. The server / resource manager sets this value; what a client provides is irrelevant. This is equivalent to the HTTP Last-Modified and SHOULD have the same value on a read interaction.
|
source | Σ | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.meta.source Identifies where the resource comes from DefinitionA uri that identifies the source system of the resource. This provides a minimal amount of Provenance information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc. In the provenance resource, this corresponds to Provenance.entity.what[x]. The exact use of the source (and the implied Provenance.entity.role) is left to implementer discretion. Only one nominated source is allowed; for additional provenance details, a full Provenance resource should be used. This element can be used to indicate where the current master source of a resource that has a canonical URL if the resource is no longer hosted at the canonical URL.
|
profile | S Σ | 1..* | canonical(StructureDefinition) | Element IdQuestionnaire.meta.profile Profiles this resource claims to conform to DefinitionA list of profiles (references to StructureDefinition resources) that this resource claims to conform to. The URL is a reference to StructureDefinition.url.
|
security | Σ | 0..* | CodingBinding | There are no (further) constraints on this element Element IdQuestionnaire.meta.security Security Labels applied to this resource DefinitionSecurity labels applied to this resource. These tags connect specific resources to the overall security policy and infrastructure. The security labels can be updated without changing the stated version of the resource. The list of security labels is a set. Uniqueness is based the system/code, and version and display are ignored. Security Labels from the Healthcare Privacy and Security Classification System. All Security Labels (extensible)Constraints
|
tag | Σ | 0..* | Coding | There are no (further) constraints on this element Element IdQuestionnaire.meta.tag Tags applied to this resource DefinitionTags applied to this resource. Tags are intended to be used to identify and relate resources to process and workflow, and applications are not required to consider the tags when interpreting the meaning of a resource. The tags can be updated without changing the stated version of the resource. The list of tags is a set. Uniqueness is based the system/code, and version and display are ignored. Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones". CommonTags (example)Constraints
|
extension | I | 0..* | Extension | Element IdQuestionnaire.extension Additional content defined by implementations Alternate namesextensions, user content DefinitionMay 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. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Unordered, Open, by url(Value) Constraints
|
ext-referral-form | I | 0..1 | Extension(Reference(Questionnaire)) | Element IdQuestionnaire.extension:ext-referral-form Optional Extensions Element Alternate namesextensions, user content DefinitionOptional Extension Element - found in all resources. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone. Extension(Reference(Questionnaire)) Extension URLhttp://ehealthontario.ca/fhir/StructureDefinition/ext-referral-form Constraints
|
url | 1..1 | System.StringFixed Value | There are no (further) constraints on this element Element IdQuestionnaire.extension:ext-referral-form.url identifies the meaning of the extension DefinitionSource of the definition for the extension code - a logical name or a URL. The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension. System.String Fixed Valuehttp://ehealthontario.ca/fhir/StructureDefinition/ext-referral-form
| |
value[x] | 0..1 | There are no (further) constraints on this element Element IdQuestionnaire.extension:ext-referral-form.value[x] Value of extension DefinitionValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).
| ||
valueReference | Reference(Questionnaire) | There are no (further) constraints on this element Data Type | ||
url | Σ | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.url Canonical identifier for this questionnaire, represented as a URI (globally unique) DefinitionAn 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. … This is the id that will be used to link a QuestionnaireResponse to the Questionnaire the response is for. The name of the referenced questionnaire can be conveyed using the http://hl7.org/fhir/StructureDefinition/display extension.
|
identifier | S Σ | 0..* | Identifier | There are no (further) constraints on this element Element IdQuestionnaire.identifier Additional identifier for the questionnaire DefinitionA 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. Allows externally provided and/or usable business identifiers to be easily associated with the module. 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.
|
use | Σ ?! | 0..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.identifier.use usual | official | temp | secondary | old (If known) DefinitionThe purpose of this identifier. Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary. Identifies the purpose for this identifier, if known . IdentifierUse (required)Constraints
|
type | Σ | 0..1 | CodeableConceptBinding | There are no (further) constraints on this element Element IdQuestionnaire.identifier.type Description of identifier DefinitionA coded type for the identifier that can be used to determine which identifier to use for a specific purpose. Allows users to make use of identifiers when the identifier system is not known. This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type. A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. Identifier Type Codes (extensible)Constraints
|
system | S Σ | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.identifier.system The namespace for the identifier value DefinitionEstablishes the namespace for the value - that is, a URL that describes a set values that are unique. There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers. Identifier.system is always case sensitive.
General http://www.acme.com/identifiers/patient Mappings
|
value | S Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.identifier.value The value that is unique DefinitionThe portion of the identifier typically relevant to the user and which is unique within the context of the system. If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension. Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.
General 123456 Mappings
|
period | Σ I | 0..1 | Period | There are no (further) constraints on this element Element IdQuestionnaire.identifier.period Time period when id is/was valid for use DefinitionTime period during which identifier is/was valid for use. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. "the patient was an inpatient of the hospital for this time range") or one value from the range applies (e.g. "give to the patient between these two times"). Period is not used for a duration (a measure of elapsed time). See Duration.
|
assigner | Σ I | 0..1 | Reference(Organization) | There are no (further) constraints on this element Element IdQuestionnaire.identifier.assigner Organization that issued id (may be just text) DefinitionOrganization that issued/manages the identifier. The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.
|
version | Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.version Business version of the questionnaire DefinitionThe 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. 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].
|
name | Σ I | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.name Name for this questionnaire (computer friendly) DefinitionA 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. Support human navigation and code generation. 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.
|
title | Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.title Name for this questionnaire (human friendly) DefinitionA short, descriptive, user-friendly title for the questionnaire. This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.
|
derivedFrom | 0..* | canonical(Questionnaire) | There are no (further) constraints on this element Element IdQuestionnaire.derivedFrom Instantiates protocol or definition DefinitionThe URL of a Questionnaire that this Questionnaire is based on. Allows a Questionnaire to be created based on another Questionnaire.
| |
status | Σ ?! | 1..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.status draft | active | retired | unknown DefinitionThe status of this questionnaire. Enables tracking the life-cycle of the content. Allows filtering of questionnaires that are appropriate for use versus not. The lifecycle status of an artifact. PublicationStatus (required)Constraints
|
experimental | Σ | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.experimental For testing purposes, not real usage DefinitionA 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. Enables experimental content to be developed following the same lifecycle that would be used for a production-level questionnaire. Allows filtering of questionnaires that are appropriate for use versus not.
|
subjectType | Σ | 0..* | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.subjectType Resource that can be subject of QuestionnaireResponse DefinitionThe types of subjects that can be the subject of responses created for the questionnaire. If none are specified, then the subject is unlimited. One of the resource types defined as part of this version of FHIR. ResourceType (required)Constraints
|
date | S Σ | 1..1 | dateTime | There are no (further) constraints on this element Element IdQuestionnaire.date Date last changed Alternate namesRevision Date DefinitionThe 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. 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.
|
publisher | Σ | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.publisher Name of the publisher (organization or individual) DefinitionThe name of the organization or individual that published the questionnaire. Helps establish the "authority/credibility" of the questionnaire. May also allow for contact. 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.
|
contact | Σ | 0..* | ContactDetail | There are no (further) constraints on this element Element IdQuestionnaire.contact Contact details for the publisher DefinitionContact details to assist a user in finding and communicating with the publisher. May be a web site, an email address, a telephone number, etc.
|
description | 0..1 | markdown | There are no (further) constraints on this element Element IdQuestionnaire.description Natural language description of the questionnaire DefinitionA free text natural language description of the questionnaire from a consumer's perspective. 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).
| |
useContext | Σ | 0..* | UsageContext | There are no (further) constraints on this element Element IdQuestionnaire.useContext The context that the content is intended to support DefinitionThe 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. Assist in searching for appropriate content. When multiple useContexts are specified, there is no expectation that all or any of the contexts apply.
|
jurisdiction | Σ | 0..* | CodeableConceptBinding | There are no (further) constraints on this element Element IdQuestionnaire.jurisdiction Intended jurisdiction for questionnaire (if applicable) DefinitionA legal or geographic region in which the questionnaire is intended to be used. It may be possible for the questionnaire to be used in jurisdictions other than those for which it was originally designed or intended. Countries and regions within which this artifact is targeted for use. Jurisdiction ValueSet (extensible)Constraints
|
purpose | 0..1 | markdown | There are no (further) constraints on this element Element IdQuestionnaire.purpose Why this questionnaire is defined DefinitionExplanation of why this questionnaire is needed and why it has been designed as it has. 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.
| |
copyright | 0..1 | markdown | There are no (further) constraints on this element Element IdQuestionnaire.copyright Use and/or publishing restrictions Alternate namesLicense, Restrictions DefinitionA copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire. Consumers must be able to determine any legal restrictions on the use of the questionnaire and/or its content. 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/
| |
approvalDate | 0..1 | date | There are no (further) constraints on this element Element IdQuestionnaire.approvalDate When the questionnaire was approved by publisher DefinitionThe date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage. The 'date' element may be more recent than the approval date because of minor changes or editorial corrections.
| |
lastReviewDate | 0..1 | date | There are no (further) constraints on this element Element IdQuestionnaire.lastReviewDate When the questionnaire was last reviewed DefinitionThe date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date. 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. If specified, this date follows the original approval date.
| |
effectivePeriod | Σ I | 0..1 | Period | There are no (further) constraints on this element Element IdQuestionnaire.effectivePeriod When the questionnaire is expected to be used DefinitionThe period during which the questionnaire content was or is planned to be in active use. 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. 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.
|
code | Σ | 0..* | Coding | There are no (further) constraints on this element Element IdQuestionnaire.code Concept that represents the overall questionnaire DefinitionAn identifier for this question or group of questions in a particular terminology such as LOINC. Allows linking of the complete Questionnaire resources to formal terminologies. It's common for "panels" of questions to be identified by a code. 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. Codes for questionnaires, groups and individual questions. QuestionnaireQuestionCodes (example)Constraints
|
item | S I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item Questions and sections within the Questionnaire DefinitionA particular question, question grouping or display text that is part of the questionnaire. The content of the questionnaire is constructed from an ordered, hierarchical collection of items.
|
linkId | S | 1..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.linkId Unique id for item in questionnaire DefinitionAn identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource. 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. 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.
|
definition | 0..1 | uri | There are no (further) constraints on this element Element IdQuestionnaire.item.definition ElementDefinition - details for the item DefinitionThis 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:
A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition. 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.
| |
code | I | 0..* | Coding | There are no (further) constraints on this element Element IdQuestionnaire.item.code Corresponding concept for this item in a terminology DefinitionA terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers). Allows linking of groups of questions to formal terminologies. The value may come from the ElementDefinition referred to by .definition. Codes for questionnaires, groups and individual questions. QuestionnaireQuestionCodes (example)Constraints
|
prefix | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.prefix E.g. "1(a)", "2.5.3" Alternate nameslabel DefinitionA short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire. 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. 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.
| |
text | S | 0..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.text Primary text for the item DefinitionThe name of a section, the text of a question or text content for a display item. 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.
|
type | S | 1..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.item.type group | display | boolean | decimal | integer | date | dateTime + DefinitionThe 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.). Defines the format in which the user is to be prompted for the answer. Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition. Distinguishes groups from questions and display text and indicates data type for questions. QuestionnaireItemType (required)Constraints
|
enableWhen | ?! I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen Only allow data when DefinitionA constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true. 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. 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.
|
question | 1..1 | string | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen.question Question that determines whether item is enabled DefinitionThe linkId for the question whose answer (or lack of answer) governs whether this item is enabled. 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.
| |
operator | 1..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen.operator exists | = | != | > | < | >= | <= DefinitionSpecifies the criteria by which the question is enabled. Note that FHIR strings SHALL NOT exceed 1MB in size The criteria by which a question is enabled. QuestionnaireItemOperator (required)Constraints
| |
answer[x] | I | 1..1 | There are no (further) constraints on this element Element IdQuestionnaire.item.enableWhen.answer[x] Value for question comparison based on operator DefinitionA value that the referenced question is tested using the specified operator in order for the item to be enabled. Allowed values to answer questions. QuestionnaireAnswerCodes (example)Constraints
| |
answerBoolean | boolean | There are no (further) constraints on this element Data Type | ||
answerDecimal | decimal | There are no (further) constraints on this element Data Type | ||
answerInteger | integer | There are no (further) constraints on this element Data Type | ||
answerDate | date | There are no (further) constraints on this element Data Type | ||
answerDateTime | dateTime | There are no (further) constraints on this element Data Type | ||
answerTime | time | There are no (further) constraints on this element Data Type | ||
answerString | string | There are no (further) constraints on this element Data Type | ||
answerCoding | Coding | There are no (further) constraints on this element Data Type | ||
answerQuantity | Quantity | There are no (further) constraints on this element Data Type | ||
answerReference | Reference(Resource) | There are no (further) constraints on this element Data Type | ||
enableBehavior | I | 0..1 | codeBinding | There are no (further) constraints on this element Element IdQuestionnaire.item.enableBehavior all | any DefinitionControls how multiple enableWhen values are interpreted - whether all or any must be true. This element must be specified if more than one enableWhen value is provided. Controls how multiple enableWhen values are interpreted - whether all or any must be true. EnableWhenBehavior (required)Constraints
|
required | I | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.required Whether the item must be included in data results DefinitionAn indication, if true, that the item must be present in a "completed" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire. 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. Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value
|
repeats | I | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.repeats Whether the item may repeat DefinitionAn 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. Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set. 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. Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value
|
readOnly | I | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.readOnly Don't allow human editing DefinitionAn indication, when true, that the value cannot be changed by a human respondent to the Questionnaire. 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. 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.
|
maxLength | I | 0..1 | integer | There are no (further) constraints on this element Element IdQuestionnaire.item.maxLength No more than this many characters DefinitionThe maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse. 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.
|
answerValueSet | I | 0..1 | canonical(ValueSet) | There are no (further) constraints on this element Element IdQuestionnaire.item.answerValueSet Valueset containing permitted answers DefinitionA reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question. LOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.
|
answerOption | S I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item.answerOption Permitted answer DefinitionOne of the permitted answers for a "choice" or "open-choice" question. 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.
|
value[x] | 1..1 | There are no (further) constraints on this element Element IdQuestionnaire.item.answerOption.value[x] Answer value DefinitionA potential answer that's allowed as the answer to this question. The data type of the value must agree with the item.type. Allowed values to answer questions. QuestionnaireAnswerCodes (example)Constraints
| ||
valueInteger | integer | There are no (further) constraints on this element Data Type | ||
valueDate | date | There are no (further) constraints on this element Data Type | ||
valueTime | time | There are no (further) constraints on this element Data Type | ||
valueString | string | There are no (further) constraints on this element Data Type | ||
valueCoding | Coding | There are no (further) constraints on this element Data Type | ||
valueReference | Reference(Resource) | There are no (further) constraints on this element Data Type | ||
initialSelected | 0..1 | boolean | There are no (further) constraints on this element Element IdQuestionnaire.item.answerOption.initialSelected Whether option is selected by default DefinitionIndicates whether the answer value is selected when the list of possible answers is initially shown. Use this instead of initial[v] if answerValueSet is present. Only selected items explicitly marked to be selected
| |
initial | I | 0..* | BackboneElement | There are no (further) constraints on this element Element IdQuestionnaire.item.initial Initial value(s) when item is first rendered DefinitionOne or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input. In some workflows, having defaults saves time. 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.
|
value[x] | 1..1 | There are no (further) constraints on this element Element IdQuestionnaire.item.initial.value[x] Actual value for initializing the question DefinitionThe actual value to for an initial answer. The type of the initial value must be consistent with the type of the item. Allowed values to answer questions. QuestionnaireAnswerCodes (example)Constraints
| ||
valueBoolean | boolean | There are no (further) constraints on this element Data Type | ||
valueDecimal | decimal | There are no (further) constraints on this element Data Type | ||
valueInteger | integer | There are no (further) constraints on this element Data Type | ||
valueDate | date | There are no (further) constraints on this element Data Type | ||
valueDateTime | dateTime | There are no (further) constraints on this element Data Type | ||
valueTime | time | There are no (further) constraints on this element Data Type | ||
valueString | string | There are no (further) constraints on this element Data Type | ||
valueUri | uri | There are no (further) constraints on this element Data Type | ||
valueAttachment | Attachment | There are no (further) constraints on this element Data Type | ||
valueCoding | Coding | There are no (further) constraints on this element Data Type | ||
valueQuantity | Quantity | There are no (further) constraints on this element Data Type | ||
valueReference | Reference(Resource) | There are no (further) constraints on this element Data Type | ||
item | I | 0..* | see (item) | There are no (further) constraints on this element Element IdQuestionnaire.item.item Nested questionnaire items DefinitionText, questions and other groups to be nested beneath a question or group. Reports can consist of complex nested groups. 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.
|
Table View
Questionnaire | .. | |
Questionnaire.meta | 1.. | |
Questionnaire.meta.profile | 1.. | |
Questionnaire.extension | 0.. | |
Questionnaire.extension | Extension | 0..1 |
Questionnaire.extension.value[x] | Reference(Questionnaire) | .. |
Questionnaire.identifier | .. | |
Questionnaire.identifier.system | .. | |
Questionnaire.identifier.value | .. | |
Questionnaire.date | 1.. | |
Questionnaire.item | .. | |
Questionnaire.item.linkId | .. | |
Questionnaire.item.text | .. | |
Questionnaire.item.type | .. | |
Questionnaire.item.answerOption | .. | |
Questionnaire.item.item | .. |
JSON View
{ "resourceType": "StructureDefinition", "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Questionnaire", "version": "1.0.0", "name": "Questionnaire", "status": "draft", "fhirVersion": "4.0.1", "kind": "resource", "abstract": false, "type": "Questionnaire", "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Questionnaire", "derivation": "constraint", "differential": { "element": [ { "id": "Questionnaire.meta", "path": "Questionnaire.meta", "min": 1, "mustSupport": true }, { "id": "Questionnaire.meta.profile", "path": "Questionnaire.meta.profile", "comment": "#### **_` FOR eREFERRAL USAGE: The meta.profile = http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Questionnaire|1.0.0 `_**\n\nIt is up to the server and/or other infrastructure of policy to determine whether/how these claims are verified and/or updated over time. The list of profile URLs is a set.", "min": 1, "mustSupport": true }, { "id": "Questionnaire.extension", "path": "Questionnaire.extension", "slicing": { "discriminator": [ { "type": "value", "path": "url" } ], "rules": "open" }, "min": 0 }, { "id": "Questionnaire.extension:ext-referral-form", "path": "Questionnaire.extension", "sliceName": "ext-referral-form", "min": 0, "max": "1", "type": [ { "code": "Extension", "profile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ext-referral-form" ] } ], "isModifier": false }, { "id": "Questionnaire.extension:ext-referral-form.value[x]", "path": "Questionnaire.extension.value[x]", "type": [ { "code": "Reference", "targetProfile": [ "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Questionnaire" ] } ] }, { "id": "Questionnaire.identifier", "path": "Questionnaire.identifier", "mustSupport": true }, { "id": "Questionnaire.identifier.system", "path": "Questionnaire.identifier.system", "mustSupport": true }, { "id": "Questionnaire.identifier.value", "path": "Questionnaire.identifier.value", "mustSupport": true }, { "id": "Questionnaire.date", "path": "Questionnaire.date", "min": 1, "mustSupport": true }, { "id": "Questionnaire.item", "path": "Questionnaire.item", "mustSupport": true }, { "id": "Questionnaire.item.linkId", "path": "Questionnaire.item.linkId", "mustSupport": true }, { "id": "Questionnaire.item.text", "path": "Questionnaire.item.text", "mustSupport": true }, { "id": "Questionnaire.item.type", "path": "Questionnaire.item.type", "mustSupport": true }, { "id": "Questionnaire.item.answerOption", "path": "Questionnaire.item.answerOption", "mustSupport": true }, { "id": "Questionnaire.item.item", "path": "Questionnaire.item.item", "contentReference": "http://hl7.org/fhir/StructureDefinition/Questionnaire#Questionnaire.item" } ] } }
Usage
A structured set of questions intended to guide the collection of answers from end-users.
Notes
.id
- used to uniquely identify the resource
- if a persistent identity for the resource is not available to use when constructing a message Bundle for transmission via Direct Messaging, a UUID SHOULD be used in this element (with a corresponding value in
Bundle.entry.fullUrl
)
.meta.profile
- used to declare conformance to this profile
- populate with a fixed value:
http://ehealthontario.ca/fhir/StructureDefinition/ca-on-eReferral-profile-Questionnaire|1.0.0
.date
- SHALL be populated with the date and time the questionnaire was last updated
.item
- .linkId SHALL be populated with unique identifier for the question being asked that links to the equivalent item in a QuestionnaireResponse resource
- .text SHOULD contain the text version of the question
- .type SHALL contain the type of questionnaire item
- .answerOption SHOULD contain the permitted response to a question