| Questionnaire |  |  | Questionnaire | There are no (further) constraints on this elementElement IdShort description A structured set of questionsAlternate names Form, CRF, SurveyDefinition Data TypeA 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.QuestionnaireConstraints Mappingsdom-2:If the resource is contained in another resource, it SHALL NOT contain nested Resources
 contained.contained.empty()dom-4:If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
 contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()dom-3:If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
 contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()dom-6:A resource should have narrative for robust management
 text.`div`.exists()dom-5:If a resource is contained in another resource, it SHALL NOT have a security label
 contained.meta.security.empty()que-2:The link ids for groups and questions must be unique within the questionnaire
 descendants().linkId.isDistinct()que-0:Name should be usable as an identifier for the module by machine processing applications such as code generation
 name.matches('[A-Z]([A-Za-z0-9_]){0,254}')
rim:Entity. Role, or Actworkflow:Definitionrim:Observation[moodCode=DEF]
 | 
| language | S | 0..1 | codeBinding | Element IdShort description Sprache des ModulsDefinition CommentsThe base language in which the resource is written.Data TypeLanguage is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).codeBinding CommonLanguages (preferred)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| url | Σ | 0..1 | uri | There are no (further) constraints on this elementElement IdShort description Canonical identifier for this questionnaire, represented as a URI (globally unique)Definition RequirementsAn 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.Comments…  This is the id that will be used to link a QuestionnaireResponse to the Questionnaire the response is for.Data TypeThe name of the referenced questionnaire can be conveyed using the http://hl7.org/fhir/StructureDefinition/display extension.uriConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.urlw5:FiveWs.identifierrim:.identifier[scope=BUSN;reliability=ISS]
 | 
| identifier | S Σ | 0..* | Identifier | Element IdShort description Identifikator eines ModulsDefinition RequirementsIdentifikator eines Moduls. Dient dem Zweck des systemübergreifen Identifizierens, z.B. beim verteilten Consent ManagementCommentsAllows externally provided and/or usable business identifiers to be easily associated with the module.Data TypeTypically, 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.IdentifierConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:CX / EI (occasionally, more often EI maps to a resource id or a URL)rim:II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]servd:Identifierworkflow:Definition.identifierw5:FiveWs.identifierrim:.identifierobjimpl:no-gen-base
 | 
| use | Σ ?! | 0..1 | codeBinding | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.identifier.useusual | official | temp | secondary | old (If known)Definition RequirementsThe purpose of this identifier.CommentsAllows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.Data TypeApplications can assume that an identifier is permanent unless it explicitly says that it is temporary.codeBinding IdentifierUse (required)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:N/Arim:Role.code or implied by context
 | 
| type | Σ | 0..1 | CodeableConceptBinding | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.identifier.typeDescription of identifierDefinition RequirementsA coded type for the identifier that can be used to determine which identifier to use for a specific purpose.CommentsAllows users to make use of identifiers when the identifier system is not known.Data TypeThis 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.CodeableConceptBinding Identifier Type Codes (extensible)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:CE/CNE/CWErim:CDorim:fhir:CodeableConcept rdfs:subClassOf dt:CDv2:CX.5rim:Role.code or implied by context
 | 
| system | S Σ | 1..1 | uri | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.identifier.systemThe namespace for the identifier valueDefinition RequirementsEstablishes the namespace for the value - that is, a URL that describes a set values that are unique.CommentsThere 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.Data TypeIdentifier.system is always case sensitive.uriConstraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
Generalhttp://www.acme.com/identifiers/patient Mappings
 rim:n/av2:CX.4 / EI-2-4rim:II.root or Role.id.rootservd:./IdentifierType
 | 
| value | S Σ | 1..1 | string | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.identifier.valueThe value that is uniqueDefinition CommentsThe portion of the identifier typically relevant to the user and which is unique within the context of the system.Data TypeIf 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.stringConstraints Examplesele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
Mappings
 rim:n/av2:CX.1 / EI.1rim:II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)servd:./Value
 | 
| period | Σ | 0..1 | Period | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.identifier.periodTime period when id is/was valid for useDefinition CommentsTime period during which identifier is/was valid for use.Data TypeA 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.PeriodConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())per-1:If present, start SHALL have a lower value than end
 start.hasValue().not() or end.hasValue().not() or (start <= end)
