This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2
Profile for questionnaire
<Profile xmlns="http://hl7.org/fhir"> <text> <status value="generated"/><div xmlns="http://www.w3.org/1999/xhtml"><pre> <<a class="dict" href="questionnaire-definitions.html#Questionnaire" title="A structured set of questions and their answers. The Questionnaire may contain questions, answers or both. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions."><b>Questionnaire</b></a> xmlns="http://hl7.org/fhir"> <span style="float: right"><a href="formats.html" title="Documentation for this format"><img alt="doco" src="help.png"/></a></span> <!-- from <a href="resources.html">Resource</a>: <a href="extensibility.html">extension</a>, <a href="extensibility.html#modifierExtension">modifierExtension</a>, language, <a href="narrative.html#Narrative">text</a>, and <a href="references.html#contained">contained</a> --> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.status" title="The lifecycle status of the questionnaire as a whole (this element modifies the meaning of other elements)"><span style="text-decoration: underline"><b>status</b></span></a> value="[<span style="color: darkgreen"><a href="datatypes.html#code">code</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown"><b>1..1</b></span> <span style="color: navy"><a href="questionnaire-status.html" style="color: navy">draft | published | retired | in progress | completed | amended<span style="color: Navy" title="This element is included in a summary view (See Search/Query)"> §</span></a></span><span style="color: Gray"> --></span> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.authored" title="The date and/or time that this version of the questionnaire was authored."><b>authored</b></a> value="[<span style="color: darkgreen"><a href="datatypes.html#dateTime">dateTime</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown"><b>1..1</b></span> <span style="color: navy">Date this version was authored<span style="color: Navy" title="This element is included in a summary view (See Search/Query)"> §</span></span><span style="color: Gray"> --></span> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.subject" title="The subject of the questionnaires: this is the patient that the answers apply to, but this person is not necessarily the source of information."><b>subject</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="patient.html#Patient">Patient</a>|<a href="relatedperson.html#RelatedPerson">RelatedPerson</a>)</span> <span style="color: navy">The subject of the questions<span style="color: Navy" title="This element is included in a summary view (See Search/Query)"> §</span></span><span style="color: Gray"> --></span></subject> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.author" title="Person who received the answers to the questions in the Questionnaire and recorded them in the system."><b>author</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="practitioner.html#Practitioner">Practitioner</a>|<a href="patient.html#Patient">Patient</a>|<a href="relatedperson.html#RelatedPerson">RelatedPerson</a>)</span> <span style="color: navy"> Person who received and recorded the answers<span style="color: Navy" title="This element is included in a summary view (See Search/Query)"> §</span></span><span style="color: Gray"> --></span></author> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.source" title="The person who answered the questions about the subject. Only used when this is not the subject him/herself."><b>source</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="patient.html#Patient">Patient</a>|<a href="practitioner.html#Practitioner">Practitioner</a>|<a href="relatedperson.html#RelatedPerson">RelatedPerson</a>)</span> <span style="color: navy"> The person who answered the questions<span style="color: Navy" title="This element is included in a summary view (See Search/Query)"> §</span></span><span style="color: Gray"> --></span></source> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.name" title="Structured name for a predefined list of questions this questionnaire is responding to."><b>name</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-questionnaire-name.html" style="color: navy">Name/code for a predefined list of questions<span style="color: Navy" title="This element is included in a summary view (See Search/Query)"> §</span></a></span><span style="color: Gray"> --></span></name> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.identifier" title="This records identifiers associated with this question/answer set that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)."><b>identifier</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..*</b></span> <span style="color: darkgreen"><a href="datatypes.html#Identifier">Identifier</a></span> <span style="color: navy">External Ids for this questionnaire<span style="color: Navy" title="This element is included in a summary view (See Search/Query)"> §</span></span><span style="color: Gray"> --></span></identifier> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.encounter" title="Encounter during which this questionnaire answers were collected. When there were multiple encounters, this is the one considered most relevant to the context of the answers."><b>encounter</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="encounter.html#Encounter">Encounter</a>)</span> <span style="color: navy"> Primary encounter during which the answers were collected<span style="color: Navy" title="This element is included in a summary view (See Search/Query)"> §</span></span><span style="color: Gray"> --></span></encounter> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group" title="A group of questions to a possibly similarly grouped set of questions in the questionnaire."><b>group</b></a>> <span style="color: Gray"><!-- <span style="color: brown"><b>0..1</b></span> Grouped questions --></span> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.name" title="Structured name for a section of a predefined list of questions this questionnaire is responding to."><b>name</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-questionnaire-group-name.html" style="color: navy">Code or name of the section on a questionnaire</a></span><span style="color: Gray"> --></span></name> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.header" title="Text that is displayed above the contents of the group."><b>header</b></a> value="[<span style="color: darkgreen"><a href="datatypes.html#string">string</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: navy">Text that is displayed above the contents of the group</span><span style="color: Gray"> --></span> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.text" title="Additional text for the group, used for display purposes."><b>text</b></a> value="[<span style="color: darkgreen"><a href="datatypes.html#string">string</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: navy">Additional text for the group</span><span style="color: Gray"> --></span> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.subject" title="More specific subject this section's answers are about, details the subject given in Questionnaire."><b>subject</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="resourcelist.html">Any</a>)</span> <span style="color: navy">The subject this group's answers are about</span><span style="color: Gray"> --></span></subject> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.group" title="A sub-group within a group. The ordering of groups within this group is relevant."><b>group</b></a>><span style="color: Gray"><!--</span> <span style="color: brown" title="Inv-3: Groups may either contain questions or groups but not both"><b><img alt="??" src="lock.png"/> 0..*</b></span> <span style="color: darkgreen">Content as for Questionnaire.group</span> <span style="color: navy">Nested questionnaire group</span><span style="color: Gray"> --></span></group> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.question" title="Set of questions within this group. The order of questions within the group is relevant."><b>question</b></a>> <span style="color: Gray"><!-- <span style="color: brown" title="Inv-3: Groups may either contain questions or groups but not both"><b><img alt="??" src="lock.png"/> 0..*</b></span> Questions in this group --></span> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.question.name" title="Structured name for the question that identifies this question within the Questionnaire or Group."><b>name</b></a>><span style="color: Gray"><!--</span> <span style="color: brown" title="Inv-2: Must supply a name, a question's text or both"><b><img alt="??" src="lock.png"/> 0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#CodeableConcept">CodeableConcept</a></span> <span style="color: navy"><a href="valueset-questionnaire-question-name.html" style="color: navy">Code or name of the question</a></span><span style="color: Gray"> --></span></name> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.question.text" title="Text of the question as it is shown to the user."><b>text</b></a> value="[<span style="color: darkgreen"><a href="datatypes.html#string">string</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown" title="Inv-2: Must supply a name, a question's text or both"><b><img alt="??" src="lock.png"/> 0..1</b></span> <span style="color: navy">Text of the question as it is shown to the user</span><span style="color: Gray"> --></span> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.question.answer_x_" title="Single-valued answer to the question."><b>answer[x]</b></a>><span style="color: Gray"><!--</span> <span style="color: brown" title="Inv-1: Must supply either a simple answer, a choice, data or nothing"><b><img alt="??" src="lock.png"/> 0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#decimal">decimal</a>|<a href="datatypes.html#integer">integer</a>|<a href="datatypes.html#boolean">boolean</a>|<a href="datatypes.html#date">date</a>|<a href="datatypes.html#string">string</a>|<a href="datatypes.html#dateTime">dateTime</a>|<a href="datatypes.html#instant">instant</a></span> <span style="color: navy"> Single-valued answer to the question</span><span style="color: Gray"> --></span></answer[x]> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.question.choice" title="Selections made by the user from the list of options."><b>choice</b></a>><span style="color: Gray"><!--</span> <span style="color: brown" title="Inv-1: Must supply either a simple answer, a choice, data or nothing"><b><img alt="??" src="lock.png"/> 0..*</b></span> <span style="color: darkgreen"><a href="datatypes.html#Coding">Coding</a></span> <span style="color: navy">Selected options</span><span style="color: Gray"> --></span></choice> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.question.options" title="Reference to a valueset containing the possible options."><b>options</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: darkgreen"><a href="references.html#Resource">Resource</a>(<a href="valueset.html#ValueSet">ValueSet</a>)</span> <span style="color: navy">Valueset containing the possible options</span><span style="color: Gray"> --></span></options> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.question.data_x_" title="Structured answer in the form of a FHIR Resource or datatype."><b>data[x]</b></a>><span style="color: Gray"><!--</span> <span style="color: brown" title="Inv-1: Must supply either a simple answer, a choice, data or nothing"><b><img alt="??" src="lock.png"/> 0..1</b></span> <span style="color: darkgreen"><a href="datatypes.html#open">*</a></span> <span style="color: navy">Structured answer</span><span style="color: Gray"> --></span></data[x]> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.question.remarks" title="The remark contains information about the answer given. This is additional information about the answer the author wishes to convey, but should not be used to contain information that is part of the answer itself."><b>remarks</b></a> value="[<span style="color: darkgreen"><a href="datatypes.html#string">string</a></span>]"/><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..1</b></span> <span style="color: navy">Remarks about the answer given</span><span style="color: Gray"> --></span> <<a class="dict" href="questionnaire-definitions.html#Questionnaire.group.question.group" title="Nested group, containing nested question for this question. The order of groups within the question is relevant."><b>group</b></a>><span style="color: Gray"><!--</span> <span style="color: brown"><b>0..*</b></span> <span style="color: darkgreen">Content as for Questionnaire.group</span> <span style="color: navy">Nested questionnaire group</span><span style="color: Gray"> --></span></group> </question> </group> </Questionnaire> </pre></div> </text> <name value="questionnaire"/> <publisher value="FHIR Project"/> <description value="Basic Profile. A structured set of questions and their answers. The Questionnaire may contain questions, answers or both. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions."/> <status value="draft"/> <date value="2014-09-30"/> <requirements value="Scope and Usage The Questionnaire may be a single list of questions, or can be hierarchically organized in groups and sub-groups, each containing questions. Questions may contain and single answer, which can take the form of simple text, numbers, dates or a set of coded choices. Questionnaires cover the need to communicate data originating from forms used in medical history examinations, research questionnaires and sometimes full clinical speciality records. In many systems this data is collected using user-defined screens and forms. Questionnaires record specifics about data capture - exactly what questions were asked, in what order, what choices for answers were, etc. Each of these questions are part of the Questionnaire, and as such the Questionnaire is a separately identifiable Resource, whereas the individual questions are not. Examples of Questionnaires include: * Past medical history (PMH) * Family diseases * Social history * Research questionnaires * Quality and evaluation forms Support for validation is outside the scope of this Resource, although basic structural features can be defined using the Questionnaire core extensions."/> <mapping> <identity value="rim"/> <uri value="http://hl7.org/v3"/> <name value="RIM"/> </mapping> <structure> <type value="Questionnaire"/> <publish value="true"/> <element> <path value="Questionnaire"/> <definition> <short value="A structured set of questions and their answers"/> <formal value="A structured set of questions and their answers. The Questionnaire may contain questions, answers or both. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions."/> <min value="1"/> <max value="1"/> <type> <code value="Resource"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value="Document[moodCode=DEF or EVN]"/> </mapping> </definition> </element> <element> <path value="Questionnaire.extension"/> <definition> <short value="Additional Content defined by implementations"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="Questionnaire.modifierExtension"/> <definition> <short value="Extensions that cannot be ignored"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="Questionnaire.text"/> <definition> <short value="Text summary of the resource, for human interpretation"/> <formal value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety."/> <comments value="Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/> <synonym value="narrative"/> <synonym value="html"/> <synonym value="xhtml"/> <synonym value="display"/> <min value="0"/> <max value="1"/> <type> <code value="Narrative"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="Questionnaire.contained"/> <definition> <short value="Contained, inline Resources"/> <formal value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope."/> <comments value="This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/> <synonym value="inline resources"/> <synonym value="anonymous resources"/> <synonym value="contained resources"/> <min value="0"/> <max value="*"/> <type> <code value="Resource"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="Questionnaire.status"/> <definition> <short value="draft | published | retired | in progress | completed | amended"/> <formal value="The lifecycle status of the questionnaire as a whole."/> <min value="1"/> <max value="1"/> <type> <code value="code"/> </type> <isModifier value="true"/> <binding> <name value="QuestionnaireStatus"/> <isExtensible value="false"/> <conformance value="required"/> <referenceResource> <reference value="http://hl7.org/fhir/vs/questionnaire-status"/> </referenceResource> </binding> <mapping> <identity value="rim"/> <map value=".statusCode (also whether there's a revisionControlAct - and possibly mood to distinguish "in progress" from "published)"/> </mapping> </definition> </element> <element> <path value="Questionnaire.authored"/> <definition> <short value="Date this version was authored"/> <formal value="The date and/or time that this version of the questionnaire was authored."/> <comments value="May be different from the update time of the resource itself, because that is the status of the collection and authoring."/> <min value="1"/> <max value="1"/> <type> <code value="dateTime"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".participation[typeCode=AUT].time"/> </mapping> </definition> </element> <element> <path value="Questionnaire.subject"/> <definition> <short value="The subject of the questions"/> <formal value="The subject of the questionnaires: this is the patient that the answers apply to, but this person is not necessarily the source of information."/> <min value="0"/> <max value="1"/> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Patient"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/RelatedPerson"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".participation[typeCode=SBJ].role"/> </mapping> </definition> </element> <element> <path value="Questionnaire.author"/> <definition> <short value="Person who received and recorded the answers"/> <formal value="Person who received the answers to the questions in the Questionnaire and recorded them in the system."/> <comments value="Mapping a subject's answers to multiple choice options and determining what to put in the textual answer is a matter of interpretation."/> <min value="0"/> <max value="1"/> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Practitioner"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Patient"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/RelatedPerson"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".participation[typeCode=AUT].role"/> </mapping> </definition> </element> <element> <path value="Questionnaire.source"/> <definition> <short value="The person who answered the questions"/> <formal value="The person who answered the questions about the subject. Only used when this is not the subject him/herself."/> <min value="0"/> <max value="1"/> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Patient"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Practitioner"/> </type> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/RelatedPerson"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".participation[typeCode=INF].role"/> </mapping> </definition> </element> <element> <path value="Questionnaire.name"/> <definition> <short value="Name/code for a predefined list of questions"/> <formal value="Structured name for a predefined list of questions this questionnaire is responding to."/> <min value="0"/> <max value="1"/> <type> <code value="CodeableConcept"/> </type> <isModifier value="false"/> <binding> <name value="QuestionnaireName"/> <isExtensible value="true"/> <conformance value="example"/> <referenceResource> <reference value="http://hl7.org/fhir/vs/questionnaire-name"/> </referenceResource> </binding> <mapping> <identity value="rim"/> <map value=".title"/> </mapping> </definition> </element> <element> <path value="Questionnaire.identifier"/> <definition> <short value="External Ids for this questionnaire"/> <formal value="This records identifiers associated with this question/answer set that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)."/> <min value="0"/> <max value="*"/> <type> <code value="Identifier"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".id"/> </mapping> </definition> </element> <element> <path value="Questionnaire.encounter"/> <definition> <short value="Primary encounter during which the answers were collected"/> <formal value="Encounter during which this questionnaire answers were collected. When there were multiple encounters, this is the one considered most relevant to the context of the answers."/> <min value="0"/> <max value="1"/> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Encounter"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group"/> <definition> <short value="Grouped questions"/> <formal value="A group of questions to a possibly similarly grouped set of questions in the questionnaire."/> <comments value="The Questionnaire itself has one "root" group with the actual contents of the Questionnaire."/> <min value="0"/> <max value="1"/> <constraint> <key value="3"/> <name value="GroupHaveSubOrQuestions"/> <severity value="error"/> <human value="Groups may either contain questions or groups but not both"/> <xpath value="not(exists(f:group) and exists(f:question))"/> </constraint> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=COMP].target[classCode=DOCSECT, moodCode=EVN]"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.extension"/> <definition> <short value="Additional Content defined by implementations"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="Questionnaire.group.modifierExtension"/> <definition> <short value="Extensions that cannot be ignored"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="Questionnaire.group.name"/> <definition> <short value="Code or name of the section on a questionnaire"/> <formal value="Structured name for a section of a predefined list of questions this questionnaire is responding to."/> <min value="0"/> <max value="1"/> <type> <code value="CodeableConcept"/> </type> <isModifier value="false"/> <binding> <name value="QuestionnaireGroupName"/> <isExtensible value="true"/> <conformance value="example"/> <referenceResource> <reference value="http://hl7.org/fhir/vs/questionnaire-group-name"/> </referenceResource> </binding> <mapping> <identity value="rim"/> <map value=".code"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.header"/> <definition> <short value="Text that is displayed above the contents of the group"/> <formal value="Text that is displayed above the contents of the group."/> <min value="0"/> <max value="1"/> <type> <code value="string"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".title"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.text"/> <definition> <short value="Additional text for the group"/> <formal value="Additional text for the group, used for display purposes."/> <min value="0"/> <max value="1"/> <type> <code value="string"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".text"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.subject"/> <definition> <short value="The subject this group's answers are about"/> <formal value="More specific subject this section's answers are about, details the subject given in Questionnaire."/> <min value="0"/> <max value="1"/> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/Any"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".participation[typeCode=SBJ].role or .outboundRelationship[typeCode=SUBJ].target"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.group"/> <definition> <short value="Nested questionnaire group"/> <formal value="A sub-group within a group. The ordering of groups within this group is relevant."/> <min value="0"/> <max value="*"/> <nameReference value="Questionnaire.group"/> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=COMP].target[classCode=DOCSECT, moodCode=EVN]"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.question"/> <definition> <short value="Questions in this group"/> <formal value="Set of questions within this group. The order of questions within the group is relevant."/> <min value="0"/> <max value="*"/> <constraint> <key value="2"/> <name value="MustHaveNameOrText"/> <severity value="error"/> <human value="Must supply a name, a question's text or both"/> <xpath value="count(f:name) + count(f:text) >= 1"/> </constraint> <constraint> <key value="1"/> <name value="SimpleChoiceOrData"/> <severity value="error"/> <human value="Must supply either a simple answer, a choice, data or nothing"/> <xpath value="count(f:data) + count(f:choice) + count(f:answer) <= 1"/> </constraint> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=EVN or DEF]"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.question.extension"/> <definition> <short value="Additional Content defined by implementations"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="Questionnaire.group.question.modifierExtension"/> <definition> <short value="Extensions that cannot be ignored"/> <formal value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions."/> <comments value="there can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core simplicity for everyone."/> <synonym value="extensions"/> <synonym value="user content"/> <min value="0"/> <max value="*"/> <type> <code value="Extension"/> </type> <isModifier value="false"/> </definition> </element> <element> <path value="Questionnaire.group.question.name"/> <definition> <short value="Code or name of the question"/> <formal value="Structured name for the question that identifies this question within the Questionnaire or Group."/> <min value="0"/> <max value="1"/> <type> <code value="CodeableConcept"/> </type> <isModifier value="false"/> <binding> <name value="QuestionName"/> <isExtensible value="true"/> <conformance value="example"/> <referenceResource> <reference value="http://hl7.org/fhir/vs/questionnaire-question-name"/> </referenceResource> </binding> <mapping> <identity value="rim"/> <map value=".code"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.question.text"/> <definition> <short value="Text of the question as it is shown to the user"/> <formal value="Text of the question as it is shown to the user."/> <min value="0"/> <max value="1"/> <type> <code value="string"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".code.display"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.question.answer[x]"/> <definition> <short value="Single-valued answer to the question"/> <formal value="Single-valued answer to the question."/> <min value="0"/> <max value="1"/> <type> <code value="decimal"/> </type> <type> <code value="integer"/> </type> <type> <code value="boolean"/> </type> <type> <code value="date"/> </type> <type> <code value="string"/> </type> <type> <code value="dateTime"/> </type> <type> <code value="instant"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".value"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.question.choice"/> <definition> <short value="Selected options"/> <formal value="Selections made by the user from the list of options."/> <min value="0"/> <max value="*"/> <type> <code value="Coding"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value="Not supported - MIF/templating layer to capture value set"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.question.options"/> <definition> <short value="Valueset containing the possible options"/> <formal value="Reference to a valueset containing the possible options."/> <min value="0"/> <max value="1"/> <type> <code value="ResourceReference"/> <profile value="http://hl7.org/fhir/profiles/ValueSet"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value="Not supported - MIF/templating layer to capture value set"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.question.data[x]"/> <definition> <short value="Structured answer"/> <formal value="Structured answer in the form of a FHIR Resource or datatype."/> <min value="0"/> <max value="1"/> <type> <code value="*"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=VALUE].target"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.question.remarks"/> <definition> <short value="Remarks about the answer given"/> <formal value="The remark contains information about the answer given. This is additional information about the answer the author wishes to convey, but should not be used to contain information that is part of the answer itself."/> <min value="0"/> <max value="1"/> <type> <code value="string"/> </type> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code="annotation"] .value"/> </mapping> </definition> </element> <element> <path value="Questionnaire.group.question.group"/> <definition> <short value="Nested questionnaire group"/> <formal value="Nested group, containing nested question for this question. The order of groups within the question is relevant."/> <min value="0"/> <max value="*"/> <nameReference value="Questionnaire.group"/> <isModifier value="false"/> <mapping> <identity value="rim"/> <map value=".outboundRelationship[typeCode=COMP].target[classCode=DOCSECT, moodCode=EVN]"/> </mapping> </definition> </element> <searchParam> <name value="_id"/> <type value="token"/> <documentation value="The logical resource id associated with the resource (must be supported by all servers)"/> </searchParam> <searchParam> <name value="_language"/> <type value="token"/> <documentation value="The language of the resource"/> </searchParam> <searchParam> <name value="author"/> <type value="reference"/> <documentation value="The author of the questionnaire"/> <xpath value="f:Questionnaire/f:author"/> </searchParam> <searchParam> <name value="authored"/> <type value="date"/> <documentation value="When the questionnaire was authored"/> <xpath value="f:Questionnaire/f:authored"/> </searchParam> <searchParam> <name value="encounter"/> <type value="reference"/> <documentation value="Encounter during which questionnaire was authored"/> <xpath value="f:Questionnaire/f:encounter"/> </searchParam> <searchParam> <name value="identifier"/> <type value="token"/> <documentation value="An identifier for the questionnaire"/> <xpath value="f:Questionnaire/f:identifier"/> </searchParam> <searchParam> <name value="name"/> <type value="token"/> <documentation value="Name of the questionnaire"/> <xpath value="f:Questionnaire/f:name"/> </searchParam> <searchParam> <name value="status"/> <type value="token"/> <documentation value="The status of the questionnaire"/> <xpath value="f:Questionnaire/f:status"/> </searchParam> <searchParam> <name value="subject"/> <type value="reference"/> <documentation value="The subject of the questionnaire"/> <xpath value="f:Questionnaire/f:subject"/> </searchParam> </structure> </Profile>