rim:n/av2:DRrim:IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]v2:CX.7 + CX.8rim:Role.effectiveTime or implied by contextservd:./StartDate and ./EndDate
 | 
| assigner | Σ | 0..1 | Reference(Organization) | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.identifier.assignerOrganization that issued id (may be just text)Definition CommentsOrganization that issued/manages the identifier.Data TypeThe Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.Reference(Organization)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ref-1:SHALL have a contained resource if a local reference is provided
 reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))
rim:n/arim:The target of a resource reference is a RIM entry point (Act, Role, or Entity)v2:CX.4 / (CX.4,CX.9,CX.10)rim:II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoperservd:./IdentifierIssuingAuthority
 | 
| version | S Σ | 1..1 | string | Element IdShort description Versionsangabe des ModulsDefinition CommentsThe 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.Data TypeThere 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].stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.versionw5:FiveWs.versionrim:N/A (to add?)
 | 
| name | S Σ | 1..1 | string | Element IdShort description Name des Consent ModulsDefinition RequirementsA 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.CommentsSupport human navigation and code generation.Data TypeThe 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.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| title | S Σ | 0..1 | string | Element IdShort description Titel des Consent Moduls zur Darstellung auf dem späteren Consent TemplateDefinition CommentsA short, descriptive, user-friendly title for the questionnaire.Data TypeThis name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.titlerim:.title
 | 
| derivedFrom |  | 0..* | canonical | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.derivedFromInstantiates protocol or definitionDefinition RequirementsThe URL of a Questionnaire that this Questionnaire is based on.Comments Data TypeAllows a Questionnaire to be created based on another Questionnaire.canonicalConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.derivedFromrim:.outboundRelationship[typeCode=DRIV].target[classCode=OBS, moodCode=DEFN]
 | 
| status | S Σ ?! | 1..1 | codeBinding | There are no (further) constraints on this elementElement IdShort description draft | active | retired | unknownDefinition CommentsThe status of this questionnaire. Enables tracking the life-cycle of the content.Data TypeAllows filtering of questionnaires that are appropriate for use versus not.codeBinding PublicationStatus (required)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.statusw5:FiveWs.statusrim:.status
 | 
| experimental | Σ | 0..1 | boolean | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.experimentalFor testing purposes, not real usageDefinition RequirementsA 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.CommentsEnables experimental content to be developed following the same lifecycle that would be used for a production-level questionnaire.Data TypeAllows filtering of questionnaires that are appropriate for use versus not.booleanConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.experimentalw5:FiveWs.classrim:N/A
 | 
| subjectType | Σ | 0..* | codeBinding | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.subjectTypeResource that can be subject of QuestionnaireResponseDefinition CommentsThe types of subjects that can be the subject of responses created for the questionnaire.Data TypeIf none are specified, then the subject is unlimited.codeBinding ResourceType (required)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.subject[x]rim:.outboundRelationship[typeCode=META].target[classCode=OBS, moodCode=DEFN, isCriterion=true].participation.role.classCode
 | 
| date | Σ | 0..1 | dateTime | There are no (further) constraints on this elementElement IdShort description Date last changedAlternate names Revision DateDefinition CommentsThe 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.Data TypeNote 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.dateTimeConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.datew5:FiveWs.recordedrim:.participation[typeCode=AUT].time
 | 
| publisher | Σ | 0..1 | string | There are no (further) constraints on this elementElement IdShort description Name of the publisher (organization or individual)Definition RequirementsThe name of the organization or individual that published the questionnaire.CommentsHelps establish the "authority/credibility" of the questionnaire.  May also allow for contact.Data TypeUsually 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.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.publisherw5:FiveWs.witnessrim:.participation[typeCode=AUT].role
 | 
| contact | Σ | 0..* | ContactDetail | There are no (further) constraints on this elementElement IdShort description Contact details for the publisherDefinition CommentsContact details to assist a user in finding and communicating with the publisher.Data TypeMay be a web site, an email address, a telephone number, etc.ContactDetailConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.contactrim:.participation[typeCode=CALLBCK].role
 | 
| description | S | 0..1 | markdown | Element Id Short descriptionQuestionnaire.descriptionKurzzusammenfassung des InhaltesDefinition CommentsA free text natural language description of the questionnaire from a consumer's perspective.Data TypeThis 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).markdownConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.descriptionrim:.text
 | 
| useContext | S Σ | 1..* | UsageContext | There are no (further) constraints on this elementElement IdShort description The context that the content is intended to supportDefinition RequirementsThe 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.CommentsAssist in searching for appropriate content.Data TypeWhen multiple useContexts are specified, there is no expectation that all or any of the contexts apply.UsageContextConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.useContextrim:N/A (to add?)
 | 
| code | Σ | 1..1 | CodingBinding | Element Id Short descriptionQuestionnaire.useContext.codeType of context being specifiedDefinition CommentsA code that identifies the type of context being specified by this usage context.Data TypeCodes 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.CodingBinding ConsentManagementQuestionnaireComponents (required)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:CE/CNE/CWE subset one of the sets of component 1-3 or 4-6rim:CVorim:fhir:Coding rdfs:subClassOf dt:CDCoding
 | 
| system | Σ | 1..1 | uri | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.code.systemIdentity of the terminology systemDefinition RequirementsThe identification of the code system that defines the meaning of the symbol in the code.CommentsNeed to be unambiguous about the source of the definition of the symbol.Data TypeThe URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.uriConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:C*E.3rim:./codeSystemorim:fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
 | 
| version | Σ | 0..1 | string | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.code.versionVersion of the system - if relevantDefinition CommentsThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.Data TypeWhere the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:C*E.7rim:./codeSystemVersionorim:fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
 | 
| code | Σ | 1..1 | code | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.code.codeSymbol in syntax defined by the systemDefinition RequirementsA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).CommentsNeed to refer to a particular code in the system.Data TypeNote that FHIR strings SHALL NOT exceed 1MB in sizecodeConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:C*E.1rim:./codeorim:fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
 | 
| display | Σ | 0..1 | string | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.code.displayRepresentation defined by the systemDefinition RequirementsA representation of the meaning of the code in the system, following the rules of the system.CommentsNeed to be able to carry a human-readable meaning of the code for readers that do not know  the system.Data TypeNote that FHIR strings SHALL NOT exceed 1MB in sizestringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:C*E.2 - but note this is not well followedrim:CV.displayNameorim:fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
 | 
| userSelected | Σ | 0..1 | boolean | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.code.userSelectedIf this coding was chosen directly by the userDefinition RequirementsIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).CommentsThis has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.Data TypeAmongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.booleanConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:Sometimes implied by being firstrim:CD.codingRationaleorim:fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [     fhir:source "true";     fhir:target dt:CDCoding.codingRationale\#O   ]
 | 
| value[x] | S Σ | 1..1 |  | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.value[x]Value that defines the contextDefinition CommentsA value that defines the context specified in this context of use. The interpretation of the value is defined by the code.BindingNot all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.Context of Use ValueSet (example)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:CE/CNE/CWErim:CDorim:fhir:CodeableConcept rdfs:subClassOf dt:CD
 | 
| reference | S Σ | 1..1 | string | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.value[x].referenceLiteral reference, Relative, internal or absolute URLDefinition CommentsA reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.Data TypeUsing absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| type | Σ | 0..1 | uriBinding | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.value[x].typeType the reference refers to (e.g. "Patient")Definition CommentsThe expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).Data TypeThis element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.uriBinding ResourceType (extensible)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| identifier | Σ | 0..1 | Identifier | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.value[x].identifierLogical reference, when literal reference is not knownDefinition CommentsAn identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.Data TypeWhen an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it. Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).IdentifierConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:CX / EI (occasionally, more often EI maps to a resource id or a URL)rim:II - The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs.  Also maps to Role[classCode=IDENT]servd:Identifierrim:.identifier
 | 
| display | Σ | 0..1 | string | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.useContext.value[x].displayText alternative for the resourceDefinition CommentsPlain text narrative that identifies the resource in addition to the resource reference.Data TypeThis is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| valueReference |  |  | Reference(Consent Management Domain Organization| Consent Management Domain Research Study) | Data Type Reference(Consent Management Domain Organization| Consent Management Domain Research Study) | 
| jurisdiction | Σ | 0..* | CodeableConceptBinding | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.jurisdictionIntended jurisdiction for questionnaire (if applicable)Definition CommentsA legal or geographic region in which the questionnaire is intended to be used.Data TypeIt may be possible for the questionnaire to be used in jurisdictions other than those for which it was originally designed or intended.CodeableConceptBinding Jurisdiction ValueSet (extensible)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:CE/CNE/CWErim:CDorim:fhir:CodeableConcept rdfs:subClassOf dt:CDworkflow:Definition.jurisdictionrim:N/A (to add?)
 | 
| purpose | S | 0..1 | markdown | Element IdShort description Zweckbeschreibung des Consent ModulesDefinition CommentsExplanation of why this questionnaire is needed and why it has been designed as it has.Data TypeThis 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.markdownConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.purposew5:FiveWs.why[x]rim:.reasonCode.textobjimpl:no-gen-base
 | 
| copyright |  | 0..1 | markdown | There are no (further) constraints on this elementElement IdShort description Use and/or publishing restrictionsAlternate names License, RestrictionsDefinition RequirementsA copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire.CommentsConsumers must be able to determine any legal restrictions on the use of the questionnaire and/or its content.Data TypeSystems 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/markdownConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.copyrightrim:N/A (to add?)objimpl:no-gen-base
 | 
| approvalDate |  | 0..1 | date | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.approvalDateWhen the questionnaire was approved by publisherDefinition CommentsThe date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage.Data TypeThe 'date' element may be more recent than the approval date because of minor changes or editorial corrections.dateConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.approvalDaterim:.outboundRelationship[typeCode="SUBJ"].act[classCode=CACT;moodCode=EVN;code="approval"].effectiveTimeobjimpl:no-gen-base
 | 
| lastReviewDate |  | 0..1 | date | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.lastReviewDateWhen the questionnaire was last reviewedDefinition RequirementsThe date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date.CommentsGives 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.Data TypeIf specified, this date follows the original approval date.dateConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/aworkflow:Definition.lastReviewDaterim:.outboundRelationship[typeCode="SUBJ"; subsetCode="RECENT"].act[classCode=CACT;moodCode=EVN;code="review"].effectiveTimeobjimpl:no-gen-base
 | 
| effectivePeriod | Σ | 0..1 | Period | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.effectivePeriodWhen the questionnaire is expected to be usedDefinition RequirementsThe period during which the questionnaire content was or is planned to be in active use.CommentsAllows 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.Data TypeThe 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.PeriodConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())per-1:If present, start SHALL have a lower value than end
 start.hasValue().not() or end.hasValue().not() or (start <= end)
rim:n/av2:DRrim:IVL<TS>[lowClosed="true" and highClosed="true"] or URG<TS>[lowClosed="true" and highClosed="true"]workflow:Definition.effectivePeriodrim:N/A (to add?)objimpl:no-gen-base
 | 
| code | Σ | 0..* | Coding | There are no (further) constraints on this elementElement IdShort description Concept that represents the overall questionnaireDefinition RequirementsAn identifier for this question or group of questions in a particular terminology such as LOINC.CommentsAllows linking of the complete Questionnaire resources to formal terminologies.  It's common for "panels" of questions to be identified by a code.Data TypeCodes 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.CodingBinding QuestionnaireQuestionCodes (example)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:CE/CNE/CWE subset one of the sets of component 1-3 or 4-6rim:CVorim:fhir:Coding rdfs:subClassOf dt:CDCodingrim:.code
 | 
| item | S | 1..1 | BackboneElement | There are no (further) constraints on this elementElement IdShort description Questions and sections within the QuestionnaireDefinition CommentsA particular question, question grouping or display text that is part of the questionnaire.Data TypeThe content of the questionnaire is constructed from an ordered, hierarchical collection of items.BackboneElementConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())que-9:Read-only can't be specified for "display" items
 type!='display' or readOnly.empty()que-8:Initial values can't be specified for groups or display items
 (type!='group' and type!='display') or initial.empty()que-6:Required and repeat aren't permitted for display items
 type!='display' or (required.empty() and repeats.empty())que-5:Only 'choice' and 'open-choice' items can have answerValueSet
 (type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())que-4:A question cannot have both answerOption and answerValueSet
 answerOption.empty() or answerValueSet.empty()que-3:Display items cannot have a "code" asserted
 type!='display' or code.empty()que-10:Maximum length can only be declared for simple question types
 (type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()que-1:Group items must have nested items, display items cannot have nested items
 (type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())que-13:Can only have multiple initial values for repeating items
 repeats=true or initial.count() <= 1que-11:If one or more answerOption is present, initial[x] must be missing
 answerOption.empty() or initial.empty()que-12:If there are more than one enableWhen, enableBehavior must be specified
 enableWhen.count() > 2 implies enableBehavior.exists()
rim:n/arim:.outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]
 | 
| extension |  | 0..* | Extension | Element Id Short descriptionQuestionnaire.item.extensionAdditional content defined by implementationsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionSliced: Unordered, Open, by url(Value)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| xacmlTemplate | S | 0..* | Extension(Complex) | Element Id Short descriptionQuestionnaire.item.extension:xacmlTemplateOptional Extensions ElementAlternate names extensions, user contentDefinition CommentsOptional Extension Element - found in all resources.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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(Complex)Extension URL http://fhir.de/ConsentManagement/StructureDefinition/XacmlTemplateConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| extension |  | 0..* | Extension | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.extension:xacmlTemplate.extensionAdditional content defined by implementationsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionSliced: Unordered, Open, by url(Value)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| expression |  | 1..1 | Extension | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.extension:xacmlTemplate.extension:expressionXACML-Ausdruck der Policy / des PolicySetsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| url |  | 1..1 | System.StringFixed Value | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.extension:xacmlTemplate.extension:expression.urlidentifies the meaning of the extensionDefinition CommentsSource of the definition for the extension code - a logical name or a URL.Data TypeThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it 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.StringFixed Value Mappings | 
| value[x] |  | 1..1 |  | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.extension:xacmlTemplate.extension:expression.value[x]Value of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).ConstraintsA stream of bytes, base64 encodedMappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| valueBase64Binary |  |  | base64Binary | There are no (further) constraints on this elementData Type base64Binary | 
| label |  | 0..1 | Extension | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.extension:xacmlTemplate.extension:labelMenschenlesbare Beschreibung der Policy / des PolicySetsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| url |  | 1..1 | System.StringFixed Value | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.extension:xacmlTemplate.extension:label.urlidentifies the meaning of the extensionDefinition CommentsSource of the definition for the extension code - a logical name or a URL.Data TypeThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it 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.StringFixed Value Mappings | 
| value[x] |  | 1..1 |  | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.extension:xacmlTemplate.extension:label.value[x]Value of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).ConstraintsA stream of bytes, base64 encodedMappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| valueString |  |  | string | There are no (further) constraints on this elementData Type string | 
| url |  | 1..1 | System.StringFixed Value | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.extension:xacmlTemplate.urlidentifies the meaning of the extensionDefinition CommentsSource of the definition for the extension code - a logical name or a URL.Data TypeThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it 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.StringFixed Value 
Mappingshttp://fhir.de/ConsentManagement/StructureDefinition/XacmlTemplate | 
| value[x] | S | 0..0 |  | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.extension:xacmlTemplate.value[x]Value of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).ConstraintsA stream of bytes, base64 encodedMappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| designNote | S | 0..1 | Extension(markdown) | Element Id Short descriptionQuestionnaire.item.extension:designNoteDesign commentsAlternate names extensions, user contentDefinition CommentsInformation captured by the author/maintainer of the questionnaire for development purposes, not intended to be seen by users.Data TypeAllows capture of todos, rationale for design decisions, etc.Extension(markdown)Extension URL http://hl7.org/fhir/StructureDefinition/designNoteConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| linkId | S | 1..1 | string | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.linkIdUnique id for item in questionnaireDefinition RequirementsAn identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource.CommentsQuestionnaireResponse does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient.Data TypeThis ''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.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| definition |  | 0..1 | uri | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.definitionElementDefinition - details for the itemDefinition RequirementsThis element is a URI that refers to an ElementDefinition that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value: 
code (ElementDefinition.code)type (ElementDefinition.type)required (ElementDefinition.min)repeats (ElementDefinition.max)maxLength (ElementDefinition.maxLength)answerValueSet (ElementDefinition.binding)options (ElementDefinition.binding).CommentsA 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.Data TypeThe 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.uriConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:.outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]
 | 
| code |  | 0..* | Coding | There are no (further) constraints on this elementElement IdShort description Corresponding concept for this item in a terminologyDefinition RequirementsA terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers).CommentsAllows linking of groups of questions to formal terminologies.Data TypeThe value may come from the ElementDefinition referred to by .definition.CodingBinding QuestionnaireQuestionCodes (example)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:CE/CNE/CWE subset one of the sets of component 1-3 or 4-6rim:CVorim:fhir:Coding rdfs:subClassOf dt:CDCodingrim:.code
 | 
| prefix |  | 0..1 | string | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.prefixE.g. "1(a)", "2.5.3"Alternate names labelDefinition RequirementsA short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire.CommentsSeparating 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.Data TypeThese 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.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| text | S | 0..1 | string | Element IdShort description Vollständiger Text des Moduls aus dem EinwilligungsdokumentDefinition CommentsThe name of a section, the text of a question or text content for a display item.Data TypeHier wird der unformatierte Text abgelegt.
Zur formatierten Ablage kann die spezifizierte rendering-markdown-Extension verwendet werden.
In diesem Fall muss der reine Textinhalt identisch sein.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())cm-1:Wenn der Text im Markdown-Format angegeben ist, muss er auch als Klartext angegeben sein.
 extension('http://hl7.org/fhir/StructureDefinition/rendering-markdown').empty() or hasValue()
 | 
| extension |  | 0..* | Extension | Element Id Short descriptionQuestionnaire.item.text.extensionAdditional content defined by implementationsAlternate names extensions, user contentDefinition CommentsMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.ExtensionSliced: Unordered, Open, by url(Value)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
 | 
| renderingMarkdown |  | 0..1 | Extension(markdown) | Element Id Short descriptionQuestionnaire.item.text.extension:renderingMarkdownText als MarkdownAlternate names extensions, user contentDefinition CommentsThis is an equivalent of the string on which the extension is sent, but includes additional markdown (see documentation about markdown. Note that using HTML  xhtml can allow for greater precision of display.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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(markdown)Extension URL http://hl7.org/fhir/StructureDefinition/rendering-markdownConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
rim:n/arim:N/Arim:ED can be markdown content
 | 
| url |  | 1..1 | System.StringFixed Value | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.text.extension:renderingMarkdown.urlidentifies the meaning of the extensionDefinition CommentsSource of the definition for the extension code - a logical name or a URL.Data TypeThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it 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.StringFixed Value 
Mappingshttp://hl7.org/fhir/StructureDefinition/rendering-markdown | 
| value[x] |  | 1..1 |  | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.text.extension:renderingMarkdown.value[x]Value of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).ConstraintsA stream of bytes, base64 encodedMappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| valueMarkdown |  | 1..1 | markdown | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.text.extension:renderingMarkdown.value[x]:valueMarkdownValue of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).Data TypeA stream of bytes, base64 encodedmarkdownConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| renderingXhtml |  | 0..1 | Extension(string) | Element Id Short descriptionQuestionnaire.item.text.extension:renderingXhtmlString equivalent with html markupAlternate names extensions, user contentDefinition CommentsThis is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing restrictions on XHTML content apply. Note that using markdown allows for greater flexibility of display.Data TypeThere can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that 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(string)Extension URL http://hl7.org/fhir/StructureDefinition/rendering-xhtmlConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())ext-1:Must have either extensions or value[x], not both
 extension.exists() != value.exists()
rim:n/arim:N/Arim:ED can be XHTML content
 | 
| url |  | 1..1 | System.StringFixed Value | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.text.extension:renderingXhtml.urlidentifies the meaning of the extensionDefinition CommentsSource of the definition for the extension code - a logical name or a URL.Data TypeThe definition may point directly to a computable or human-readable definition of the extensibility codes, or it 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.StringFixed Value 
Mappingshttp://hl7.org/fhir/StructureDefinition/rendering-xhtml | 
| value[x] |  | 1..1 |  | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.text.extension:renderingXhtml.value[x]Value of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).ConstraintsA stream of bytes, base64 encodedMappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| valueString |  | 1..1 | string | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.text.extension:renderingXhtml.value[x]:valueStringValue of extensionDefinition CommentsValue of extension - must be one of a constrained set of the data types (see Extensibility for a list).Data TypeA stream of bytes, base64 encodedstringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
 | 
| type | S | 1..1 | codeBinding | There are no (further) constraints on this elementElement IdShort description group | display | boolean | decimal | integer | date | dateTime +Definition RequirementsThe 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.).CommentsDefines the format in which the user is to be prompted for the answer.Data TypeAdditional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition.codeBinding QuestionnaireItemType (required)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| enableWhen | ?! | 0..* | BackboneElement | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.enableWhenOnly allow data whenDefinition RequirementsA constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true.CommentsAllows 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.Data TypeIf 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.BackboneElementConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())que-7:If the operator is 'exists', the value must be a boolean
 operator = 'exists' implies (answer is Boolean)
rim:n/arim:N/A - MIF rather than RIM level
 | 
| question |  | 1..1 | string | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.enableWhen.questionQuestion that determines whether item is enabledDefinition CommentsThe linkId for the question whose answer (or lack of answer) governs whether this item is enabled.Data TypeIf 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.stringConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| operator |  | 1..1 | codeBinding | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.enableWhen.operatorexists | = | != | > | < | >= | <=Definition CommentsSpecifies the criteria by which the question is enabled.Data TypeNote that FHIR strings SHALL NOT exceed 1MB in sizecodeBinding QuestionnaireItemOperator (required)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| answer[x] |  | 1..1 |  | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.enableWhen.answer[x]Value for question comparison based on operatorDefinition BindingA value that the referenced question is tested using the specified operator in order for the item to be enabled.QuestionnaireAnswerCodes (example)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| answerBoolean |  |  | boolean | There are no (further) constraints on this elementData Type boolean | 
| answerDecimal |  |  | decimal | There are no (further) constraints on this elementData Type decimal | 
| answerInteger |  |  | integer | There are no (further) constraints on this elementData Type integer | 
| answerDate |  |  | date | There are no (further) constraints on this elementData Type date | 
| answerDateTime |  |  | dateTime | There are no (further) constraints on this elementData Type dateTime | 
| answerTime |  |  | time | There are no (further) constraints on this elementData Type time | 
| answerString |  |  | string | There are no (further) constraints on this elementData Type string | 
| answerCoding |  |  | Coding | There are no (further) constraints on this elementData Type Coding | 
| answerQuantity |  |  | Quantity | There are no (further) constraints on this elementData Type Quantity | 
| answerReference |  |  | Reference(Resource) | There are no (further) constraints on this elementData Type Reference(Resource) | 
| enableBehavior |  | 0..1 | codeBinding | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.enableBehaviorall | anyDefinition CommentsControls how multiple enableWhen values are interpreted -  whether all or any must be true.Data TypeThis element must be specified if more than one enableWhen value is provided.codeBinding EnableWhenBehavior (required)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| required |  | 0..1 | boolean | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.requiredWhether the item must be included in data resultsDefinition CommentsAn indication, if true, that the item must be present in a "completed" QuestionnaireResponse.  If false, the item may be skipped when answering the questionnaire.Data TypeQuestionnaire.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.booleanConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| repeats |  | 0..1 | boolean | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.repeatsWhether the item may repeatDefinition RequirementsAn 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.CommentsItems may be used to create set of (related) questions that can be repeated to give multiple answers to such a set.Data TypeIf 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.booleanConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| readOnly |  | 0..1 | boolean | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.readOnlyDon't allow human editingDefinition RequirementsAn indication, when true, that the value cannot be changed by a human respondent to the Questionnaire.CommentsAllows 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.Data TypeThe 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.booleanConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| maxLength |  | 0..1 | integer | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.maxLengthNo more than this many charactersDefinition CommentsThe maximum number of characters that are permitted in the answer to be considered a "valid" QuestionnaireResponse.Data TypeFor 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.integerConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/av2:N/Arim:N/A - MIF rather than RIM level
 | 
| answerValueSet |  | 0..1 | canonical | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.answerValueSetValueset containing permitted answersDefinition CommentsA reference to a value set containing a list of codes representing permitted answers for a "choice" or "open-choice" question.Data TypeLOINC defines many useful value sets for questionnaire responses. See LOINC Answer Lists. The value may come from the ElementDefinition referred to by .definition.canonicalConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| answerOption |  | 0..* | BackboneElement | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.answerOptionPermitted answerDefinition CommentsOne of the permitted answers for a "choice" or "open-choice" question.Data TypeThis 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.BackboneElementConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| value[x] |  | 1..1 |  | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.answerOption.value[x]Answer valueDefinition CommentsA potential answer that's allowed as the answer to this question.BindingThe data type of the value must agree with the item.type.QuestionnaireAnswerCodes (example)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| valueInteger |  |  | integer | There are no (further) constraints on this elementData Type integer | 
| valueDate |  |  | date | There are no (further) constraints on this elementData Type date | 
| valueTime |  |  | time | There are no (further) constraints on this elementData Type time | 
| valueString |  |  | string | There are no (further) constraints on this elementData Type string | 
| valueCoding |  |  | Coding | There are no (further) constraints on this elementData Type Coding | 
| valueReference |  |  | Reference(Resource) | There are no (further) constraints on this elementData Type Reference(Resource) | 
| initialSelected |  | 0..1 | boolean | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.answerOption.initialSelectedWhether option is selected by defaultDefinition CommentsIndicates whether the answer value is selected when the list of possible answers is initially shown.Data TypeUse this instead of initial[v] if answerValueSet is present.booleanConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| initial |  | 0..* | BackboneElement | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.initialInitial value(s) when item is first renderedDefinition RequirementsOne or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input.CommentsIn some workflows, having defaults saves time.Data TypeThe 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.BackboneElementConstraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| value[x] |  | 1..1 |  | There are no (further) constraints on this elementElement Id Short descriptionQuestionnaire.item.initial.value[x]Actual value for initializing the questionDefinition CommentsThe actual value to for an initial answer.BindingThe type of the initial value must be consistent with the type of the item.QuestionnaireAnswerCodes (example)Constraints Mappingsele-1:All FHIR elements must have a @value or children
 hasValue() or (children().count() > id.count())
rim:n/arim:N/A - MIF rather than RIM level
 | 
| valueBoolean |  |  | boolean | There are no (further) constraints on this elementData Type boolean | 
| valueDecimal |  |  | decimal | There are no (further) constraints on this elementData Type decimal | 
| valueInteger |  |  | integer | There are no (further) constraints on this elementData Type integer | 
| valueDate |  |  | date | There are no (further) constraints on this elementData Type date | 
| valueDateTime |  |  | dateTime | There are no (further) constraints on this elementData Type dateTime | 
| valueTime |  |  | time | There are no (further) constraints on this elementData Type time | 
| valueString |  |  | string | There are no (further) constraints on this elementData Type string | 
| valueUri |  |  | uri | There are no (further) constraints on this elementData Type uri | 
| valueAttachment |  |  | Attachment | There are no (further) constraints on this elementData Type Attachment | 
| valueCoding |  |  | Coding | There are no (further) constraints on this elementData Type Coding | 
| valueQuantity |  |  | Quantity | There are no (further) constraints on this elementData Type Quantity | 
| valueReference |  |  | Reference(Resource) | There are no (further) constraints on this elementData Type Reference(Resource) | 
| item |  | 0..0 | see (item) | There are no (further) constraints on this elementElement IdShort description Nested questionnaire itemsDefinition RequirementsText, questions and other groups to be nested beneath a question or group.CommentsReports can consist of complex nested groups.MappingsThere 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.rim:.outboundRelationship[typeCode=COMP].target
 |